genError running snmpwalk against AIX

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

genError running snmpwalk against AIX

Post by CFT6Server »

AIX v 6.1, snmp v1 (v3 is not an option in this case)
The execution of the command snmpwalk -v 1 -c nagios -m ALL <hostname> returns the error below
I get the same error using the XI GUI or on the command line.
If I run the snmpinfo command on the actual server being queried I can retrieve many other objects not showing up below.

Any ideas on what could be happening or how to get around that ?

Thanks

-------script output
SNMPv2-MIB::sysDescr.0 = STRING: IBM PowerPC CHRP Computer
Machine Type: 0x0800004c Processor id: 00F6077F4C00
Base Operating System Runtime AIX version: 06.01.0007.0015
TCP/IP Client Support version: 06.01.0007.0017
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.1.3
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (272985) 0:45:29.85

.... removed lines for simplicity and jump to the end of the execution

IP-MIB::ipRoutingDiscards.0 = Counter32: 0
IP-FORWARD-MIB::inetCidrRouteNumber.0 = Wrong Type (should be Gauge32 or Unsigned32): INTEGER: 6
IP-FORWARD-MIB::inetCidrRouteDestType.ipv4."10.242.83.0".0.0.unknown.".".10.242.83.94 = INTEGER: ipv4(1)
IP-FORWARD-MIB::inetCidrRouteDestType.ipv4."10.242.83.0".24.0.unknown.".".10.242.83.94 = INTEGER: ipv4(1)
IP-FORWARD-MIB::inetCidrRouteDestType.ipv4."10.242.83.94".0.0.unknown.".".127.0.0.1 = INTEGER: ipv4(1)
IP-FORWARD-MIB::inetCidrRouteDestType.ipv4."10.242.83.255".0.0.unknown.".".10.242.83.94 = INTEGER: ipv4(1)
IP-FORWARD-MIB::inetCidrRouteDestType.ipv4."127.0.0.0".8.0.unknown.".".127.0.0.1 = INTEGER: ipv4(1)
Error in packet.
Reason: (genError) A general failure occured
Failed object: IP-FORWARD-MIB::inetCidrRouteDestType.ipv4."127.0.0.0".8.0.unknown.".".127.0.0.1
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: genError running snmpwalk against AIX

Post by jdalrymple »

Can you post the output of

Code: Select all

snmpwalk -v 1 -c nagios -mALL localhsot 1.3.6.1.2.1.4.24
run from the AIX box? It's bound to be long so please wrap in code tags.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: genError running snmpwalk against AIX

Post by CFT6Server »

It seems there is an issue on the AIX side as well. That had not showed up before.

$ snmpinfo -v -m dump -c nagios 1.3.6.1.2.1.4.24
ip.24.6.0 = 6
ip.24.7.1.1.1.4.10.242.83.0.0.0.0.1.4.10.242.83.94 = 1
ip.24.7.1.1.1.4.10.242.83.0.24.0.0.1.4.10.242.83.94 = 1
ip.24.7.1.1.1.4.10.242.83.94.0.0.0.1.4.127.0.0.1 = 1
ip.24.7.1.1.1.4.10.242.83.255.0.0.0.1.4.10.242.83.94 = 1
ip.24.7.1.1.1.4.127.0.0.0.8.0.0.1.4.127.0.0.1 = 1
genErr at position 1
/home/root
[[email protected]] $
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: genError running snmpwalk against AIX

Post by jdalrymple »

Is there something horribly broken in the routing table?

Code: Select all

netstant -nr
Is compiling and installing net-snmp an option (although I'm not sure this would fix your problem).

Other AIX boxes exhibit the same symptom?
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: genError running snmpwalk against AIX

Post by CFT6Server »

We changed snmp to v3 as a test and the problem went away, so it seems isolated to v1.
I mentioned that going to v3 was not an option because apparently it is not supported by IBM on AIX clusters (of which we have quite a few).
The route table seems fine.

thanks,
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: genError running snmpwalk against AIX

Post by jdalrymple »

I'm not sure we can fix it - although I'm sure if you have IBM clusters you certainly are giving them the big bucks for support? Maybe IBM has something out on FixCentral that references the issue?

I think this problem should probably be tackled by big blue since you're seeing the same problem using their snmp client against their snmp daemon. Your thoughts? Any further troubleshooting from this end would be me grasping at random straws.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: genError running snmpwalk against AIX

Post by CFT6Server »

Yes, the problem is definitely on their side.
Thank you very much for your help. Your suggestion to retrieve that OID in the AIX box itself pointed to the problem on that side.
Appreciate your help on that.

Cheers
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: genError running snmpwalk against AIX

Post by jdalrymple »

My pleasure, good luck with IBM :)

If IBM gives you any information that might be useful to an AIXer down the we'd love to hear back!
Locked