I can't tapeout dead host notification to files

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
liuabo
Posts: 1
Joined: Tue Oct 12, 2010 3:21 am

I can't tapeout dead host notification to files

Post by liuabo »

In the file:plugins/thold/thold_functions.php
following
include_once($config["base_path"] . "/plugins/settings/include/mailer.php");
the text below could be added.
##################
exec("echo $subject >> /var/www/html/plugins/thold/alert.log");
##################
Alert.log could receive thold alert message, but under agent of /etc/init.d/snmpd stop, there is no message in the alert.log.Email could receive agent down message.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: I can't tapeout dead host notification to files

Post by cigamit »

I am not sure what you are trying to accomplish, or why it would the "/etc/init.d/snmpd" stop command. All threshold breaches should be logged to a mysql table if you really want the data.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests