thold 4 dont work for us :-( -please help

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
mhinti
Posts: 27
Joined: Thu Jun 30, 2005 9:23 am
Location: Austria

thold 4 dont work for us :-( -please help

Post by mhinti »

Hi!

We have installed thold 4, but we have following error.

When we add a threshold the current value is empty and never a threshold would be triggered (view Attachement). So thold dont work for us.

The thold plugin is not in the global.php. I think the poller don´t start thold. Can we start thold manually ? (PHP Scipt?)



I hope you can help me.

Best regards
Markus

Cacti Version - 0.8.7c
Plugin Architecture - 2.3
Poller Type - Cactid v
Server Info - Windows NT 5.2
Web Server - Microsoft-IIS/6.0
PHP - 5.2.8
PHP Extensions - bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, ISAPI, mysql, snmp, sockets, gd
MySQL - 5.1.30-community
RRDTool - 1.2.30
SNMP - At line 1 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
No hostname specified.
USAGE: snmpwalk [OPTIONS] AGENT [OID]

Version: 5.2.1
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net


Plugins
  • Global Plugin Settings (settings - v0.5)
    Thresholds (thold - v0.4)
    Host Info (hostinfo - v0.2)
    Login Page Mod (loginmod - v1.0)
    Network Tools (tools - v0.3)
    Realtime for Cacti (realtime - v0.32)
    PHP Network Weathermap (weathermap - v0.96test2)
Attachments
thold1.JPG
thold1.JPG (80.51 KiB) Viewed 3214 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The thold polling.php script is launched by the main Cacti poller at the poller interval. If this is not happening, it may be a permissions issue. But I can assure you this have been tested without issue on several installations.

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?
albundy118
Posts: 6
Joined: Mon Oct 26, 2009 4:46 pm
Location: Berlin, Germany

Post by albundy118 »

Hello,

I faced the same problem and have no idea what's wrong.
my setup:
- cacti 0.8.7e
- PA 2.6
- settings 0.5
- Thold 0.4.1

What I also noticed is that when I click into the Treshold config than in the head of the config table the current value for this data source is written and correct. But in the threshold overview the current is always empty. This result in the alerts :-(
Any updates regarding this ?

Thanks in advanced
Albundy
dasch
Posts: 7
Joined: Mon Aug 24, 2009 10:47 am

Post by dasch »

Hi,
I had the problem of an alert being not triggered as well. The underlying problem was, that I did not had a host defined for the data source and the graph when I created the data source and the graph, because I was just reading out some random integers from a perl script to simply test the plugin. I then found out by looking in the database that table "thold_data" had the necessary entry, but the "host_id" for that dataset was "0" and if it is like this, the php function doing the triggering won't work with a "host_id" being "0".
So the fix for me was, to
- delete the thresholds I had defined
- update the data source to be corresponding to host localhost
- update the graph to be corresponding to host localhost
- add a new threshold for the graph
After that, the entry in the thold_data table now has a valid host_id and everything is working fine.

Hope this information can help you somehow...

Best regards,

dasch
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Post by toe_cutter »

Im actually having this very same problem.

The Current value is not visible in Threshold Management, but is when a threshold is edited. I suppose this is because the latter is read directly from the rrd-file.

Does Threshold support the use of Boost at the same time?

Im also not able to create thresholds directly from Graph Management, nor do i see any hosts being updated in the thold stats logging.

Any ideas?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests