nagios plugin check_procs coult not see xntpd

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
al25
Posts: 3
Joined: Tue Mar 12, 2024 7:25 pm

nagios plugin check_procs coult not see xntpd

Post by al25 »

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 ?
User avatar
jmichaelson
Posts: 117
Joined: Wed Aug 23, 2023 1:02 pm

Re: nagios plugin check_procs coult not see xntpd

Post by jmichaelson »

Is AIX 7.3 possibly more stringent with permissions? Can you run the ps commands if you su to the nagios user?
Please let us know if you have any other questions or concerns.

-Jason
al25
Posts: 3
Joined: Tue Mar 12, 2024 7:25 pm

Re: nagios plugin check_procs coult not see xntpd

Post by al25 »

Both xntpd and nsrexecd process own by root user
If its is permission issue why the plugins return okay for nsrexecd process while it missed to identify xntpd process
User avatar
jmichaelson
Posts: 117
Joined: Wed Aug 23, 2023 1:02 pm

Re: nagios plugin check_procs coult not see xntpd

Post by jmichaelson »

OK I do see that now. as a test are you able to get the check to work with other processes? Just wondering since one works and one doesn't; I'd like to know if there are other daemons running that can or can't be checked.
Please let us know if you have any other questions or concerns.

-Jason
al25
Posts: 3
Joined: Tue Mar 12, 2024 7:25 pm

Re: nagios plugin check_procs coult not see xntpd

Post by al25 »

nsrexecd is the other process

is there a log file to give detail on what Nagios alerting activities ?

- AL -
Post Reply