Page 1 of 1

Nagios is not showing proper data

Posted: Thu Jun 01, 2017 9:17 am
by sgoffar
Hi Team,

We have a customize script to monitor some process. When we are executing the script manually it's showing everything is fine. However when we are using the same script through nagios service it's showing critical even the process are running fine.

Can you please help on this
server output:
./check_ctxxxx_tws_processes
SYSTEM: OK - All monitoring processes are running. Process: /tools/maestro/ctnlxcsc01/maestro/TWS/bin/netman /tools/maestro/ctnlxcsc01/maestro/TWS/bin/batchman /tools/maestro/ctnlxcsc01/maestro/TWS/bin/jobman . Ports:

Nagios output:
usr/local/nagios/libexec/check_nrpe -H ctnlxcsc01 -t 30 -c check_tws_processes

SYSTEM CRITICAL - One or more processes (/tools/maestro/ctnlxcsc01/maestro/TWS/bin/netman /tools/maestro/ctnlxcsc01/maestro/TWS/bin/batchman /tools/maestro/ctnlxcsc01/maestro/TWS/bin/jobman ) not running

Re: Nagios is not showing proper data

Posted: Thu Jun 01, 2017 10:04 am
by avandemore
What happens when you run the check on the listener?

Code: Select all

# su - nagios
$ usr/local/nagios/libexec/check_nrpe -H localhost -t 30 -c check_tws_processes

Re: Nagios is not showing proper data

Posted: Wed Jun 21, 2017 1:26 pm
by tmcdonald
Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?