Search found 2 matches

by DanielRo
Thu Mar 31, 2016 3:07 am
Forum: Open Source Nagios Projects
Topic: Top output is not send to check_nrpe
Replies: 3
Views: 1117

Re: Top output is not send to check_nrpe

I've modified this line: tmp_output=`ps aux | grep "$process" | grep -v $0` with tmp_output=`top -bcn 1 | grep "$process" | grep -v $0` . If I have a process like: php runPhp test1 and input the test1 string I'll get an empty output on nagios server. If I input only php it will w...
by DanielRo
Wed Mar 30, 2016 4:05 am
Forum: Open Source Nagios Projects
Topic: Top output is not send to check_nrpe
Replies: 3
Views: 1117

Top output is not send to check_nrpe

Hello guys. After 10 years of windows I've come back to configure some linux servers. I've installed Nagios 4 on a server, nagios-nrpe-service on another server and used check_ps.sh from https://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_ps-2Esh/details. The check_ps.sh is u...