Lojak wrote:
I'm having difficulty with your latest version. When adding the associated data query to either a 7206 or 6506, the process just hangs. After a while the HTTP request times out and I can see that the query has been added to the device, but the query returned 0 rows.
Hi,
It's strange because I have just tested again my script and it works !
Cacti returns "Success [75 Items, 25 Rows]" when I'm adding the Associated Data Queries.
Lojak wrote:
Running the ss_host_mac.php script manually as per the readme.txt file returns the expected information for the main index command, but every other command returns duplicates of each peer. I also do not see anything for the query in/out commands:
Cisco 7206 running IOS v12.4
On a 6506, the peer is not duplicated, but it does not return anything for in/out and the process also hangs.
I'm running IOS v12.2. What about :
% /usr/bin/php ./ss_host_mac.php N.N.N.N 0 "2:161:10:SNMP_STRING:::[MD5]:None" query in
% /usr/bin/php ./ss_host_mac.php N.N.N.N 0 "2:161:10:SNMP_STRING:::[MD5]:None" query out
Does Cacti return you some values like :
10.11.12.1!3276838592
10.11.12.2!1299632083
10.11.12.3!1181788175
10.11.12.6!489124051
10.11.12.9!1545992878
10.11.12.10!884392037
10.11.12.12!3228375103
10.11.12.14!109308465
10.11.12.15!2506033437
Try with snmpwalk :
% snmpwalk -v 2c -c SNMP_STRING N.N.N.N 1.3.6.1.4.1.9.9.84.1.2.1.1.4
Have you got some values from snmpwalk ?