Check_HP plugin installation and use
Posted: Mon Dec 08, 2014 5:47 am
Hi All,
Having finally managed to get the latest version Nagios Core installed on a VM and have it monitor server windows servers both local and remote, I am now looking to have it monitor a bit more in-depth on each host.
I chose the HP_Check plugin which looks like it will do everything I need it to but am having some trouble getting it to work. I have extracted and placed the plugin in my Nagios plugins folder (\usr\local\nagios\libexec), added a service definition and a command definition and added these to a host. I then restarted Nagios which didn't throw up any errors but when I check the server in Nagios I have an error: "(Return code of 13 is out of bounds)" - I'm clearly missing something but I just don't know what it is!
I have configured SMNP on the windows host that I am trying to monitor and pretty sure I've forwarded the ports correctly - not sure if there is a way to confirm this?
Let me know if you need me to paste any of my service, command definitions etc.
If it helps I'm running the latest version of Ubuntu along with the latest version of Nagios.
If it helps I get the same error message when I try to run the plugin from the terminal. Even as "Sudo" I get a permissions error.
I've tried setting the permissions on the file but it doesn't seem to make any difference.
Having finally managed to get the latest version Nagios Core installed on a VM and have it monitor server windows servers both local and remote, I am now looking to have it monitor a bit more in-depth on each host.
I chose the HP_Check plugin which looks like it will do everything I need it to but am having some trouble getting it to work. I have extracted and placed the plugin in my Nagios plugins folder (\usr\local\nagios\libexec), added a service definition and a command definition and added these to a host. I then restarted Nagios which didn't throw up any errors but when I check the server in Nagios I have an error: "(Return code of 13 is out of bounds)" - I'm clearly missing something but I just don't know what it is!
I have configured SMNP on the windows host that I am trying to monitor and pretty sure I've forwarded the ports correctly - not sure if there is a way to confirm this?
Let me know if you need me to paste any of my service, command definitions etc.
If it helps I'm running the latest version of Ubuntu along with the latest version of Nagios.
If it helps I get the same error message when I try to run the plugin from the terminal. Even as "Sudo" I get a permissions error.
I've tried setting the permissions on the file but it doesn't seem to make any difference.