check_nrpe

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
nebblkshts
Posts: 58
Joined: Tue Dec 08, 2015 7:35 am

Re: check_nrpe

Post by nebblkshts »

Here are three different monitored devices.
DrivespaceWinservices.png
DrivespaceWinservices.png (9.5 KiB) Viewed 3016 times
CPUADP.png
CPUADP.png (7.79 KiB) Viewed 3016 times
printer.png
printer.png (8.88 KiB) Viewed 3016 times
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: check_nrpe

Post by ssax »

Copy and paste the command line for the very top one (the one that has the ! in it) and paste it into the lower box and click go.
nebblkshts
Posts: 58
Joined: Tue Dec 08, 2015 7:35 am

Re: check_nrpe

Post by nebblkshts »

I get the same screen with the error. I refreshed and went back in same error same screen.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_nrpe

Post by rkennedy »

Look's like we're back at the root of the problem, do you know if this was working to begin with, or if all of this was triggered after something happened?
Former Nagios Employee
nebblkshts
Posts: 58
Joined: Tue Dec 08, 2015 7:35 am

Re: check_nrpe

Post by nebblkshts »

To be honest I started here a year ago and this is the way I found it. We have an old version of Ubuntu and old version of OpenVpn and looks like an old version of Nagios. The 17 years I have been in IT I have been a "Jack of All Trades Master of None" when it comes to Microsoft. So I am now trying learn Linux and open source this was a chance to start but as we work through this I feel like I just need to rebuild this server. This error is not killing us and was a chance to dig in and learn.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: check_nrpe

Post by hsmith »

I hate to give that as an answer.. What if we try to escape out the special characters in the service definition? There may have been a bug in earlier versions, 3.x was before my time with the company...

Can we try that check command with 10\% and 5\% and C\:

Kind of grasping, but worth a shot.
Former Nagios Employee.
me.
nebblkshts
Posts: 58
Joined: Tue Dec 08, 2015 7:35 am

Re: check_nrpe

Post by nebblkshts »

Sorry that did not work either...
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_nrpe

Post by rkennedy »

Is upgrading to the newest core or possibly even XI an option?

Let's try deleting the objects.cache file and restarting the service. Let us know if this changes the error at all.

Code: Select all

rm /var/cache/nagios3/objects.cache
service nagios restart
Alternatively, we can try to create a new command, and have these services reference the new command.
Former Nagios Employee
nebblkshts
Posts: 58
Joined: Tue Dec 08, 2015 7:35 am

Re: check_nrpe

Post by nebblkshts »

Is upgrading to the newest core or possibly even XI an option?
I am not sure but with the OS being out of date I am thinking this could be a good time for me to one load the OS and then install the latest Nagios for experience and learning. I plan on asking boss when he gets back next week.
Let's try deleting the objects.cache file and restarting the service. Let us know if this changes the error at all.

Code: Select all

rm /var/cache/nagios3/objects.cache
    service nagios restart
This did not work... I think I need to have that conversation with my boss because we seem to be trying to put lip stick on a pig and it is not working.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_nrpe

Post by tmcdonald »

nebblkshts wrote:This did not work... I think I need to have that conversation with my boss because we seem to be trying to put lip stick on a pig and it is not working.
Really hoping that in this context the pig is the OS and not Nagios :)

How long do you figure it will take to provision another server?
Former Nagios employee
Locked