[Nagiosplug-devel] problem with check_snmp on Linux with snmpget 5.0.3

Karl DeBisschop karl at debisschop.net
Tue Oct 22 01:31:03 CEST 2002


On Mon, 2002-10-21 at 18:45, Mayhew, Andrew wrote:
> Anyone else seeing this sort of error?  check_snmp always reports that there
> is "no data recieved [sic] from host".  If you run the snmpget command it
> claims to be executing it works.  Seems to be a problem with the "ptr =
> strtr(ptr, delimiter);" moving the pointer past the output from snmpget.
> 
> $ ./check_snmp --version
> check_snmp (nagios-plugins 1.3.0-alpha1) 1.1.1.1
> The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
> copies of the plugins under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING.
> 
> $ ./check_snmp -H 172.16.74.24 -o sysUpTime.0 -w 600:1 -C community -u Hours
> -l SystemUpTime
> SystemUpTime problem - No data recieved from host
> CMD: /usr/local/bin/snmpget -m ALL -v 2c -c community 172.16.74.24
> sysUpTime.0
> $ /usr/local/bin/snmpget -m ALL -v 2c -c community 172.16.74.24 sysUpTime.0
> SNMPv2-MIB::sysUpTime.0 3:4:19:03.21
> 
> Any help would be appreciated.
> --Andy Mayhew

Can I suggect the current CVS? We're at 1.8, and IIRC one of the chnages
I made was for that general sort of behaviour.

-- 
Karl





More information about the Devel mailing list