Hi all,
I've installed the CACTI and using it to monitor service access points (routers subinterface). I'm using Data Query and Get SNMP Data (Indexed) to succeed it. Nowadays I realised that, it is not allowing me to create new graph. I tried to disassociate and reassociate the Device with DataQuery, but it still doesnt allow me.
The following Screenshots of my new try to create are attached:
1- Devices->Create Graph for this host->select checkbox->Create
2- The result of creation (It looks like created, but it doent gives me name for graph that is created)
3- Search result from Data Source (It looks like new data dource is created)
4- Search result from Graph Management (No any Graph looks like created, the problem is here!!!)
I've checked the following:
- Cacti log looks normal, there is no any Error or Warning. I even tried to enable debugging during creation, but it still doesn't showed me any Error or Warning.
- I tried device reachability, snmpwalk, and all they looks OK.
There is no any updating problem at old graphs, they all are fine.
Because I cannot see any log anywhere, I could not pinpoint the reason, please help.
Thanks,
Cannot add new graph using using Get SNMP Data Indexed
Moderators: Developers, Moderators
Re: Cannot add new graph using GUI or add_graphs.php
I tried to add the graph via CLI scripts af following:
It looks like created, and doesnt allow me to create the same whenever I use te script again:
I searched the graph in MySQL, but I cannot find it.
Please help to pinpoint the problem?
Code: Select all
[root@cactimonp00 appuser]# php -q /var/lib/cacti/cli/add_graphs.php --host-id=66 --graph-type=ds --graph-template-id=47 --snmp-query-id=17 --snmp-query-type-id=29 --snmp-field=sap_description --snmp-value=Thirdparty_OAM_1/2/13
Graph Added - graph-id: (11341) - data-source-ids: (11328, 11328)
[root@cactimonp00 appuser]#
Code: Select all
[root@cactimonp00 appuser]# php -q /var/lib/cacti/cli/add_graphs.php --host-id=66 --graph-type=ds --graph-template-id=47 --snmp-query-id=17 --snmp-query-type-id=29 --snmp-field=sap_description --snmp-value=Thirdparty_OAM_1/2/13
NOTE: Not Adding Graph - this graph already exists - graph-id: (11341) - data-source-id: ()
[root@cactimonp00 appuser]#
I searched the graph in MySQL, but I cannot find it.
Code: Select all
mysql> SELECT local_data_id FROM data_template_rrd, graph_templates_item WHERE data_template_rrd.id = graph_templates_item.task_item_id AND graph_templates_item.local_graph_id = 11341 LIMIT 1;
Empty set (0.00 sec)
mysql>
Please help to pinpoint the problem?
Who is online
Users browsing this forum: No registered users and 6 guests