[Nagiosplug-help] Check_snmp and Could not open pipe: error

Pietro Bandera pietrob at lansystems.it
Mon Jun 9 06:16:25 CEST 2003


> []# snmpget 192.168.0.37 public
>
enterprises.ibm.ibmProd.ibmServeRaid.ibmServeRaidMIB.ibmServeRaidMibObje
>
cts.ibmServeRaidInfo.ibmServeRaidPhysDeviceTable.ibmServeRaidPhysDeviceE
> ntry.ibmServeRaidPhysDeviceStatus.\"113\"
>
enterprises.ibm.ibmProd.ibmServeRaid.ibmServeRaidMIB.ibmServeRaidMibObje
>
cts.ibmServeRaidInfo.ibmServeRaidPhysDeviceTable.ibmServeRaidPhysDeviceE
> ntry.ibmServeRaidPhysDeviceStatus."113" = online(2)
> 
> I got a right answer 
> 
> while if i use the check_snmp command with the same sintax i got this:
> 
> 
> []# /usr/local/netsaint/libexec/check_snmp 192.168.0.37 -C public -o
>
enterprises.ibm.ibmProd.ibmServeRaid.ibmServeRaidMIB.ibmServeRaidMibObje
>
cts.ibmServeRaidInfo.ibmServeRaidPhysDeviceTable.ibmServeRaidPhysDeviceE
> ntry.ibmServeRaidPhysDeviceStatus.\"113\" -l Disco -s "online(2)"
> Could not open pipe: /usr/bin/snmpget -m ALL -v 1 192.168.0.37 public
>
enterprises.ibm.ibmProd.ibmServeRaid.ibmServeRaidMIB.ibmServeRaidMibObje
>
cts.ibmServeRaidInfo.ibmServeRaidPhysDeviceTable.ibmServeRaidPhysDeviceE
> ntry.ibmServeRaidPhysDeviceStatus."113"
> 
> 

Sg said:

>The error says "could not open pipe"  

>check_snmp was probably compiled on a different system and the snmpget 
>binary is in a different location or doesn't have o+x permissions.
>
>
>-- 
>
>-sg


Well i have check it and all is ok...

But the problem still :(

Any other idea?





More information about the Help mailing list