On 13-10-2011 19:45, Scot Kreienkamp wrote:
Good timing, I've been playing with this for a while and haven't been able to get it to work.
Here's my analysis.cfg entry:
HOST=connect-mn.localhost DS trends cmrtgusers.connect-mn.rrd:ds0 > 30 COLOR=yellow TEXT="Exceeding 30 logged in users"
I was sending it to trends because the rrd that I want to alert on doesn't have its own test. I also tried conn and another one that doesn't exist. The cmrtgusers.connect-mn.rrd exists in /home/hobbit/data/rrd/connect-mn.localhost, and I am getting a graph on the trends page for it with data.
The "trends" column cannot change color, it will always be green.
I am not sure, but I think you shouldn't have any space between the '>' and '30'. It would be pretty bad for the parser to trip on that, so if that is the problem please let me know so I can look at improving it.
Regards, Henrik