Help..........
I have upload the "check_file_content" pluging and have it working on the host nagios VM. However, I can seem to get it working to a remote VM. Can you help with this?
Thanks
Nagios check_file_content plugin
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios check_file_content plugin
We need more information. How are you trying to run it remotely? There is no mechanism to run the plugin specifying a remote host so you'll have to utilize a remote plugin executor such as NRPE or NCPA. Please post the pertinent parts of your host, service and command configurations as well as the configuration from the remote agent.
If what I'm saying seems entirely foreign please review these documents:
http://assets.nagios.com/downloads/ncpa ... g_NCPA.pdf
http://assets.nagios.com/downloads/ncpa ... ctive.html
If what I'm saying seems entirely foreign please review these documents:
http://assets.nagios.com/downloads/ncpa ... g_NCPA.pdf
http://assets.nagios.com/downloads/ncpa ... ctive.html
-
digitallife
- Posts: 27
- Joined: Mon Nov 17, 2014 12:29 pm
Re: Nagios check_file_content plugin
Sorry for the lack of information. But yes, I utilize NRPE to execute checks remotely. Matter of fact, I currently have several remote hosts and services running successfully. I have a request to monitor some contents of a logfile which is why I uploaded the plugin. The check_file_content do not come standard when I add a new remote Linux server/VM to monitor. I uploaded this plugin from http://exchange.nagios.org/directory/Plugins/Log-Files. I've loaded it on both the nagios host and the downstream remote VM. It works fine on the nagios host. However, I cannot get it configured from the host to execute on the remote server. Hopefully, this is little clearer.
-
digitallife
- Posts: 27
- Joined: Mon Nov 17, 2014 12:29 pm
Re: Nagios check_file_content plugin
OK, I got it figured out. I needed to added the plugin command to the nrpe.cfg file on the remote machine. 