Check_snmp_storage returning error

This forum is intended for the discussion of Nagios Core development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagios-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Check_snmp_storage returning error

Postby jay.thakkar » Sun Jul 09, 2017 2:26 pm

I am using nagios core 4.3.7 installed on Centos 7. I want to monitor the storage of remote host through SNMP and I configured as below.

Code: Select all
define service{
        use                             local-service         ; Name of service template to use
        host_name                       Desktop-0079
        service_description             Desktop-0079 storage
        check_command                   check_snmp_storage_v1!/!85!95! -r
       }

but getting error like this:
(Return code of 255 is out of bounds : (No output on stdout) stderr: SNMP object version 5.0703 does not match $SNMP::VERSION 5.0702 at /usr/local/share/perl5/DynaLoader.pm line 213.))

I have tried all the possible things given on internet to solve this error but I am stuck. Please help!
Last edited by tmcdonald on Mon Jul 10, 2017 10:44 am, edited 1 time in total.
Reason: Please use [code][/code] tags around long output
jay.thakkar
 
Posts: 1
Joined: Sun Jul 09, 2017 1:38 pm

Re: Check_snmp_storage returning error

Postby tgriep » Mon Jul 10, 2017 1:45 pm

I have seen errors like this in the past, it usually means that the permissions for the plugin is incorrect or that one of the required perl modules permissions is not set correctly.
When the Nagios process runs a plugin, it runs it using the nagios user account, try running the plugin while logged in to the system as the nagios user and and post the error so we can view it.
Also, post the plugin here so we can view it's requirements.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 6081
Joined: Thu Oct 30, 2014 9:02 am


Return to Nagios Core Development

Who is online

Users browsing this forum: No registered users and 12 guests