NRDS Config Manger - Non-x86 devices

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: NRDS Config Manger - Non-x86 devices

Post by derekb »

jdalrymple wrote:You could potentially modify PHP in the component to achieve what you want. I could think of a far better way to handle this if your solution doesn't need to be passive.

Create an nrpe.cfg for all of your remote monitoring hosts with a command something like:

Code: Select all

[check_ipcam]=/path/to/your/check_ping -H $ARG1$
then create a service to apply to all of your cameras (defined as new hosts) using a command that expands like:

Code: Select all

check_nrpe -H <remote monitoring host> -c check_ipcam -a '$HOSTADDRESS$'
To make it a step slicker remote monitoring host could be a host custom object. This would be more flexible for future additional checks in case you wanted to monitor some other metrics that the IP Cams had to offer.
We were originally doing everything Active with NRPE, but alot of these clients have crappy DSL links that constantly drop out, so I went passive.

I have one last question:
I added a new host with a few services using the NRDP config manager. The SERVICE that is set to ping a few devices works great, no issue. But the host itself keeps showing CRITICAL DOWN with /bin/ping6 -n -U -w 10 -c 1 localhost

If I run the cronjob manually:

Code: Select all


root@raspberrypi:/var/log# /usr/local/nrdp/clients/nrds/nrds.pl -H 'EmpireTestPi' 2>&1
ERROR: STDIN must be either 3 or 4 fields long, I found 1
Sent 2 checks to http://nagios.empiresip.com/nrdp/
[code]

Then the Host shows OK: No data received yet. for 5-10 sec, then goes to Critical with /bin/ping6 -n -U -w 10 -c 1 localhost
How the heck do I get the host to show up?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS Config Manger - Non-x86 devices

Post by lmiltchev »

I added a new host with a few services using the NRDP config manager. The SERVICE that is set to ping a few devices works great, no issue. But the host itself keeps showing CRITICAL DOWN with /bin/ping6 -n -U -w 10 -c 1 localhost
Can you show us the command definitions for both, the host and the service check? What is the path to the plugins directory that is defined under the "Additional Settings" ("Edit NRDS Config" page)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NRDS Config Manger - Non-x86 devices

Post by Box293 »

derekb wrote:I'm just asking that when we select "Linux", that there be an option that changes the default path that is specified in that 'commands' section so I don't have to change it every time.
I think this is a great feature request. Being able to define the Operating System list and the template.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: NRDS Config Manger - Non-x86 devices

Post by derekb »

Box293 wrote:
derekb wrote:I'm just asking that when we select "Linux", that there be an option that changes the default path that is specified in that 'commands' section so I don't have to change it every time.
I think this is a great feature request. Being able to define the Operating System list and the template.
Thanks! I hoping someone notices and passes it on to development...
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS Config Manger - Non-x86 devices

Post by lmiltchev »

Thanks! I hoping someone notices and passes it on to development...
I filed an internal feature request (TASK ID 6706) for adding this functionality. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: NRDS Config Manger - Non-x86 devices

Post by derekb »

Awesome!
Also, I fixed my other issue -- I had an active check set on the host :P
All good now! Thanks guys!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDS Config Manger - Non-x86 devices

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked