Ad Widget

Collapse

proc.num cannot find spamd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dreas
    Member
    • Aug 2007
    • 89

    #1

    proc.num cannot find spamd

    I am trying to monitor if spamd is running.
    mx:/proc/16986# ps aux | grep spamd
    root 16986 0.0 5.1 31076 27216 ? SNs 16:22 0:00 /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid
    root 16988 0.0 5.1 31340 26848 ? SN 16:22 0:00 spamd child
    root 16989 0.0 4.8 31076 25268 ? SN 16:22 0:00 spamd child
    root 18057 0.0 0.1 3132 712 pts/0 R+ 16:42 0:00 grep spamd
    mx:/proc/16986# zabbix_agent -t proc.num[spamd]
    proc.num[spamd] [u|0]
    mx:/proc/16986# zabbix_agent -t proc.num[,,,spamd]
    proc.num[,,,spamd] [u|4]
    mx:/proc/16986#
    I expected "proc.num[spamd]" to work, because it works fine like that with other daemons. I am now basing my check on "proc.num[,,,spamd]" which works but is not too clean. Perhaps related to http://www.zabbix.com/forum/showthread.php?t=6334 ? Agent is v1.4.6 though.
Working...