I have a host from which I obtain some statistics via a cron'ed scp.
I then read that using a local script. I have no SNMP access to that host.
cacti refuses to graph this host apparently because before it runs the scripts it ping/snmp don't give results.
is there any way to override this?
scripts not run when SNMP cannot contact the host?
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
In version 0.8.6c, simply make sure that the snmp community for that host is blank. This will resolve your problem.
TheWitness
TheWitness
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?
No, it doesn't as far as I can tell, unless you want to create two different cacti-devices for the same host. This since I'm running both SNMP-queries and for example packet-loss(ping) measuring by an external script.
As it is now the packet-loss measuring script will not be executed if the host does not answer an SNMP-query. Therefor I will never see 100% loss in my graphs.
As it is now the packet-loss measuring script will not be executed if the host does not answer an SNMP-query. Therefor I will never see 100% loss in my graphs.
I use cmd.php as a poller and I removed the (!$host_down) checks. This way I force my system to run the external scripts (availability and packet loss checks). Now I can also control if I want to use unknown values in responce time but at the same time I can raise the packet loss to 100% and availability to 0%. Works for me but I don't yet know about the side effects.
host-down check
Where did you disable the host-down check?
Last edited by molshoop on Wed Sep 06, 2006 7:20 am, edited 1 time in total.
GGB Internetworking
http://www.ggb.nl
Safe Computing our mission
http://www.ggb.nl
Safe Computing our mission
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
molshoop, I'm afraid, but it is possible that this post is about a backlevel cacti version. I suppose you do have problems with the Downed Host Detection, do you? Please tell us more details about this. There have already been LOTS of posts on this subject; so searching the forums may yield good results.
As a starting point, set Downed Host Detection to SNMP - Reliable.
Reinhard
As a starting point, set Downed Host Detection to SNMP - Reliable.
Reinhard
Who is online
Users browsing this forum: No registered users and 0 guests