I'm struggling with cli way of adding new graphs to the tree. I tried "php add_tree.php --type=node --node-type=graph --tree-id=1 --graph-id=326".
It returned me "Added Node node-id: (405)". But there's no new graphs in expected place. tree-id and graph-id was specified definitely right.
However I can see newly added graph in configuration mode in "Graph Trees" menu (Console -> Graph Trees), but it doesn't have name(last two graphs, see attachement)
I also tried to add graphs in usual way - it works well, so problem occures only when I use cli. Logs are clean.
Any help would be appreciated, thanks in advance.
Cacti Version - 0.8.7e
Plugin Architecture - 2.6
Poller Type - CMD.php
Server Info - Linux 2.6.18-128.1.10.el5
Web Server - Apache/2.2.3 (CentOS)
PHP - 5.2.5
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, SPL, shmop, standard, Reflection, posix, iconv, hash, gmp, gettext, ftp, filter, exif, date, curl, ctype, calendar, bz2, zlib, openssl, apache2handler, bcmath, dbase, gd, imap, json, mbstring, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, zip
MySQL - 5.1.41-3ubuntu12.3
RRDTool - 1.4.4
SNMP - 5.3.2.2
Plugins
- Thresholds (thold - v0.4.1)
Host Info (hostinfo - v0.2)
Network Tools (tools - v0.3)
Device Monitoring (monitor - v0.8.2)
Create Aggregate Graphs (aggregate - v0.74)
PHP Network Weathermap (weathermap - v0.97a)
Realtime Graph Viewer (realtime - v0.43)