I don't know what the problem is

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
husongbo
Posts: 4
Joined: Mon Nov 07, 2011 4:53 am

I don't know what the problem is

Post by husongbo »

I made a state of BGP monitoring templates, but not graphs 。i don't know that what problem is ?

this‘s xml code

<bgp>
<name>Get SNMP BGP</name>
<description>Queries a host for BGP </description>
<oid_index>.1.3.6.1.2.1.15.3.1.5</oid_index>
<index_order>RemoteAddr:RemoteAs</index_order>
<index_order_type>numeric</index_order_type>

<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.15.3.1.5</oid>
</Index>
<RemoteAddr>
<name>RemoteAddr</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.15.3.1.7</oid>
</RemoteAddr>
<RemoteAs>
<name>RemoteAs</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.15.3.1.9</oid>
</RemoteAs>
<InUpdates>
<name>InUpdates</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.15.3.1.10</oid>
</InUpdates>
<OutUpdates>
<name>OutUpdates</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.15.3.1.11</oid>
</OutUpdates>
<State>
<name>State</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.15.3.1.2</oid>
</State>
</fields>
</bgp>
Attachments
graph-2.jpg
graph-2.jpg (65.9 KiB) Viewed 762 times
graph-1.jpg
graph-1.jpg (71.17 KiB) Viewed 762 times
data.jpg
data.jpg (90.84 KiB) Viewed 762 times
date_debug.jpg
date_debug.jpg (93.18 KiB) Viewed 762 times
show.jpg
show.jpg (13.23 KiB) Viewed 762 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: I don't know what the problem is

Post by gandalf »

Please provide a walk for .1.3.6.1.2.1.15.3.1
R.
husongbo
Posts: 4
Joined: Mon Nov 07, 2011 4:53 am

Re: I don't know what the problem is

Post by husongbo »

gandalf wrote:Please provide a walk for .1.3.6.1.2.1.15.3.1
R.

[root@cacti]# snmpwalk -v 2c -c abc 10.253.192.1 1.3.6.1.2.1.15.3.1.2
SNMPv2-SMI::mib-2.15.3.1.2.10.250.0.33 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.192.2 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.192.5 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.192.6 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.192.7 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.192.8 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.192.9 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.193.46 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.193.54 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.193.62 = INTEGER: 6
SNMPv2-SMI::mib-2.15.3.1.2.10.253.193.70 = INTEGER: 1
SNMPv2-SMI::mib-2.15.3.1.2.10.253.193.78 = INTEGER: 1
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: I don't know what the problem is

Post by gandalf »

So the index looks like an IP@. To catch that, use OID/REGEXP parse. See 1st link of my sig and search the forums for examples
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest