Page 1 of 1
Nagios Plugins
Posted: Tue Nov 29, 2011 10:32 am
by daniellem
Hello,
I'm new to Nagios and had the application installed via the rpm by my hosting company.
Now that it's installed and I did some initial configuration, I keep getting the following errors:
Warning: Return code of 127 for check of service 'Root Partition' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
From searching this issue, it looks like the plugins may not have been installed, or need to be re-installed. However I'm not sure if they were included in the rpm.
If anyone knows, please let me know if the plugins are usually installed with the rpm, or if they need to be installed separately after the rpm is installed.
Thanks
Danielle
Re: Nagios Plugins
Posted: Tue Nov 29, 2011 4:53 pm
by jsmurphy
I can't answer your question directly... I've never installed Nagios from an RPM, but you can find the plugins here:
http://sourceforge.net/projects/nagiosplug/files/
Re: Nagios Plugins
Posted: Wed Dec 07, 2011 2:35 am
by vivek919
Hi,
I am from Infosys Technologies Limited. I want to know ? Does Nagios support Windows 7 ? I need to test Gateway SNMP feature on that. Can You please let me know what plugins what should I use ?
Thanks,
Vivek
Re: Nagios Plugins
Posted: Wed Dec 07, 2011 4:49 pm
by jsmurphy
Nagios does support monitoring windows 7 if that's the question. You will need to install nsclient++ for basic monitoring functionality (disk usage, CPU, etc) and I'm assuming it already has SNMP tools installed if it's got an SNMP gateway. The nagios-plugins package will contain the plugins necessary for both checks (check_nt and check_snmp).
Re: Nagios Plugins
Posted: Wed Dec 07, 2011 9:18 pm
by vivek919
ThankYou so much !
what SNMP server I need to install on Windows 7? Nagios XI or nagios Core setup or Nagios Fusion ? I am little bit confused and I need to test PUblic mibs of Gateway Functionality. Need Your help on this.
Thanks
Vivek
Re: Nagios Plugins
Posted: Thu Dec 08, 2011 3:39 pm
by jsmurphy
Which version of Nagios will depend on your needs:
Nagios XI is the full enterprise level Nagios, it has a purchase fee and comes with maintenance... It's also the easiest to set up.
Nagios Core is the original open source version and free, probably also the most suitable for your needs at this stage.
Nagios fusion is for large Nagios deployments with multiple independent Nagios servers.
I can't really answer your SNMP question as I don't install SNMP on my servers... but if it's a gateway server whose purpose is to provide SNMP capabilities then you don't need to install anything extra. Get familiar with Nagios first and familiar with the Linux snmpwalk command, it will make it easier for us to help you get monitoring on that device set up

Re: Nagios Plugins
Posted: Fri Jan 06, 2012 3:38 am
by vivek919
Hi
Tried to install nagios on RH5 and it is also successfully installed. when I am open the webinterface <ipaddress>nagiosxi. I am getting this error DB Connect Error [nagiosxi]: Database connection failed. I tried below solution which was mentioned in Tech Support forum but it didn't work out. request you to help on this
==================================================
Resolving "DB Connect Error [nagiosxi]: Database connection failed"
The problem we identified with gnome was that the PATH for the "service" command gets changed under gnome. This needs to be set correctly so that the scripts starting with 3-dbservers will run correctly. You can test if the path is set correctly by trying the following commands:
service httpd restart
service postgresql restart
The important thing is that it includes the "sbin" directories. Normally it would look like this, although this isn't the only "correct" answer possible:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
Thanks,
Vivek
Re: Nagios Plugins
Posted: Fri Jan 06, 2012 11:28 am
by mguthrie
I'm going to move this to the XI Forum since it's an XI issue.
Re: Nagios Plugins
Posted: Fri Jan 06, 2012 11:29 am
by mguthrie
After installation, can you post the contents of the /tmp/nagiosxi/install.log file?