Total process count for httpd on remote linux server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Total process count for httpd on remote linux server

Post by lmiltchev »

Let's check if the "check_procs" plugin works correctly when run locally. Run the following command on the remote box, and show the output:

Code: Select all

/usr/lib64/nagios/plugins/check_procs httpd
It seems like, the Linux agent was not installed via our script, and the NRPE is not running under xinetd but as a standalone daemon. Try stopping xinetd on the remote box:

Code: Select all

service xinetd stop
Also, restart NRPE on the remove machine.

Next, try your check from the Nagios XI box:

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H <remote ip> -c check_procs -a httpd
It this still doesn't work, post the nrpe.cfg and common.cfg files.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Beena_Jogin
Posts: 54
Joined: Fri Jan 22, 2016 4:58 am

Re: Total process count for httpd on remote linux server

Post by Beena_Jogin »

hi,

if we run the following commands, other than NRPE and Nagios plugins does any other system files get affected

delgroup nagios
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Total process count for httpd on remote linux server

Post by rkennedy »

I don't believe so, but I wouldn't advise doing so. What exactly are you looking to accomplish? If you have a new question, please create a new thread.
It this still doesn't work, post the nrpe.cfg and common.cfg files.
Can you please post both of these files, if what Ludmil posted didn't work?
Former Nagios Employee
Beena_Jogin
Posts: 54
Joined: Fri Jan 22, 2016 4:58 am

Re: Total process count for httpd on remote linux server

Post by Beena_Jogin »

Hi,

We need a confirmation that the following commands would not affect any other system files and other plugins

delgroup nagios
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios

After the confirmation from Nagios support we want to go ahead with the Nagios reinstallation again

Thanks,
Beena
Beena_Jogin
Posts: 54
Joined: Fri Jan 22, 2016 4:58 am

Re: Total process count for httpd on remote linux server

Post by Beena_Jogin »

Please ignore my previous reply.

Thanks for the information.

Request you to close the thread.

Thanks,
Beena
Locked