Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
+ Running data query [15].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/pfstatetable.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.12325.1.200.1.3'
+ Inserting index data [value='.1.3.6.1.4.1.12325.1.200.1.3.1.0']
+ Inserting index data [value='.1.3.6.1.4.1.12325.1.200.1.3.2.0']
+ Inserting index data [value='.1.3.6.1.4.1.12325.1.200.1.3.3.0']
+ Inserting index data [value='.1.3.6.1.4.1.12325.1.200.1.3.4.0']
+ Located input field 'Count' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.12325.1.200.1.3.1.0'
+ Found item [Count='19'] index: .1.3.6.1.4.1.12325.1.200.1.3.1.0 [from value]
+ Located input field 'Searches' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.12325.1.200.1.3.2.0'
+ Found item [Searches='3409556'] index: .1.3.6.1.4.1.12325.1.200.1.3.2.0 [from value]
+ Located input field 'Inserts' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.12325.1.200.1.3.3.0'
+ Found item [Inserts='174162'] index: .1.3.6.1.4.1.12325.1.200.1.3.3.0 [from value]
+ Located input field 'Removals' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.12325.1.200.1.3.4.0'
+ Found item [Removals='174141'] index: .1.3.6.1.4.1.12325.1.200.1.3.4.0 [from value]
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/pfstatetable.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/pfstatetable.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/pfstatetable.xml'
Check out the jpeg, that is what i see when i create graphs for that Data Query. I'm thinking its some kind of problem with the index not being picked up correctly but i've been fighting this off and on for a few days now. Any help anyone can offer would be great.
oh btw this is the error once i pick those 4 and click create
Notice: Undefined index: sgg_15 in /usr/local/share/cacti/graphs_new.php on line 71
Notice: Undefined index: sgg_15 in /usr/local/share/cacti/graphs_new.php on line 71
Notice: Undefined index: sgg_15 in /usr/local/share/cacti/graphs_new.php on line 71
Notice: Undefined index: sgg_15 in /usr/local/share/cacti/graphs_new.php on line 71
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/cacti/graphs_new.php:71) in /usr/local/share/cacti/graphs_new.php on line 310
This is a case where you shouldn't use a data query. But you might have to for the regex stuff.
What is the root of the OID tree of values you are trying to query? .1.3.6.1.4.1.12325.1.200.1? or .1.3.6.1.4.1.12325.1.200.1.3?
I'm assuming that .3 is the index value of this tree of items. I can only guess with out seeing a walk of the parent object.
As for the data query, well, the fact that the values are not all lined up leads me to believe that you are using the wrong index for the values. A data query is used to get a list of items that change per host. If this list doesn't change, other than the values, then this is not a case where a data query would apply.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
ok, so no data query. Does that mean i can't use the xml file at all? Not a problem if so, i'm just not real clear on where to go from here. btw pf is a firewall package if that isn't clear (came from OpenBSD also ships in FreeBSD).
It looks like .3 is the root for this branch (or whatever the snmp term is)
pfStateTable OBJECT IDENTIFIER ::= { begemotPfObjects 3 }
I don't have access to do a 2nd snmpwalk from where i'm at so i'll do that latter tonight but maybe this can answer your question.
This is a clip of from the mib and the statetable tree. It should define
.200.1.3.[1-4]