CLI HowTo "Create Graphs for this Host..."

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
serveurpro
Posts: 2
Joined: Mon Jan 18, 2010 10:17 am
Location: Paris
Contact:

CLI HowTo "Create Graphs for this Host..."

Post by serveurpro »

Hello Cacti users,

Sorry for me english:s

I need to monitor a lot of Win32 server (first 4000 and more!) => Because it's really impossible to do manually, I use CLI and PHP "exec loop" to create devices like this :

php add_device.php --description=servername --ip=servername.fqdn.intranet --template=7 --avail=snmp

This work well for device, but (see attachment) I want simply check all default box for a server, how I can do this with CLI ?

Thanks,
Pascal
Attachments
Screen : Create Graphs for this Host...
Screen : Create Graphs for this Host...
CACTI.jpg (137.22 KiB) Viewed 2213 times
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Use the 'add_graphs.php' cli script or take a look at the autom8 plugin

http://docs.cacti.net/plugin:autom8
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
serveurpro
Posts: 2
Joined: Mon Jan 18, 2010 10:17 am
Location: Paris
Contact:

Post by serveurpro »

Nice! Thanks.

Pascal
http://www.serveurperso.com
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests