check_nrpe
-
nebblkshts
- Posts: 58
- Joined: Tue Dec 08, 2015 7:35 am
Re: check_nrpe
I reloaded the service and I still have that error in the GUI.
Re: check_nrpe
What's the output of this wonderful command?
Code: Select all
grep -Pzo "(?s)^define\s?(host|service)?\s?{.*?(LYNCFE2).*?}" /usr/local/nagios/var/objects.cache | tac | grep -Pzo "(?s)^.?}.*?(LYNCFE2).*?\{" | tac
Former Nagios Employee.
me.
me.
-
nebblkshts
- Posts: 58
- Joined: Tue Dec 08, 2015 7:35 am
Re: check_nrpe
administrator@NETSERVICES:/usr/lib/nagios/plugins$ sudo grep -Pzo "(?s)^define\s?(host|service)?\s?{.*?(LYNCFE2).*?}" /usr/local/nagios/var/objects.cache | tac | grep -Pzo "(?s)^.?}.*?(LYNCFE2).*?\{" | tac
[sudo] password for administrator:
grep: /usr/local/nagios/var/objects.cache: No such file or directory
[sudo] password for administrator:
grep: /usr/local/nagios/var/objects.cache: No such file or directory
Re: check_nrpe
I apologize, I didn't take your different file paths into account.
Code: Select all
grep -Pzo "(?s)^define\s?(host|service)?\s?{.*?(LYNCFE2).*?}" /var/cache/nagios3/objects.cache | tac | grep -Pzo "(?s)^.?}.*?(LYNCFE2).*?\{" | tacFormer Nagios Employee.
me.
me.
-
nebblkshts
- Posts: 58
- Joined: Tue Dec 08, 2015 7:35 am
Re: check_nrpe
Ok I found it and I am attaching the file out put
Last edited by rkennedy on Wed Dec 23, 2015 3:49 pm, edited 1 time in total.
Reason: deleted attached file as it contained credentials.
Reason: deleted attached file as it contained credentials.
-
nebblkshts
- Posts: 58
- Joined: Tue Dec 08, 2015 7:35 am
Re: check_nrpe
No that is just one I picked on hoping that if I fixed that one the others would be the same fix.
Re: check_nrpe
Is the issue spread across multiple hosts or just this one in particular? Can we perhaps see a screenshot of all of the errors? The way your check_nrpe is set up is making this kind of awkward to troubleshoot. Seeing all the errors would help us a lot.
Former Nagios Employee.
me.
me.
-
nebblkshts
- Posts: 58
- Joined: Tue Dec 08, 2015 7:35 am
Re: check_nrpe
There is one Nagios server only and yes what is the easiest way to get all those to show up? I can only get one to show up at a time the GUI.
Re: check_nrpe
If you could just grab 3-4 of the errors involving NRPE and throw them in this post, that would be the easiest. I'm not so familiar with core 3, as it was before my time, but in 4.1.1, there is a problems button that you can select services under to show all of the issues. Looking at your screenshot in the first post, I would imagine the "Service Problems" button would do it.
Former Nagios Employee.
me.
me.