Thold 2.x - Thresholding/Alerting module for cacti 8.6
Moderators: Developers, Moderators
I have the same issue, the 'Current' value in the thresholds menu stays 0 on various datasources no matter what..
Can this have something to do with the fact that it takes a while for cactid to finish the polling ?, it creates a total of 1900+ graphs on our server..
(btw, this is a Linux server with net-snmp and php 4.3.11)
Can this have something to do with the fact that it takes a while for cactid to finish the polling ?, it creates a total of 1900+ graphs on our server..
(btw, this is a Linux server with net-snmp and php 4.3.11)
Jeroen Wunnink
Easyhosting.nl Sysadmin
Easyhosting.nl Sysadmin
Duplicating
hello,
after installing the "new" version of thold, i got duplicate menu items (look a attachment).
how i can change it ?
after installing the "new" version of thold, i got duplicate menu items (look a attachment).
how i can change it ?
Re: Duplicating
I assume you are talking about that you have just installed the plugin version, and that originally you had the original modular version? You would need to remove the old version before installing the plugin version, otherwise you basically have 2 versions running at the same time.kslt wrote:hello,
after installing the "new" version of thold, i got duplicate menu items (look a attachment).
how i can change it ?
The threshold module has an uninstall script called uninstall.sh. But if you just want to get rid of the menu item, just open up your include/config_array.php and look for this codekslt wrote:how i can do that ?
right for now i have that :
Code: Select all
$menu = array(
"Create" => array(
"graphs_new.php" => "New Graphs"
),
"Management" => array(
"graphs.php" => array(
"graphs.php" => "Graph Management",
"cdef.php" => "CDEFs",
"color.php" => "Colors",
"gprint_presets.php" => "GPRINT Presets"
),
"tree.php" => "Graph Trees",
"data_sources.php" => array(
"data_sources.php" => "Data Sources",
"rra.php" => "RRAs"
),
"host.php" => 'Devices',
"listthold.php" => 'Thresholds'
),
"Collection Methods" => array(
"data_queries.php" => "Data Queries",
"data_input.php" => "Data Input Methods"
),
Code: Select all
"listthold.php" => 'Thresholds'
It is fairly likely that you will run into other problems if you have both versions (new and old) running on the same installation.
We've built this kind of system using a linux box as an email-to-sms gateway. In our case we send the alert as an email which is then converted to an sms message using gnokii (www.gnokii.org). A mobile phone is hooked to the serial port of the server. We use postfix (www.postfix.org) as the email server. From there you'll be able to pipe the incoming mail straight to gnokii. It's simple and works well for our purposes.I've succesfully installed threshold add-on, and I am now able to receive alerts on my e-mail and syslog. I want to be able to send the alarm to another server, which in turn will send an sms message.
How will I accomplish this?? Thanks...
-
- Posts: 1
- Joined: Fri Sep 23, 2005 12:41 pm
- Contact:
Problems with thold2.1a_cacti-0.8.6g
Hi
I have installed thold2.1a_cacti-0.8.6g but I have problem with it, when the cron is executed my log shows this:
09-23-05.12:33:25 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
09-23-05.12:36:29 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
09-23-05.12:36:57 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
09-23-05.12:38:24 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
09-23-05.12:43:23 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
The current value don't show nothing and the thresold don't work because don't have nothing from where take info
who can help me....?
Thnxs
I have installed thold2.1a_cacti-0.8.6g but I have problem with it, when the cron is executed my log shows this:
09-23-05.12:33:25 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
09-23-05.12:36:29 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
09-23-05.12:36:57 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
09-23-05.12:38:24 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
09-23-05.12:43:23 element: BAQ - COBAQPOP7206x1 - 5 Minute CPU[5min_cpu] alertstat: 0 graph_id: 54 thold_low: 0 thold_hi: 5 rra: 65 trigger: 2 triggerct: 0 current: logset:
The current value don't show nothing and the thresold don't work because don't have nothing from where take info
who can help me....?
Thnxs
ajl wrote:We've built this kind of system using a linux box as an email-to-sms gateway. In our case we send the alert as an email which is then converted to an sms message using gnokii (www.gnokii.org). A mobile phone is hooked to the serial port of the server. We use postfix (www.postfix.org) as the email server. From there you'll be able to pipe the incoming mail straight to gnokii. It's simple and works well for our purposes.I've succesfully installed threshold add-on, and I am now able to receive alerts on my e-mail and syslog. I want to be able to send the alarm to another server, which in turn will send an sms message.
How will I accomplish this?? Thanks...
Hi,
That's great. It's just what I need. Problem is we already have an existing sms gateway running on windows. I don't know if I can use gnokii for that. I am already able to send thru e-mail. Is there a way to use our existing gateway??? Thanks
-
- Posts: 7
- Joined: Fri Mar 11, 2005 7:11 am
Completely remove thold
I've some problems with my cacti installation with the thold plugin.
(first: Sorry for my bad English)
My server specifications:
Windows server 2003 with IIS 6.0
Cacti version 0.8.6g (upgraded)
Some months ago i've installed the thold plugin but it didn't work good.
I have removed the install (I placed the cacti-backup back) and the Thold tab has removed.
But I want to configure Thold again in my cacti install.
I install it with the Plugin Architecture (http://cactiusers.org/downloads) this finished succesfully. The thold the tab is presented.
Now the problem:
I see some thold's configured (what i month's ago have installed) but i want to completly remove the old install.
If I configure some things in the thold plugin, my graphs didn't be created afther that. And some services on my server crashed.
How can I solve this? How can i completly remove the old Thold settings? Must I clean the MySQL database? How did I do that?
Please help!!
(first: Sorry for my bad English)
My server specifications:
Windows server 2003 with IIS 6.0
Cacti version 0.8.6g (upgraded)
Some months ago i've installed the thold plugin but it didn't work good.
I have removed the install (I placed the cacti-backup back) and the Thold tab has removed.
But I want to configure Thold again in my cacti install.
I install it with the Plugin Architecture (http://cactiusers.org/downloads) this finished succesfully. The thold the tab is presented.
Now the problem:
I see some thold's configured (what i month's ago have installed) but i want to completly remove the old install.
If I configure some things in the thold plugin, my graphs didn't be created afther that. And some services on my server crashed.
How can I solve this? How can i completly remove the old Thold settings? Must I clean the MySQL database? How did I do that?
Please help!!
Re: Completely remove thold
You should remove the appropriate tables in your database.Hardinxcore wrote:I've some problems with my cacti installation with the thold plugin.
(first: Sorry for my bad English)
My server specifications:
Windows server 2003 with IIS 6.0
Cacti version 0.8.6g (upgraded)
Some months ago i've installed the thold plugin but it didn't work good.
I have removed the install (I placed the cacti-backup back) and the Thold tab has removed.
But I want to configure Thold again in my cacti install.
I install it with the Plugin Architecture (http://cactiusers.org/downloads) this finished succesfully. The thold the tab is presented.
Now the problem:
I see some thold's configured (what i month's ago have installed) but i want to completly remove the old install.
If I configure some things in the thold plugin, my graphs didn't be created afther that. And some services on my server crashed.
How can I solve this? How can i completly remove the old Thold settings? Must I clean the MySQL database? How did I do that?
Please help!!
thold, thold_data, and thold_template
That will remove all the old thold settings.
warnesj wrote:
freebsd in a jail
apache2
mysql4
cacti 0.8.6f
thold for 0.8.6c
thank you
rik
This solved my problem showing only "0" in the current value and now everything works...Current get_current_value() function code in [cacti-root]/lib/thold-fuctions.php,
And changed it to,Code:Code: Select all
function get_current_value($rra, $ds) { global $config; $last_time_entry = rrd_last($rra, "MAX"); $last_needed = $last_time_entry + 900; $result = rrdtool_function_fetch($rra, $last_time_entry, $last_needed); $idx = array_search($ds, $result["data_source_names"]); return }
Basically I added $last_time_entry = $last_time_entry - 100; after the rrd_last() function call to decrement the last time the RRA had data stored in it by 100 seconds. This seemed to fix my problem.Code: Select all
function get_current_value($rra, $ds) { global $config; $last_time_entry = rrd_last($rra, "MAX"); $last_time_entry = $last_time_entry - 100; $last_needed = $last_time_entry + 900; $result = rrdtool_function_fetch($rra, $last_time_entry, $last_needed); $idx = array_search($ds, $result["data_source_names"]); return }
freebsd in a jail
apache2
mysql4
cacti 0.8.6f
thold for 0.8.6c
thank you
rik
Re: Completely remove thold
Try this scipt or a part of this
regards
pepj
regards
pepj
Hardinxcore wrote:I've some problems with my cacti installation with the thold plugin.
(first: Sorry for my bad English)
My server specifications:
Windows server 2003 with IIS 6.0
Cacti version 0.8.6g (upgraded)
Some months ago i've installed the thold plugin but it didn't work good.
I have removed the install (I placed the cacti-backup back) and the Thold tab has removed.
But I want to configure Thold again in my cacti install.
I install it with the Plugin Architecture (http://cactiusers.org/downloads) this finished succesfully. The thold the tab is presented.
Now the problem:
I see some thold's configured (what i month's ago have installed) but i want to completly remove the old install.
If I configure some things in the thold plugin, my graphs didn't be created afther that. And some services on my server crashed.
How can I solve this? How can i completly remove the old Thold settings? Must I clean the MySQL database? How did I do that?
Please help!!
- Attachments
-
- uninstall-Thold.zip
- (1.04 KiB) Downloaded 287 times
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
Re: THold 2.1a for Cacti 0.8.6g
Hello thold-users
----Is there any way to migrate the tables?-------
Greetings
Torsten
as updating my cacti version and thold (cacti 08e to 08g) the thold install.sh told me that the new version does not use the old thold tables and all tholds must be recreated. I have 500 tholds!cmarsot wrote: ...
You will find as attachement, treshold addon for cacti 0.8.6g.
This archive is only for cacti 0.8.6g under Unix. I have not tested under Win32.
Also include on this archive treshold-sorting patch.
...
Have fun !
----Is there any way to migrate the tables?-------
Greetings
Torsten
-
- Posts: 2
- Joined: Mon Aug 29, 2005 4:39 pm
- Location: Colorado
- Contact:
Dead Hosts notifications
Dead Hosts notifications email’s
When I get the Dead Hosts notification, the email list the IP Address of the dead host. Is it possible to change this to display the Description field? I don’t have a fully qualified domain names in my hostname field, just an IP.
I have 200+- nodes in Cacti and don't have all the IP's memorized... :’(
Host[303]: 66.x.x.x ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP, Host is Alive
Host[300]: 66.x.x.x ERROR: HOST EVENT: Host is DOWN Message: SNMP not performed due to setting or ping result., UDP ping timed out
-Mike
When I get the Dead Hosts notification, the email list the IP Address of the dead host. Is it possible to change this to display the Description field? I don’t have a fully qualified domain names in my hostname field, just an IP.
I have 200+- nodes in Cacti and don't have all the IP's memorized... :’(
Host[303]: 66.x.x.x ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP, Host is Alive
Host[300]: 66.x.x.x ERROR: HOST EVENT: Host is DOWN Message: SNMP not performed due to setting or ping result., UDP ping timed out
-Mike
Who is online
Users browsing this forum: No registered users and 0 guests