Hello threshold developers
I am using thresholdplugin and i want to say thanks for this great plugin.
It really works well. I am logging my thresholds to syslog and send snmp traps with another script, that looks in that specific syslog file.
The Problem is, that thold is logging all the thold breaches to syslog, not only the ones that are alerted with email too. In the settings tab, there is an option to disable the logging of breaches to cacti log.
Is there a way to disable the logging of threshold breaches to syslog.
I only want to send snmptraps, when an email is sent.
I looked into the php-code, but i am not sure where to hack.
it should be somewhere in the thold_check_threshold function.
in this function there are the email send functions called.
Could someone tell me where exaclty the breaches are logged into syslog.
Then i could just do an if(read_config_option('thold_log_cacti') == "on") before.
If there is another solution without changing the php-code, would be great too.
thanks in advance
ubik
only log thresholds to syslog when trigger is reached
Moderators: Developers, Moderators
-
- Posts: 28
- Joined: Mon Sep 21, 2009 9:31 am
Who is online
Users browsing this forum: No registered users and 0 guests