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.
I can't tapeout dead host notification to files
Moderators: Developers, Moderators
Re: I can't tapeout dead host notification to files
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.
Who is online
Users browsing this forum: No registered users and 2 guests