Hi,
I am trying to add graphs using the add_graphs.php CLI utility as I need to create like 500 graphs and in a normal way its quite time consuming ....
I tried the following
php -q add_graphs.php --host-id=80 --graph-type=cg --graph-template-id=148
The graphs were added but I wasn't able to see any graph title in the graph management,
Then I tried some of the following commands to work more on it , but its not working..
php -q add_graphs.php --host-id=80 --list-snmp-queries
Response : Known SNMP Fields for host-id 80: (name)
I have created the graph template along with the data sources, I tried using graph-type=ds, but then its asking for all the snmp input fields. I am using the "Data Input method" as GET SNMP data
And when I try using the following command :
php -q add_graphs.php --list-imput-fields --graph-template-id=148
It gives me an error stating Invalid Argument...
Can anyone help me with this ?
BR//
Docs or example required for the scripts available in CLI
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Docs or example required for the scripts available in CL
Please refer to http://docs.cacti.net/manual:087:6_refe ... ne_scripts for help. In case you get an error, please post exact command used and complete error message
R.
R.
Who is online
Users browsing this forum: No registered users and 0 guests