Nagios is not showing proper data
Posted: Thu Jun 01, 2017 9:17 am
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
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