Can't get check for Amavis to work

Hello,

ok had a a look at the plugin again and tried it with an test install here.
I can replicate the behavior if amavis isn’t running.

So from what i understand it only picks up the check if there is something in the [ps] section.
Running amavis

<<<amavis>>>
[ps]  
21829 ?        Ss     0:00 /usr/sbin/amavisd-new (master)
21831 ?        S      0:00 /usr/sbin/amavisd-new (virgin child)
21832 ?        S      0:00 /usr/sbin/amavisd-new (virgin child)
[agent]
sysContact      STR
sysDescr        STR amavisd-new-2.11.0 (20160426)
<snip>

vs stopped amavis

<<<amavis>>>
[ps]   <--- empty
[agent]
sysContact      STR
sysDescr        STR amavisd-new-2.11.0 (20160426)
<snip>

So is it in fact running? Can you get an output like the one above from an ps command?
In the plugin it would be /bin/ps ax | /bin/grep '[a]mavisd'

br

1 Like