Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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]
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...
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 ?
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.
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.