Hello everybody, I have been trying cacti for a few days but I'm a little dissapointed now.
Actually I downloaded an XML from here and I paste it here:
<interface>
<name>Get Allot Pipe information</name>
<description>Get SNMP based Pipe Information</description>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.4.1.2603.1.2.1.1.1</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
<fields>
<pipePosition>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.1</oid>
</pipePosition>
<pipeName>
<name>Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.3</oid>
</pipeName>
<pipeByteCountIn>
<name>pipeByteCountIn</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.4</oid>
</pipeByteCountIn>
<pipeByteCountOut>
<name>pipeByteCountOut</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.5</oid>
</pipeByteCountOut>
<pipeByteCountTotal>
<name>pipeByteCountTotal</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.6</oid>
</pipeByteCountTotal>
<pipeLiveConnections>
<name>pipeLiveConnections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.7</oid>
</pipeLiveConnections>
<pipeNewConnections>
<name>pipeNewConnections</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.8</oid>
</pipeNewConnections>
<pipePacketsIn>
<name>pipePacketsIn</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.9</oid>
</pipePacketsIn>
<pipePacketsOut>
<name>pipePacketsOut</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.10</oid>
</pipePacketsOut>
<pipePacketsTotal>
<name>pipePacketsTotal</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2603.1.2.1.1.1.11</oid>
</pipePacketsTotal>
</fields>
</interface>
I can see the fields but when i try to graph something cacti is giving me this:
+ Running data query [17].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/allot-pipe.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2603.1.2.1.1.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/resource/snmp_queries/allot-pipe.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/allot-pipe.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/allot-pipe.xml'
Another thing I noticed is that, if I do snmpwalk from my CentOS server, it works! But when I do the same from the cacti smnpwalk tool, I am just getting anything.
By the way, I know that cacti is not taking the actual OIDs i have in my NetEnforcer box, it changes. For example, I have 13 pipes declared with alleatory values, but my server just take them from 1 to 13 values.
Please help, i only could graph the SNMP interface statistics of my NetEnforcer (Internal, external and mgmnt).
Thanks
Urgent help to graph in NetEnforcer
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 0 guests