[SOLVED] not triggering on 100% loss ping

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
User avatar
nahun
Cacti User
Posts: 92
Joined: Wed Feb 15, 2006 11:27 pm
Location: Idaho
Contact:

[SOLVED] not triggering on 100% loss ping

Post by nahun »

I'm using thold 0.3.8, PA 1.3, and Cacti 0.8.7. Thold doesn't trigger devices when they go down. Mostly using advanced ping, and the graphs show 100% loss. The 'last read' field doesn't update when it goes to zero it looks like. It changes on each poll when the threshold is up, but not when it goes down, it just shows the last read when the host was up. Hosts work, just not the thresholds.

Thanks!
Last edited by nahun on Mon Nov 05, 2007 11:17 am, edited 1 time in total.
[size=75]Solaris 10 x86 [color=red][b]||[/b][/color] Cacti - 0.8.7 [color=red][b]||[/b][/color] MySQL - 5.0.45 [color=red][b]||[/b][/color] PHP - 5.2.6 [color=red][b]||[/b][/color] RRDTool - 1.2.23 [color=red][b]||[/b][/color] NET-SNMP - 5.4.1 [color=red][b]||[/b][/color] Syslog-ng 2.0.5
[url=http://www.indigo-networks.com]indigo-networks.com[/url][/size]
User avatar
nahun
Cacti User
Posts: 92
Joined: Wed Feb 15, 2006 11:27 pm
Location: Idaho
Contact:

Post by nahun »

thanks to a hint from cigamit I got it.
well that was easy. I just changed ss_fping.php at line 87 (on mine anyway).

Code: Select all

if ($failed_results == $ping_sweeps) {
		return "min:0.0000 avg:0.0000 max:0.0000 dev:0.0000 loss:100.00";
	}
I just added the min, avg, max, dev values so they are zero. Before it was just loss that was returned.
[size=75]Solaris 10 x86 [color=red][b]||[/b][/color] Cacti - 0.8.7 [color=red][b]||[/b][/color] MySQL - 5.0.45 [color=red][b]||[/b][/color] PHP - 5.2.6 [color=red][b]||[/b][/color] RRDTool - 1.2.23 [color=red][b]||[/b][/color] NET-SNMP - 5.4.1 [color=red][b]||[/b][/color] Syslog-ng 2.0.5
[url=http://www.indigo-networks.com]indigo-networks.com[/url][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest