Hi everybody,
(Sorry for my mistakes I don't write English very well)
I have a problem with a graph creation...
I run Cacti 0.8.7b on Ubuntu 8.10 in Virtualbox (last version of php, apache, mysql). I have created a Data Query with an XML file, in order to get OIDs located in table (in a private MIB), because if I try to get it with the generic OID Template it doesn't work...
This query works fine and I have the result expected when I run a verbose query. But when I want to graph this query, this text is displayed:
-------------------------------------------------------
Notice: Undefined index: sgg_11 in /usr/share/cacti/site/graphs_new.php on line 71
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/graphs_new.php:71) in /usr/share/cacti/site/graphs_new.php on line 323
-------------------------------------------------------
PS: I haven't this problem with the other graphs and i follow this tuto:http://docs.cacti.net/?q=node/227
Thank you for your help.
Error in graph creation
Moderators: Developers, Moderators
Too late! I've found a solution
So, my aim was to graph few OIDs included in a table ,in a private MIB. If you try to do snmpget or snmpwalk on the OID table, it will not work.
The following command help me to find which OID I'm looking for:
snmpwalk -c <community> -v 1 -On <host_ip> <host_MIB_name>::<table_name>|more
When I found the specific OID, I just graph it with the generic OID template.
Now, I have another problem with my OID graph. When I set my OID, the value is not the same when the graph is updated...
Ex: initial value in graph: 1k. I set the OID to 500. When the graph is updated 5 mn after, the value is 0.66k... Sometimes it seems to change to the correct value if I play with the presets or if I don't update the graphes page myself.
So, my aim was to graph few OIDs included in a table ,in a private MIB. If you try to do snmpget or snmpwalk on the OID table, it will not work.
The following command help me to find which OID I'm looking for:
snmpwalk -c <community> -v 1 -On <host_ip> <host_MIB_name>::<table_name>|more
When I found the specific OID, I just graph it with the generic OID template.
Now, I have another problem with my OID graph. When I set my OID, the value is not the same when the graph is updated...
Ex: initial value in graph: 1k. I set the OID to 500. When the graph is updated 5 mn after, the value is 0.66k... Sometimes it seems to change to the correct value if I play with the presets or if I don't update the graphes page myself.
Who is online
Users browsing this forum: No registered users and 2 guests