Check_snmp missing?
-
5mall5nail5
- Posts: 7
- Joined: Mon Feb 24, 2014 5:19 pm
Check_snmp missing?
I notice in services I get:
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_snmp, ...) failed. errno is 2: No such file or directory
I go to /usr/local/nagios/libexec and sure enough there is no check_snmp. I did install nagios-plugins 1.5, or so I thought... but, where is check_snmp? Running Ubuntu 13.10 guys and Nagios 4.0.2 -- any suggestions?
Thanks,
Jon
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_snmp, ...) failed. errno is 2: No such file or directory
I go to /usr/local/nagios/libexec and sure enough there is no check_snmp. I did install nagios-plugins 1.5, or so I thought... but, where is check_snmp? Running Ubuntu 13.10 guys and Nagios 4.0.2 -- any suggestions?
Thanks,
Jon
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Check_snmp missing?
What snmp packages do you have presently? If you installed from source and do not have the net-snmp packages it will not build check_snmp.
Code: Select all
rpm -qa | grep snmpNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
5mall5nail5
- Posts: 7
- Joined: Mon Feb 24, 2014 5:19 pm
Re: Check_snmp missing?
Thanks - how about in Ubuntu? I did just install snmpd. So, I guess I need to reinstall Nagios? Do I need to remove anything or can I just perform the configure/etc that I did?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Check_snmp missing?
Actually you do not need to uninstall\remove anything. That rpm command should work for ubuntu as well, since apt-get still uses .rpm or .deb... although thinking about it you might need to check with dpkg instead, which I am not familiar with. The basic idea is that once you install the ubuntu version of perl net-snmp, utils and devel of them, you just need to reconfigure and compile the plugins.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
5mall5nail5
- Posts: 7
- Joined: Mon Feb 24, 2014 5:19 pm
Re: Check_snmp missing?
Thanks! rpm doesn't work and dpkg was a big confusing so I figured I can ./configure && make && make install without doing any worse damage. So, we'll see.sreinhardt wrote:Actually you do not need to uninstall\remove anything. That rpm command should work for ubuntu as well, since apt-get still uses .rpm or .deb... although thinking about it you might need to check with dpkg instead, which I am not familiar with. The basic idea is that once you install the ubuntu version of perl net-snmp, utils and devel of them, you just need to reconfigure and compile the plugins.
-
5mall5nail5
- Posts: 7
- Joined: Mon Feb 24, 2014 5:19 pm
Re: Check_snmp missing?
Ok I reconfig'd with snmpd and all, and now I see check_snmp in the libexec location.
However, now I get this:
CRITICAL - Plugin timed out while executing system call
For "uptime" via check_snmp - any thoughts on that?
However, now I get this:
CRITICAL - Plugin timed out while executing system call
For "uptime" via check_snmp - any thoughts on that?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Check_snmp missing?
Do you have snmp properly configured on the remote system's end? Is port 161 open? Is the snmp daemon running?
-
5mall5nail5
- Posts: 7
- Joined: Mon Feb 24, 2014 5:19 pm
Re: Check_snmp missing?
Do you have documentation on proper snmp configuration? I've followed a slew of guides but it's highly likely that something is not configured properly
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Check_snmp missing?
We do not have documentation on enabling SNMP on remote devices/systems as it is different for each device, in this case, it should be as simple as googling, how to set up SNMP with linux, or, how to enable snmp on linux.
-
5mall5nail5
- Posts: 7
- Joined: Mon Feb 24, 2014 5:19 pm
Re: Check_snmp missing?
Thanks! I understand.
In this case I am trying to utilize SNMP from my Asus AC66U router.
In this case I am trying to utilize SNMP from my Asus AC66U router.