Re: add_graphs.php: "select all" data query rows?

Gandalf <[email protected]>
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
Would it be an option to use AUTOM8 plugin for such a use case?
Reinhard

On 25.03.2012 22:10, Jack Bates wrote:
> I use the CLI to automate adding new devices and graphs. When I use the 
> normal web interface to add new data query graphs, I can add graphs for 
> *all* data query rows with the "select all" checkbox. Can I accomplish 
> the same with the CLI? When I omit the "--snmp-field=..." or 
> "--snmp-value=..." options, add_graphs.php complains:
> 
>> ERROR: For graph-type of 'ds' you must supply more options
> 
> I am adding graphs for a "wireless station" data query (SSID, signal 
> strength, etc.) and for each of our devices there is at most one row. It 
> is inconvenient to have to correctly specify the value of an input 
> field, to select this row (and so to have to maintain scripts with 
> correct values)
> 
> I just want to "select all" rows, from the CLI
> 
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> cacti-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cacti-user
> 

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.