Search found 19 matches

by Epx998
Wed Aug 15, 2012 12:23 pm
Forum: Feature Requests
Topic: add_grapgs.php + multiple output fields.
Replies: 1
Views: 1350

add_grapgs.php + multiple output fields.

Hi Developers, I have run into a limitation with add_graphs.php. It seems, when you run the command, you cannot do 3 things; Specify the data source name Specify the internal data source name Specify a specific output field The way we have set out data_input_methods is, we use a single script to gat...
by Epx998
Wed Aug 15, 2012 12:17 pm
Forum: Help: General
Topic: rrd files not being created?
Replies: 3
Views: 658

Re: rrd files not being created?

My output fields in the data_input_method didn't 100% match what Cacti was expecting. It's design problem with the add_graphs utility.
by Epx998
Tue Aug 14, 2012 12:01 pm
Forum: Help: General
Topic: rrd files not being created?
Replies: 3
Views: 658

Re: rrd files not being created?

It isn't the directory permissions, I have many other metrics graphing. I am just working on using the add_graphs.php to add my graphing and ran into the wall of not being able to specify my internal datasource name. I created a new set of templates where I preset the internal ds, however the rrd's ...
by Epx998
Mon Aug 13, 2012 2:27 pm
Forum: Help: General
Topic: rrd files not being created?
Replies: 3
Views: 658

rrd files not being created?

I am creating graphs for a script/command metric; I see that the data input methods are working; 08/13/2012 07:20:51 PM - CMDPHP: Poller[0] Host[11] DS[1435] CMD: /usr/local/nagios/libexec/check_nrpe -H my.hostname.com -p 5666 -c check_pegcount_cacti -a my.hostname.com 12115 Consumer-ForwardingFaile...
by Epx998
Fri Aug 10, 2012 11:11 pm
Forum: Help: General
Topic: add data source CLI script
Replies: 13
Views: 6755

Re: add data source CLI script

I am running into a similar issue myself. I need to have a unique internal datasource name when I add graphs from the add_graphs.php cli, any chance this has been addressed in 0.88, or if there is a work around that will allow me to do this without using the gui?
by Epx998
Fri Aug 10, 2012 6:06 pm
Forum: Help: Linux/Unix Specific
Topic: add_graph.php using cg type.
Replies: 4
Views: 998

Re: add_graph.php using gs type.

It isn't the internal datasource name I need to specify, its the friendly name for the datasouce, without it, the datasource menu shows a blank entry with no hyperlink active. you can still edit it IF, you note the datasource ID, open up a good ds and replace the ID in the url, to the one that has n...
by Epx998
Fri Aug 10, 2012 4:29 pm
Forum: Help: Linux/Unix Specific
Topic: add_graph.php using cg type.
Replies: 4
Views: 998

Re: add_graph.php using gs type.

The internal datasources are still being created with a blank entry, is there any way I can set these in the add_graph.php cli?
by Epx998
Fri Aug 10, 2012 4:14 pm
Forum: Help: Linux/Unix Specific
Topic: add_graph.php using cg type.
Replies: 4
Views: 998

Re: add_graph.php using gs type.

My datasource name was too long, shortened and it saved.
by Epx998
Fri Aug 10, 2012 4:13 pm
Forum: Help: Linux/Unix Specific
Topic: add_graph.php using cg type.
Replies: 4
Views: 998

Re: add_graph.php using gs type.

I worked out the correct cli syntax, but ran into a new problem; When I run the cli command, the graph gets created, but the data sources are shown has blank for this graph, when the poller runs, I get the error you see below; ERROR: Cannot parse DS in 'DEF:a=/var/www/cacti/rra/gdrsp-dconsu-c1-2_ds_...
by Epx998
Fri Aug 10, 2012 3:15 pm
Forum: Help: Linux/Unix Specific
Topic: add_graph.php using cg type.
Replies: 4
Views: 998

add_graph.php using cg type.

Hi All, I am trying to add a graph using the CLI and I am having a bit of trouble with the custom input field syntax. I have my host id, data template id and the data fields, but can't work the syntax out. The data being graphed is a script/command data input method. Here is what I have so far; php ...
by Epx998
Mon Nov 07, 2011 1:01 pm
Forum: Help: General
Topic: Cacti monitoring MS Active Dir/Exchange type services?
Replies: 1
Views: 380

Cacti monitoring MS Active Dir/Exchange type services?

Can Cacti perform any monitoring of corporate services, such as active directory, exchange...etc? I haven't seen any scripts or templates anywhere.
by Epx998
Wed Nov 02, 2011 6:21 pm
Forum: Help: General
Topic: Graphig -negative & divide by 10?
Replies: 1
Views: 892

Graphig -negative & divide by 10?

Is it possible to graph -negative and divide by /10? I am graphing both banks on a pdu and would like to have bank 2 graph in the negative. The load's have to have the CDEF set to /10. But I don't see any option to do both /10 and -negative.
by Epx998
Mon Oct 24, 2011 1:44 pm
Forum: Scripts and Templates
Topic: Script with multi-input.out graphs as -nan.
Replies: 2
Views: 756

Re: Script with multi-input.out graphs as -nan.

Ok. "-nan" is a database error "not a number". So Cacti thinks the output isn't a number. Where would I start for debugging that, here is the output when I run the script manually;

Code: Select all

/multi-out.sh 80 22 161
7
2
1
So clearly they are numbers. Do the returns in the output cause a problem?
by Epx998
Mon Oct 24, 2011 1:23 pm
Forum: Scripts and Templates
Topic: Script with multi-input.out graphs as -nan.
Replies: 2
Views: 756

Script with multi-input.out graphs as -nan.

Hi All, I am still not sure why a custom script shows graphed output as -nan values. As far as I know I set it correctly, the debugg doesn't show anything that I see as an error. The debug FAQdoesn't really go into debugging -nan results. Basicaly it is a test bash script, it runs the lines below. A...
by Epx998
Wed Oct 19, 2011 4:50 pm
Forum: Scripts and Templates
Topic: Scripts w/input field vs no input field.
Replies: 1
Views: 421

Scripts w/input field vs no input field.

I have been writing 2 types of scripts, all are single line bash scripts. Some have a custom input field and appear to graph normally. Any script I write with no input field always show -NAN when the graph starts. What do I need to adjust to get the output from the scripts with no input fields graph...