Hello,
i have installed Nagios Core along with its plugins. I have also installed snmp utils. The problem is that the check_snmp plugin does not appear anywhere. When i also run snmpwalk command, i get the error -bash: ./check_snmp: No such file or directory. Any idea?? What else should i install?
Snmp plugin issue
Re: Snmp plugin issue
check_snmp is included as part of the nagios-plugins package. It's a totally separate thing from Nagios Core.
If you're following the official documentation for installing Nagios Core, there should be a "Installing The Nagios Plugins" step which should include the check_snmp plugin.
If you're following the official documentation for installing Nagios Core, there should be a "Installing The Nagios Plugins" step which should include the check_snmp plugin.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Snmp plugin issue
check_snmp: Requires the NET-SNMP package.
What OS and release are you trying to install the plugins on?
What OS and release are you trying to install the plugins on?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 9
- Joined: Wed May 03, 2017 5:28 am
Re: Snmp plugin issue
Hi,
the OS is Centos 6.7. I have followed the steps for installing net-snmp lib. I have also attached the following file. Any other idea?
the OS is Centos 6.7. I have followed the steps for installing net-snmp lib. I have also attached the following file. Any other idea?
Re: Snmp plugin issue
Make sure the following packages net-snmp packages are installed on the server.
If they are not, run the following to install them.
Then recompile the plugins to see if the check_snmp plugin is built.
Make sure you run a
first then re-run the configure script before recompiling.
If it still doesn't compile, in the folder where you compiled the plugins, there should be a config.log file.
Can you post it here?
Code: Select all
net-snmp net-snmp-devel net-snmp-libs net-snmp-perl net-snmp-utils
Code: Select all
yum install net-snmp net-snmp-devel net-snmp-libs net-snmp-perl net-snmp-utils -y
Make sure you run a
Code: Select all
make clean
If it still doesn't compile, in the folder where you compiled the plugins, there should be a config.log file.
Can you post it here?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 9
- Joined: Wed May 03, 2017 5:28 am
Re: Snmp plugin issue
Hi,
I finally installed it. I want to ask about mrtg, though. I have installed mrtg, but i get the error:
check_mrtgtraf: Unable to open MRTG log file
Which and where is this log file?
Moreover, which is the process for configuring mrtg to monitor a device?
I finally installed it. I want to ask about mrtg, though. I have installed mrtg, but i get the error:
check_mrtgtraf: Unable to open MRTG log file
Which and where is this log file?
Moreover, which is the process for configuring mrtg to monitor a device?
Re: Snmp plugin issue
Take a look at the MRTG installation guide for the information you are looking for at the link below.
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
Be sure to check out our Knowledgebase for helpful articles and solutions!