This is a tricky one I am wanting Nagios to alert me when an online form contains the string “Error”.
This part is not really hard. The hard bit is that this needs to be reset every day but the form holds upto 10 entries regardless of the date.
The best way I can think of doing this is to have two custom variables one which will work as a counter counting how many instances of the string “Error” accurs and one which says how many instanaces of the string was visable yesterday. In doing this I could compare these to find out if there are any new instances.
My question is can this actually be done with nagios? if so any advice would help.