Still can't, and needing guidance SNMP issue

Tim Palmer tim at tany.com
Fri Nov 9 16:48:50 CET 2007


Christy.New at cancer.org wrote:
> What is the libexec folder?  Can you give me a direct path?  I am new to
> Linux.
> 
> 
> Very Respectfully,
> Christy M. New
> 1(404)327-6490
> American Cancer Society
> Corporate IT-NHO NOC
> Network Infrastructure Engineer
> 
> 
>                                                                            
>              "Giles Coochey"                                               
>              <gcoochey at sapphir                                             
>              e.gi>                                                      To 
>                                        <Christy.New at cancer.org>,           
>              11/09/2007 10:07          <nagios-users at lists.sourceforge.net 
>              AM                        >                                   
>                                                                         cc 
>                                                                            
>                                                                    Subject 
>                                        RE: [Nagios-users] Still can't, and 
>                                        needing guidance SNMP issue         
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
> 
> 
> 
> 
>> I have the snmp plugin, at least it is downloaded into my downloads
> file
>> on
> 
> I believe you will need to put the executable in your libexec folder.
> 
>> my linux server.  However I can't monitor the following on my
>> routers(which
>> have snmp community strings on them.  I can' monitor the snmp status
> or
>> bandwidth/ traffic rate.  Can anyone help me figure out why I can't
> see
>> these on Nagios and the Nagios applications continues to say
>>
>>
>>                   UNKNOWN   11-09-20 0d 22h  3/3     check_mrtgtraf:
>>                             07       53m 22s         Unable to open
> MRTG
>>                             23:47:18                 log file
>>
> 
> I'm assuming you're not asking about this particular error in this
> thread.
>>
>>          Port 1
>>          Bandwidt
>>          h Usage
>>
>>                   CRITICAL  11-09-20 0d 22h  3/3     (Return code of
> 127
>>                             07       51m 55s         is out of bounds
> -
>>                             23:48:45                 plugin may be
>>                                                      missing)
> 
> It seems that Nagios cannot find the plugin, is it in your libexec
> folder?
> 
>>                   CRITICAL  11-09-20 0d 22h  3/3     (Return code of
> 127
>>                             07       50m 28s         is out of bounds
> -
>>                             23:53:21                 plugin may be
>>                                                      missing)
>>
>>
> 
> This looks to be the same problem.
> 
> What snmp plugin are you talking about? There are plenty out there
> What version of Nagios are you talking about?
> Perhaps if you provide some of your configuration, we might be able to
> help some more?
> 
> As it is, we need some psychic assistance here.

/usr/libexec, and /usr/local/libexec is the quick answer to your 
question, but how useful that information will be depends on more 
information. If you could provide the following details, it would be 
very helpful:

- output of command "uname -a"
- Nagios version
- exact name of the plugin you're having problems with
     From the errors you posted already, there may be some confusion - 
check_mrtggraf doesn't use snmp directly, it uses the information 
collected by a separate program called MRTG (which must be installed, 
configured and running properly in order to generate the log file 
check_mrtggraf currently can't find). And, there are many snmp plugins.
- Nagios command definition for the plugin
- Nagios service definition for the service calling this command.

As Giles says, you really do need to have some understanding of the OS 
you're running Nagios on. Different OS's can install different bits of 
Nagios in different places, for one thing.

tim


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list