check_procs don't see some process

Jan Scholten Jan.Scholten at iconz.net
Thu Oct 14 22:47:44 CEST 2004


./check_procs --help
[..]
  -a, --argument-array=STRING
    Only scan for processes with args that contain STRING.

so try:
check_procs -a sshd

Reading help(fiules) is recommended before asking the list!

Jan

>
> with plugins 1.4.0alpha1, nagios 1.2 on whitebox linux, some process are
> not listed:
>
> # /opt/nagios/libexec/check_procs -C sshd
> PROCS OK: 0 processes with command name 'sshd'
> # ps axu|grep sshd
> root      1789  0.0  0.1  3668 1184 ?        S    Jul28   3:00
> /usr/sbin/sshd
> root     14520  0.0  0.1  6884 1948 ?        S    09:34   0:00 sshd:
> touche [priv]
> touche   14532  0.0  0.2  7056 2452 ?        S    09:34   0:00 sshd:
> touche at pts/1
> root     22564  0.0  0.0  3708  712 pts/0    S    10:42   0:00 grep sshd
>
> same with sendmail, syslogd, snmpd
>
> is there a way to look not for an exact match but for part of string or
> a regex in command ?
>
> Regards
>
> 		Julien
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out  
> more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when  
> reporting any issue. ::: Messages without supporting info will risk  
> being sent to /dev/null
>
>



-- 
Jan Scholten
Research and Development Intern
Iconz.co.nz


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list