I have a system with general path like /var/spool/postfix/deferred. Within this path there are folders like:
0
1
2
3
A
B
C
etc.
In advance can not know if there will be sometime also folder D or 5.
But my request is to count all existing files which are possible in the any of these directories below the base folder /var/spool/postfix/deferred. Is it possible to achieve that with exiting plugin as fileinfo?
Is this just an example or is your ultimate aim really to monitor the postfix deferred queue? There already is a “Postfix Queue” check, with separate counts for active and deferred.
Yes I know about the “Postfix Queue” check. But in my case I have appliance from TrendMicro appliance, which is based also on Postfix, but as I saw they’re using other folders for configuration files and I don’t know how to change existing “Postfix Queue” to work in my case.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.