Ad Widget

Collapse

agent 1.6.1 process number accounting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ghislain
    Senior Member
    • Jun 2005
    • 160

    #1

    agent 1.6.1 process number accounting

    hi,

    I upgraded to 1.6.1 for my agents and since i see a behavior change.

    Until now i was able to monitor spamd process with proc.num[spamd] but now even if /proc/*/status show spamd as the process name zabbix do not see it at all.

    It just see a generic "perl" process. This makes monitoring of process quite hard. I tried to use the process name proc.num[,,spamd] but unfortunatly the word 'spamd' appear in quite a lot of related processes command line and so it does not monitor the spamd process only.

    So i wonder:

    - what changed in the way the agent see the process name ?
    - anyone know a way to monitor processes like this ?

    regards,
    Ghislain.
    Regards,
    Ghislain.
  • ghislain
    Senior Member
    • Jun 2005
    • 160

    #2
    humm,

    in fact it does not see the perl process either it was another thing (webmin).

    proc.num[spamd]
    proc.num[perl,root,,spamd]
    proc.num[/usr/sbin/spamd]
    proc.num[perl,,,spamd]

    all return 0 but:


    5027 ? Ss 0:11 /usr/sbin/spamd -....
    5222 ? Ssl 0:43 /usr/sbin/spamass-milter
    6424 ? S 0:43 spamd child
    10582 ? S 0:11 spamd child
    16251 pts/1 S+ 0:00 grep spam

    (root)> cat /proc/5027/status
    Name: spamd

    (root)> cat /proc/5027/cmdline
    /usr/sbin/spamd -A 127.0.0.1 --create-prefs --max-children 10 --helper-home-dir --socketpath=/var/run/spamd.sock -d --pidfile=/var/run/spamd.pid

    So i must miss something here ?

    regards,
    Ghislain.
    Regards,
    Ghislain.

    Comment

    Working...