But; For this example Let's take interfaces:
snmpwalk -v2c -c {community} {ip}
From that output I get:
IF-MIB::ifNumber.0 = INTEGER: 3
Which tells me I have 3 interfaces
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.65539 = INTEGER: 65539
IF-MIB::ifIndex.131076 = INTEGER: 131076
IF-MIB::ifDescr.1 = STRING: MS TCP Loopback interface
IF-MIB::ifDescr.65539 = STRING: Intel(R) PRO/1000 MT Network Connection
IF-MIB::ifDescr.131076 = STRING: vmxnet3 Ethernet Adapter
Which tells me that I have 3 interfaces that I'd like to monitor.
I know that there are 3 that I'm interested in, and I also know that the ifIndex is 1, 65539 & 131076. I also know that the locations of the stuff I'm intesrested in is:
IF-MIB::ifInOctets.1 = Counter32: 2304721
IF-MIB::ifInOctets.65539 = Counter32: 1311814802
IF-MIB::ifInOctets.131076 = Counter32: 17647
We'll just say InOctets for Right now.
So - In Cacti I say 'go query interfaces & give me data on them'. I understand enough about zabbix currently that I need to do something dynamic, but I'm curious what the 'proper' way is, as i'm sure I'm not thinking in 100% zabbix mentality just yet.
Thanks for any input
snmpwalk -v2c -c {community} {ip}
From that output I get:
IF-MIB::ifNumber.0 = INTEGER: 3
Which tells me I have 3 interfaces
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.65539 = INTEGER: 65539
IF-MIB::ifIndex.131076 = INTEGER: 131076
IF-MIB::ifDescr.1 = STRING: MS TCP Loopback interface
IF-MIB::ifDescr.65539 = STRING: Intel(R) PRO/1000 MT Network Connection
IF-MIB::ifDescr.131076 = STRING: vmxnet3 Ethernet Adapter
Which tells me that I have 3 interfaces that I'd like to monitor.
I know that there are 3 that I'm interested in, and I also know that the ifIndex is 1, 65539 & 131076. I also know that the locations of the stuff I'm intesrested in is:
IF-MIB::ifInOctets.1 = Counter32: 2304721
IF-MIB::ifInOctets.65539 = Counter32: 1311814802
IF-MIB::ifInOctets.131076 = Counter32: 17647
We'll just say InOctets for Right now.
So - In Cacti I say 'go query interfaces & give me data on them'. I understand enough about zabbix currently that I need to do something dynamic, but I'm curious what the 'proper' way is, as i'm sure I'm not thinking in 100% zabbix mentality just yet.
Thanks for any input
Comment