snmp problem with apan

Schimpke, Dr. Thomas - bhn Schimpke.Thomas at bhn-services.com
Wed May 3 18:02:03 CEST 2006


Hi,

I think, you've enabled the processing of performance data in nagios (I
wrote before)... That means, that the check_snmp plugin of *nagios* will
output performance data to apan, but apan could not handle these data
and the insert into the RRD files fail.

I've fixed that the hard way: in snmp.sh in the plugins-sql directory of
apan I've inserted in function snmpget (which is used to gather
interface data) after the call of check_snmp and the status code the
following lines:

    #
    # Delete Performance data information
    VALUE=$(echo ${VALUE} | sed 's/|.*$//')

This line will delete everything from the check_snmp output, after the
'|' character, which is used in nagios to seperate regular data from
performance data.
Not nice, but it seems to work.

Thomas
 
On Mon, 2006-01-16 at 15:18 +0100, Jose Castilla Gallardo wrote:
> Hi, in status information get
> 
> "SNMP OK: IN:iso.3.6.1.2.1.2.2.1.10.1=341414189c::::, " but in the graph 
> haven`t data. Do you know why?
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
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