Hello,
I'm making my own graphs and for testing i would like to run poller.php from command line but only for one host (if my new graph is for a host that is last in a queue then i have to wait till poller.php polls all other hosts). Is there a parameter that makes it possible?
how to poll ony one host from command line?
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Yep, but with cactid as a poller only. In this case will poll the host with ID=n only. Find the hosts id when editing the device: see url
Reinhard
Code: Select all
cactid n n
Reinhard
Thank you for your quick answer. I'll try to compile cactid.
For now i made a feature request
http://forums.cacti.net/viewtopic.php?p=90818
Regards
For now i made a feature request
http://forums.cacti.net/viewtopic.php?p=90818
Regards
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
you can do this with cmd.php as well:
TheWitness
Code: Select all
php <path_cacti>/cmd.php n n
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 2 guests