Hello togheter
i'm searching for hours for a solution but i don't know how to do that..
i try to get the cdp neighbors via a snmp query in a php script. the OID is:
.1.3.6.1.4.1.9.9.23.1.2.1.1.6.101*.**
* = interface number
** = cached number
the problem is, that every time i plug a cable in, the cached number counts up. so i don't have a excplicit OID which i can query.
here's my php code:
print (snmpget('192.168.0.24','***','.1.3.6.1.4.1.9.9.23.1.2.1.1.6.10108.2', '300'));
hope somebody could understand my problem...
thank you and greez
i'm searching for hours for a solution but i don't know how to do that..
i try to get the cdp neighbors via a snmp query in a php script. the OID is:
.1.3.6.1.4.1.9.9.23.1.2.1.1.6.101*.**
* = interface number
** = cached number
the problem is, that every time i plug a cable in, the cached number counts up. so i don't have a excplicit OID which i can query.
here's my php code:
print (snmpget('192.168.0.24','***','.1.3.6.1.4.1.9.9.23.1.2.1.1.6.10108.2', '300'));
hope somebody could understand my problem...
thank you and greez