Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that directly relate to Linux/Unix operating systems.
Moderators: Developers , Moderators
heckfy
Posts: 6 Joined: Fri Sep 07, 2012 10:41 pm
Post
by heckfy » Fri Sep 07, 2012 10:52 pm
I'm trying to setup a device, it has SNMP v3 and a string like this works (i replaced the real keys with xxxx):
snmpget -l AuthPriv -a SHA -A xxxx -x AES -X xxxx 10.18.4.14 -u nagios DISMAN-EVENT-MIB::sysUpTimeInstance
It doesn't have any password, just the SHA and the AES keys.
However, I'm getting errors like these:
Code: Select all
[quote][root@cacti lib]# php /var/www/cacti/poller.php
09/07/2012 07:01:23 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '357', Max Runtime '298', Poller Runs: '1'
09/07/2012 07:01:23 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 357 seconds have passed since the last poll!
09/07/2012 07:01:23 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cacti/cmd.php" 0 2]
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Error: passphrase chosen is below the length requirements of the USM (min=8).
/usr/bin/snmpget: (The supplied password length is too short.)
Error generating a key (Ku) from the supplied authentication pass phrase.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Waiting on 1 of 1 pollers.
Error: passphrase chosen is below the length requirements of the USM (min=8).
/usr/bin/snmpget: (The supplied password length is too short.)
Error generating a key (Ku) from the supplied authentication pass phrase.
Waiting on 1 of 1 pollers.
09/07/2012 07:01:24 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/lab-jnpr-core2_snmp_oid_8.rrd --template snmp_oid 1347069683:U
09/07/2012 07:01:24 PM - SYSTEM STATS: Time:0.1645 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:1 RRDsProcessed:1
OK u:0.00 s:0.00 r:0.05
Loop Time is: 0.17
Sleep Time is: 299.83
Total Time is: 0.17
[root@cacti lib]#
[/quote]
It probably has something to do with the fact I don't have any password, but I'm not sure.
This is 0.8.8a. Could anyone give me any suggestions what is going on and how to get it working?
Thanks a lot!
Ruslan
Attachments
SNMP setup Screen Shot 2012-09-07 at 8.49.13 PM.png (158.17 KiB) Viewed 6735 times
heckfy
Posts: 6 Joined: Fri Sep 07, 2012 10:41 pm
Post
by heckfy » Fri Sep 07, 2012 11:02 pm
Here is the switch side:
Code: Select all
{master:0}
rnm@lab-jnpr-core2> show configuration snmp v3
usm {
local-engine {
user nagios {
authentication-sha {
authentication-key "$9$8CIxVw2gJDjqKMLNdV4o69Cu0IRhSyevTzSrlK8L-VwgGD.P53/Cq.uOIRle4aJGk.n/CtO1jHPQF6AtLx7Ns2ZUj.mTZGCtuOcSVws2ZUsikqfTkqtu0BEh24oGUH5T3tpB3ncylvLXVwY4oGmfTz69q.hSreXxk.mTn/AtOBRhjHuOIRleoJZjmf"; ## SECRET-DATA
}
privacy-aes128 {
privacy-key "$9$eunvaNbwgUDkY2Tz6/0ONdVsaZDikQ362469CtOBRhSleWxNdg4ZN-VY24DjHqmPFnCA01EcHq0BIEeKgoaJjHmfT/9pF36Ap0hcs2gaZjk.Pfz3Vw2aJZjiCtpuORyrv8xN/CvW8X-dYgoGHqTz39tu4aFn69puNdVw4aji.Qz6PfBIcSMWjHkmQF"; ## SECRET-DATA
}
}
}
}
vacm {
security-to-group {
security-model usm {
security-name nagios {
group nagios_gr;
}
}
}
access {
group nagios_gr {
default-context-prefix {
security-model any {
security-level privacy {
read-view nagios-info;
}
}
}
}
}
}
{master:0}
rnm@lab-jnpr-core2>
heckfy
Posts: 6 Joined: Fri Sep 07, 2012 10:41 pm
Post
by heckfy » Fri Sep 07, 2012 11:51 pm
Ok, I figured out that the password was in the wrong field, but it's still not working. See the screenshot attached.
I actually see some snmp traffic in tcpdump:
Code: Select all
[quote][root@cacti ~]# 21:49:43.395691 IP 10.18.4.67.41732 > 10.18.4.14.snmp: F=r U= E= C= GetRequest(14)
0x0000: 4500 005c 0000 4000 4011 1e1d 0a12 0443 E..\..@.@......C
0x0010: 0a12 040e a304 00a1 0048 1cce 303e 0201 .........H..0>..
0x0020: 0330 1102 0442 f6ef d902 0300 ffe3 0401 .0...B..........
0x0030: 0402 0103 0410 300e 0400 0201 0002 0100 ......0.........
0x0040: 0400 0400 0400 3014 0400 0400 a00e 0204 ......0.........
0x0050: 188a 5290 0201 0002 0100 3000 ..R.......0.
21:49:43.396198 IP 10.18.4.14.snmp > 10.18.4.67.41732: F= U= E= 0x800x000x0A0x4C0x010x0A0x120x040x0E C= Report(31) S:snmpUsmMIB.usmMIBObjects.usmStats.usmStatsUnknownEngineIDs.0=105
0x0000: 4500 0082 c1d2 0000 4011 9c24 0a12 040e E.......@..$....
0x0010: 0a12 0443 00a1 a304 006e 3160 3064 0201 ...C.....n1`0d..
0x0020: 0330 1102 0442 f6ef d902 0300 ffe3 0401 .0...B..........
0x0030: 0002 0103 041c 301a 0409 8000 0a4c 010a ......0......L..
0x0040: 1204 0e02 0101 0204 00d8 8e76 0400 0400 ...........v....
0x0050: 0400 302e 0409 8000 0a4c 010a 1204 0e04 ..0......L......
0x0060: 00a8 1f02 0418 8a52 9002 0100 0201 0030 .......R.......0
0x0070: 1130 0f06 0a2b 0601 0603 0f01 0104 0041 .0...+.........A
0x0080: 0169 .i
21:49:43.427850 IP 10.18.4.67.37559 > 10.18.4.14.snmp: F=r U= E= C= GetRequest(14)
0x0000: 4500 005c 0000 4000 4011 1e1d 0a12 0443 E..\..@.@......C
0x0010: 0a12 040e 92b7 00a1 0048 1cce 303e 0201 .........H..0>..
0x0020: 0330 1102 0442 f6ef db02 0300 ffe3 0401 .0...B..........
0x0030: 0402 0103 0410 300e 0400 0201 0002 0100 ......0.........
0x0040: 0400 0400 0400 3014 0400 0400 a00e 0204 ......0.........
0x0050: 188a 5292 0201 0002 0100 3000 ..R.......0.
21:49:43.428288 IP 10.18.4.14.snmp > 10.18.4.67.37559: F= U= E= 0x800x000x0A0x4C0x010x0A0x120x040x0E C= Report(31) S:snmpUsmMIB.usmMIBObjects.usmStats.usmStatsUnknownEngineIDs.0=106
0x0000: 4500 0082 c1d5 0000 4011 9c21 0a12 040e E.......@..!....
0x0010: 0a12 0443 00a1 92b7 006e 3dac 3064 0201 ...C.....n=.0d..
0x0020: 0330 1102 0442 f6ef db02 0300 ffe3 0401 .0...B..........
0x0030: 0002 0103 041c 301a 0409 8000 0a4c 010a ......0......L..
0x0040: 1204 0e02 0101 0204 00d8 8e76 0400 0400 ...........v....
0x0050: 0400 302e 0409 8000 0a4c 010a 1204 0e04 ..0......L......
0x0060: 00a8 1f02 0418 8a52 9202 0100 0201 0030 .......R.......0
0x0070: 1130 0f06 0a2b 0601 0603 0f01 0104 0041 .0...+.........A
0x0080: 016a .j
21:49:43.462489 IP 10.18.4.67.37287 > 10.18.4.14.snmp: F=r U= E= C= GetRequest(14)
0x0000: 4500 005c 0000 4000 4011 1e1d 0a12 0443 E..\..@.@......C
0x0010: 0a12 040e 91a7 00a1 0048 1cce 303e 0201 .........H..0>..
0x0020: 0330 1102 0442 f6ef dd02 0300 ffe3 0401 .0...B..........
0x0030: 0402 0103 0410 300e 0400 0201 0002 0100 ......0.........
0x0040: 0400 0400 0400 3014 0400 0400 a00e 0204 ......0.........
0x0050: 188a 5294 0201 0002 0100 3000 ..R.......0.
21:49:43.463119 IP 10.18.4.14.snmp > 10.18.4.67.37287: F= U= E= 0x800x000x0A0x4C0x010x0A0x120x040x0E C= Report(31) S:snmpUsmMIB.usmMIBObjects.usmStats.usmStatsUnknownEngineIDs.0=107
0x0000: 4500 0082 c1d6 0000 4011 9c20 0a12 040e E.......@.......
0x0010: 0a12 0443 00a1 91a7 006e 3abb 3064 0201 ...C.....n:.0d..
0x0020: 0330 1102 0442 f6ef dd02 0300 ffe3 0401 .0...B..........
0x0030: 0002 0103 041c 301a 0409 8000 0a4c 010a ......0......L..
0x0040: 1204 0e02 0101 0204 00d8 8e76 0400 0400 ...........v....
0x0050: 0400 302e 0409 8000 0a4c 010a 1204 0e04 ..0......L......
0x0060: 00a8 1f02 0418 8a52 9402 0100 0201 0030 .......R.......0
0x0070: 1130 0f06 0a2b 0601 0603 0f01 0104 0041 .0...+.........A
0x0080: 016b .k
21:49:43.644290 IP 10.18.4.67.41297 > 10.18.4.14.snmp: F=r U= E= C= GetRequest(14)
0x0000: 4500 005c 0000 4000 4011 1e1d 0a12 0443 E..\..@.@......C
0x0010: 0a12 040e a151 00a1 0048 1cce 303e 0201 .....Q...H..0>..
0x0020: 0330 1102 0442 f6ef d902 0300 ffe3 0401 .0...B..........
0x0030: 0402 0103 0410 300e 0400 0201 0002 0100 ......0.........
0x0040: 0400 0400 0400 3014 0400 0400 a00e 0204 ......0.........
0x0050: 188a 5290 0201 0002 0100 3000 ..R.......0.
21:49:43.644959 IP 10.18.4.14.snmp > 10.18.4.67.41297: F= U= E= 0x800x000x0A0x4C0x010x0A0x120x040x0E C= Report(31) S:snmpUsmMIB.usmMIBObjects.usmStats.usmStatsUnknownEngineIDs.0=108
0x0000: 4500 0082 c1e0 0000 4011 9c16 0a12 040e E.......@.......
0x0010: 0a12 0443 00a1 a151 006e 3310 3064 0201 ...C...Q.n3.0d..
0x0020: 0330 1102 0442 f6ef d902 0300 ffe3 0401 .0...B..........
0x0030: 0002 0103 041c 301a 0409 8000 0a4c 010a ......0......L..
0x0040: 1204 0e02 0101 0204 00d8 8e76 0400 0400 ...........v....
0x0050: 0400 302e 0409 8000 0a4c 010a 1204 0e04 ..0......L......
0x0060: 00a8 1f02 0418 8a52 9002 0100 0201 0030 .......R.......0
0x0070: 1130 0f06 0a2b 0601 0603 0f01 0104 0041 .0...+.........A
0x0080: 016c .l
[/quote]
Attachments
Screen Shot 2012-09-07 at 9.49.04 PM.png (200.04 KiB) Viewed 6733 times
heckfy
Posts: 6 Joined: Fri Sep 07, 2012 10:41 pm
Post
by heckfy » Sat Sep 08, 2012 12:30 am
Here is debug info:
Good query:
Code: Select all
[root@cacti ~]# snmpwalk -v3 -u nagios -l AuthPriv -a SHA -A XXXXX -x AES -X XXXXXX 10.18.4.14 sysuptime
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1419446908) 164 days, 6:54:29.08
[root@cacti ~]#
switch side debug:
Code: Select all
[quote]rnm@lab-jnpr-core2# Jan 3 18:59:19 snmpd[52831bfd] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 18:59:19 snmpd[52831bfd] >>> Report-PDU
Jan 3 18:59:19 snmpd[52831bfd] >>> Source: 10.18.4.67
Jan 3 18:59:19 snmpd[52831bfd] >>> Destination: 10.18.4.14
Jan 3 18:59:19 snmpd[52831bfd] >>> Version: SNMPv3
Jan 3 18:59:19 snmpd[52831bfd] >>> Security Parameters:
Jan 3 18:59:19 snmpd[52831bfd] >>> SecModel: USM
Jan 3 18:59:19 snmpd[52831bfd] >>> EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 18:59:19 snmpd[52831bfd] >>> User:
Jan 3 18:59:19 snmpd[52831bfd] >>> EngBoots: 1 EngTime: 14194469
Jan 3 18:59:19 snmpd[52831bfd] >>> Request_id: 0x52831bfd
Jan 3 18:59:19 snmpd[52831bfd] >>> Error: status=0 / vb_index=0
Jan 3 18:59:19 snmpd[52831bfd] >>> OID : usmStatsUnknownEngineIDs.0
Jan 3 18:59:19 snmpd[52831bfd] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 18:59:19 snmpd[52831bfc] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 18:59:19 snmpd[52831bfc] >>> Get-Next-Request
Jan 3 18:59:19 snmpd[52831bfc] >>> Source: 10.18.4.67
Jan 3 18:59:19 snmpd[52831bfc] >>> Destination: 10.18.4.14
Jan 3 18:59:19 snmpd[52831bfc] >>> Version: SNMPv3
Jan 3 18:59:19 snmpd[52831bfc] >>> Security Parameters:
Jan 3 18:59:19 snmpd[52831bfc] >>> SecModel: USM
Jan 3 18:59:19 snmpd[52831bfc] >>> EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 18:59:19 snmpd[52831bfc] >>> User: nagios
Jan 3 18:59:19 snmpd[52831bfc] >>> EngBoots: 1 EngTime: 14194469
Jan 3 18:59:19 snmpd[52831bfc] >>> Request_id: 0x52831bfc
Jan 3 18:59:19 snmpd[52831bfc] >>> Error: status=0 / vb_index=0
Jan 3 18:59:19 snmpd[52831bfc] >>> OID : sysUpTime
Jan 3 18:59:19 snmpd[52831bfc] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 18:59:19 snmpd[52831bfc] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Jan 3 18:59:19 snmpd[52831bfc] <<< Get-Response
Jan 3 18:59:19 snmpd[52831bfc] <<< Source: 10.18.4.67
Jan 3 18:59:19 snmpd[52831bfc] <<< Destination: 10.18.4.14
Jan 3 18:59:19 snmpd[52831bfc] <<< Version: SNMPv3
Jan 3 18:59:19 snmpd[52831bfc] <<< Security Parameters:
Jan 3 18:59:19 snmpd[52831bfc] <<< SecModel: USM
Jan 3 18:59:19 snmpd[52831bfc] <<< EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 18:59:19 snmpd[52831bfc] <<< User: nagios
Jan 3 18:59:19 snmpd[52831bfc] <<< EngBoots: 1 EngTime: 14194469
Jan 3 18:59:19 snmpd[52831bfc] <<< Request_id: 0x52831bfc
Jan 3 18:59:19 snmpd[52831bfc] <<< Error: status=0 / vb_index=0
Jan 3 18:59:19 snmpd[52831bfc] <<< OID : sysUpTime.0
Jan 3 18:59:19 snmpd[52831bfc] <<< type : TimeTicks
Jan 3 18:59:19 snmpd[52831bfc] <<< value: (1419446908) 3942:54:29.08
Jan 3 18:59:19 snmpd[52831bfc] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[/quote]
And debug after cacti query:
Code: Select all
rnm@lab-jnpr-core2# Jan 3 19:00:53 ip_track_arp_addresses: rnhm_ifindex: 7, rnhm_af: 2, rtsm_op: 2, rnhm_index: 353, rnhm_nhtype: 2
Jan 3 19:00:53 good_rnhm: bad rnhm_devtype (34), rnhm_index: 353
Jan 3 19:01:02 snmpd[188a52a6] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:01:02 snmpd[188a52a6] >>> Report-PDU
Jan 3 19:01:02 snmpd[188a52a6] >>> Source: 10.18.4.67
Jan 3 19:01:02 snmpd[188a52a6] >>> Destination: 10.18.4.14
Jan 3 19:01:02 snmpd[188a52a6] >>> Version: SNMPv3
Jan 3 19:01:02 snmpd[188a52a6] >>> Security Parameters:
Jan 3 19:01:02 snmpd[188a52a6] >>> SecModel: USM
Jan 3 19:01:02 snmpd[188a52a6] >>> EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 19:01:02 snmpd[188a52a6] >>> User:
Jan 3 19:01:02 snmpd[188a52a6] >>> EngBoots: 1 EngTime: 14194572
Jan 3 19:01:02 snmpd[188a52a6] >>> Request_id: 0x188a52a6
Jan 3 19:01:02 snmpd[188a52a6] >>> Error: status=0 / vb_index=0
Jan 3 19:01:02 snmpd[188a52a6] >>> OID : usmStatsUnknownEngineIDs.0
Jan 3 19:01:02 snmpd[188a52a6] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:01:02 snmpd[188a52a8] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:01:02 snmpd[188a52a8] >>> Report-PDU
Jan 3 19:01:02 snmpd[188a52a8] >>> Source: 10.18.4.67
Jan 3 19:01:02 snmpd[188a52a8] >>> Destination: 10.18.4.14
Jan 3 19:01:02 snmpd[188a52a8] >>> Version: SNMPv3
Jan 3 19:01:02 snmpd[188a52a8] >>> Security Parameters:
Jan 3 19:01:02 snmpd[188a52a8] >>> SecModel: USM
Jan 3 19:01:02 snmpd[188a52a8] >>> EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 19:01:02 snmpd[188a52a8] >>> User:
Jan 3 19:01:02 snmpd[188a52a8] >>> EngBoots: 1 EngTime: 14194572
Jan 3 19:01:02 snmpd[188a52a8] >>> Request_id: 0x188a52a8
Jan 3 19:01:02 snmpd[188a52a8] >>> Error: status=0 / vb_index=0
Jan 3 19:01:02 snmpd[188a52a8] >>> OID : usmStatsUnknownEngineIDs.0
Jan 3 19:01:02 snmpd[188a52a8] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:01:02 snmpd[188a52aa] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:01:02 snmpd[188a52aa] >>> Report-PDU
Jan 3 19:01:02 snmpd[188a52aa] >>> Source: 10.18.4.67
Jan 3 19:01:02 snmpd[188a52aa] >>> Destination: 10.18.4.14
Jan 3 19:01:02 snmpd[188a52aa] >>> Version: SNMPv3
Jan 3 19:01:02 snmpd[188a52aa] >>> Security Parameters:
Jan 3 19:01:02 snmpd[188a52aa] >>> SecModel: USM
Jan 3 19:01:02 snmpd[188a52aa] >>> EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 19:01:02 snmpd[188a52aa] >>> User:
Jan 3 19:01:02 snmpd[188a52aa] >>> EngBoots: 1 EngTime: 14194572
Jan 3 19:01:02 snmpd[188a52aa] >>> Request_id: 0x188a52aa
Jan 3 19:01:02 snmpd[188a52aa] >>> Error: status=0 / vb_index=0
Jan 3 19:01:02 snmpd[188a52aa] >>> OID : usmStatsUnknownEngineIDs.0
Jan 3 19:01:02 snmpd[188a52aa] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Looks like it's not getting the User field somehow.
heckfy
Posts: 6 Joined: Fri Sep 07, 2012 10:41 pm
Post
by heckfy » Sat Sep 08, 2012 12:33 am
And here is the snmpwalk version of the query shown in cacti debug:
Code: Select all
[root@cacti ~]# snmpwalk -v3 -u nagios -l AuthPriv -a SHA -A XXXX -x AES -X XXXX 10.18.4.14 .1.3.6.1.2.1.2.1.0
IF-MIB::ifNumber.0 = INTEGER: 141
[root@cacti ~]#
Code: Select all
rnm@lab-jnpr-core2# Jan 3 19:03:40 snmpd[68a2016b] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:03:40 snmpd[68a2016b] >>> Report-PDU
Jan 3 19:03:40 snmpd[68a2016b] >>> Source: 10.18.4.67
Jan 3 19:03:40 snmpd[68a2016b] >>> Destination: 10.18.4.14
Jan 3 19:03:40 snmpd[68a2016b] >>> Version: SNMPv3
Jan 3 19:03:40 snmpd[68a2016b] >>> Security Parameters:
Jan 3 19:03:40 snmpd[68a2016b] >>> SecModel: USM
Jan 3 19:03:40 snmpd[68a2016b] >>> EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 19:03:40 snmpd[68a2016b] >>> User:
Jan 3 19:03:40 snmpd[68a2016b] >>> EngBoots: 1 EngTime: 14194730
Jan 3 19:03:40 snmpd[68a2016b] >>> Request_id: 0x68a2016b
Jan 3 19:03:40 snmpd[68a2016b] >>> Error: status=0 / vb_index=0
Jan 3 19:03:40 snmpd[68a2016b] >>> OID : usmStatsUnknownEngineIDs.0
Jan 3 19:03:40 snmpd[68a2016b] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:03:40 snmpd[68a2016a] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:03:40 snmpd[68a2016a] >>> Get-Next-Request
Jan 3 19:03:40 snmpd[68a2016a] >>> Source: 10.18.4.67
Jan 3 19:03:40 snmpd[68a2016a] >>> Destination: 10.18.4.14
Jan 3 19:03:40 snmpd[68a2016a] >>> Version: SNMPv3
Jan 3 19:03:40 snmpd[68a2016a] >>> Security Parameters:
Jan 3 19:03:40 snmpd[68a2016a] >>> SecModel: USM
Jan 3 19:03:40 snmpd[68a2016a] >>> EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 19:03:40 snmpd[68a2016a] >>> User: nagios
Jan 3 19:03:40 snmpd[68a2016a] >>> EngBoots: 1 EngTime: 14194730
Jan 3 19:03:40 snmpd[68a2016a] >>> Request_id: 0x68a2016a
Jan 3 19:03:40 snmpd[68a2016a] >>> Error: status=0 / vb_index=0
Jan 3 19:03:40 snmpd[68a2016a] >>> OID : ifNumber.0
Jan 3 19:03:40 snmpd[68a2016a] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:03:40 snmpd[68a2016a] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Jan 3 19:03:40 snmpd[68a2016a] <<< Get-Response
Jan 3 19:03:40 snmpd[68a2016a] <<< Source: 10.18.4.67
Jan 3 19:03:40 snmpd[68a2016a] <<< Destination: 10.18.4.14
Jan 3 19:03:40 snmpd[68a2016a] <<< Version: SNMPv3
Jan 3 19:03:40 snmpd[68a2016a] <<< Security Parameters:
Jan 3 19:03:40 snmpd[68a2016a] <<< SecModel: USM
Jan 3 19:03:40 snmpd[68a2016a] <<< EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 19:03:40 snmpd[68a2016a] <<< User: nagios
Jan 3 19:03:40 snmpd[68a2016a] <<< EngBoots: 1 EngTime: 14194730
Jan 3 19:03:40 snmpd[68a2016a] <<< Request_id: 0x68a2016a
Jan 3 19:03:40 snmpd[68a2016a] <<< Error: status=0 / vb_index=0
Jan 3 19:03:40 snmpd[68a2016a] <<< OID : ifIndex.4
Jan 3 19:03:40 snmpd[68a2016a] <<< type : Number
Jan 3 19:03:40 snmpd[68a2016a] <<< value: 4
Jan 3 19:03:40 snmpd[68a2016a] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Jan 3 19:03:40 snmpd[68a2016c] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:03:40 snmpd[68a2016c] >>> Get-Request
Jan 3 19:03:40 snmpd[68a2016c] >>> Source: 10.18.4.67
Jan 3 19:03:40 snmpd[68a2016c] >>> Destination: 10.18.4.14
Jan 3 19:03:40 snmpd[68a2016c] >>> Version: SNMPv3
Jan 3 19:03:40 snmpd[68a2016c] >>> Security Parameters:
Jan 3 19:03:40 snmpd[68a2016c] >>> SecModel: USM
Jan 3 19:03:40 snmpd[68a2016c] >>> EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 19:03:40 snmpd[68a2016c] >>> User: nagios
Jan 3 19:03:40 snmpd[68a2016c] >>> EngBoots: 1 EngTime: 14194730
Jan 3 19:03:40 snmpd[68a2016c] >>> Request_id: 0x68a2016c
Jan 3 19:03:40 snmpd[68a2016c] >>> Error: status=0 / vb_index=0
Jan 3 19:03:40 snmpd[68a2016c] >>> OID : ifNumber.0
Jan 3 19:03:40 snmpd[68a2016c] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Jan 3 19:03:40 snmpd[68a2016c] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Jan 3 19:03:40 snmpd[68a2016c] <<< Get-Response
Jan 3 19:03:40 snmpd[68a2016c] <<< Source: 10.18.4.67
Jan 3 19:03:40 snmpd[68a2016c] <<< Destination: 10.18.4.14
Jan 3 19:03:40 snmpd[68a2016c] <<< Version: SNMPv3
Jan 3 19:03:40 snmpd[68a2016c] <<< Security Parameters:
Jan 3 19:03:40 snmpd[68a2016c] <<< SecModel: USM
Jan 3 19:03:40 snmpd[68a2016c] <<< EngId: 80 00 0a 4c 01 0a 12 04 0e
Jan 3 19:03:40 snmpd[68a2016c] <<< User: nagios
Jan 3 19:03:40 snmpd[68a2016c] <<< EngBoots: 1 EngTime: 14194730
Jan 3 19:03:40 snmpd[68a2016c] <<< Request_id: 0x68a2016c
Jan 3 19:03:40 snmpd[68a2016c] <<< Error: status=0 / vb_index=0
Jan 3 19:03:40 snmpd[68a2016c] <<< OID : ifNumber.0
Jan 3 19:03:40 snmpd[68a2016c] <<< type : Number
Jan 3 19:03:40 snmpd[68a2016c] <<< value: 141
Jan 3 19:03:40 snmpd[68a2016c] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Jan 3 19:03:53 ip_track_arp_addresses: rnhm_ifindex: 7, rnhm_af: 2, rtsm_op: 2, rnhm_index: 343, rnhm_nhtype: 2
Jan 3 19:03:53 good_rnhm: bad rnhm_devtype (34), rnhm_index: 343
Jan 3 19:04:13 ip_track_arp_addresses: rnhm_ifindex: 7, rnhm_af: 2, rtsm_op: 2, rnhm_index: 356, rnhm_nhtype: 2
Jan 3 19:04:13 good_rnhm: bad rnhm_devtype (34), rnhm_index: 356
Jan 3 19:04:21 ip_track_arp_addresses: rnhm_ifindex: 7, rnhm_af: 2, rtsm_op: 2, rnhm_index: 334, rnhm_nhtype: 2
Jan 3 19:04:21 good_rnhm: bad rnhm_devtype (34), rnhm_index: 334
heckfy
Posts: 6 Joined: Fri Sep 07, 2012 10:41 pm
Post
by heckfy » Tue Sep 11, 2012 10:47 am
Ok, the problem has been resolved. Apparently CentOS 5.8 comes with php 5.1 which doesn't work well with SNMP v3. Upgrading to PHP 5.3.3 solved the problem.
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Fri Sep 14, 2012 2:27 pm
Yeah, there has been significant improvement on php-snmp since then. Thx to BorisL
R.
Users browsing this forum: No registered users and 2 guests