nagios plugin check_procs coult not see xntpd
Posted: Tue Mar 12, 2024 7:39 pm
Hi there,
I got issue with a plugin "check_procs" could not see xntpd process :
$ ps -ef | grep xntpd
root 1234506 1 0 05 Mar - 0:16 /usr/sbin/xntpd
$ ps -ef | grep nsrexecd
root 8334512 1 0 19 Feb - 0:30 /bin/nsrexecd
Using check_procs binary command I run as follow,
$ /opt/freeware/lib/nagios/plugins/check_procs -C xntpd -a '' -w 1:1
PROCS WARNING: 0 processes with command name 'xntpd', args '' | procs=0;1:1;;0;
$ /opt/freeware/lib/nagios/plugins/check_procs -C nsrexecd -a '' -w 1:1
PROCS OK: 1 processes with command name 'nsrexecd', args '' | procs=1;1:1;;0;
as comparison when I run the same command to see other process such as 'nsrexecd' the plugins can detect it correctly.
This is occurred on AIX v7.3, I tested on AIX v7.2 result looks okay and not seeing any issue!.
(just added) The version of plugin is v2.1.1
$ /opt/freeware/lib/nagios/plugins/check_procs --version
check_procs v2.1.1 (nagios-plugins 2.1.1)
Any thoughts ?
I got issue with a plugin "check_procs" could not see xntpd process :
$ ps -ef | grep xntpd
root 1234506 1 0 05 Mar - 0:16 /usr/sbin/xntpd
$ ps -ef | grep nsrexecd
root 8334512 1 0 19 Feb - 0:30 /bin/nsrexecd
Using check_procs binary command I run as follow,
$ /opt/freeware/lib/nagios/plugins/check_procs -C xntpd -a '' -w 1:1
PROCS WARNING: 0 processes with command name 'xntpd', args '' | procs=0;1:1;;0;
$ /opt/freeware/lib/nagios/plugins/check_procs -C nsrexecd -a '' -w 1:1
PROCS OK: 1 processes with command name 'nsrexecd', args '' | procs=1;1:1;;0;
as comparison when I run the same command to see other process such as 'nsrexecd' the plugins can detect it correctly.
This is occurred on AIX v7.3, I tested on AIX v7.2 result looks okay and not seeing any issue!.
(just added) The version of plugin is v2.1.1
$ /opt/freeware/lib/nagios/plugins/check_procs --version
check_procs v2.1.1 (nagios-plugins 2.1.1)
Any thoughts ?