Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... =7&t=28678
In the future, please create a new thread and link to the old one instead of adding on.
Hello, I have nrdp configured on my nagios server (10.10.0.189), also on my remote client server if i execute send_nrdp.php , it executes fine.
root@remote-client:/usr/local/nrdp/clients# ./send_nrdp.php --url=http://10.10.0.189/nrdp/ --token=Hdt988tdxrtsuzx12 --host=remote-client --service="ping" --state=0 --output="The host is up and OK"
root@remote-client:/usr/local/nrdp/clients#
How can I see this results on Nagios server, Also how to enable monitoring for various other services for the remote client. and how do schedule it on my remote client servers.
Someone please help.
NRDP send command
Re: NRDP send command
Assuming you have a host named "remote-client" with a service named "ping", you should see "The host is up and OK" in the specified service's status output. Is this not the case for your setup?dpa.clt wrote:How can I see this results on Nagios server
Run a plugin and pipe it's exit code and output to send_nrdp's --output and --state arguments. For multiple services using the same plugin, you could use wrapper scripts.dpa.clt wrote:Also how to enable monitoring for various other services for the remote client.
NCPA also supports passive checks if you're open to using an agent. You can have NCPA take care of a lot of the "scheduling/configuring" end of things. That's probably the cleaner way of doing this.
Most commonly: cron for Linux, Scheduled Tasks for Windows. Or, if you're using NCPA, there's configuration settings related to scheduling the checks.dpa.clt wrote:and how do schedule it on my remote client servers.
Nagios XI also has a lot of this sort of thing baked-in.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: NRDP send command
Thanks for the help @mcapra!
dpa.clt, He's right, did you create a host and service check? That is how you would see passive checks Nagios.
https://support.nagios.com/kb/article/n ... s-762.html
Otherwise, Let us know if mcapra's suggestion helped you!
dpa.clt, He's right, did you create a host and service check? That is how you would see passive checks Nagios.
https://support.nagios.com/kb/article/n ... s-762.html
Otherwise, Let us know if mcapra's suggestion helped you!
Re: NRDP send command
thanks for the response .We were able to get it configured with nagios core,nrdp and ncpa client .
Still some issues .I have posted it in a new thread.
Thanks for the suggestion
Still some issues .I have posted it in a new thread.
Thanks for the suggestion
Re: NRDP send command
Sounds good! I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!