We got a lot of IMAP sensors against one mailbox, cheking backup tasks. Recently, we've detected that sensors are reporting false positives, 'cause there are mails inside mailbox reporting backup failures. But, sensors are giving ok status after all...
SENSOR CONFIGURATION:
IDENTIFY EMAIL--> Process emails in this mailbox Mailbox Name --> Inbox Identify by "From" Field --> Check using string search Search For --> Identify by "Subject" Field --> Check using regular expression Search For --> (?=.*\bDibuix\b).* Identify by Mail Body --> Don't check Check Last Message Date --> Check for new messages received within the last x hours Warning Threshold (Hours)--> 24 Error Threshold (Hours)--> 26 SENSOR BEHAVIOR Set to Alarm --> If mail body contains Check Method -->String search Search Text --> (?=.*\berror\b).*Error Message
INBOX MAIL
FROM: SUBJECT: Alerta de CA ARCserve Central Host-Based VM Backup-Copia de seguridad de máquinas virtuales-Copia de seguridad completa Estado de la tarea:Incorrecto(vmName:DIBUIX; nodeName:) BODY: Tipo ID de tarea Hora Mensaje Información 566 21/04/2014 0:40:23 Se han cerrado los archivos VMDK de la máquina virtual. Error 566 21/04/2014 0:40:22 Se ha producido un error en la tarea de copia de seguridad.
As you can see, FROM, SUBJECT and BODY coincide with sensor configuration. What am I doing wrong?
Article Comments
Hello,
i have a similar Problem. On our Backup Software we are running five Jobs and each of them report an own E-Mail to the same Inbox. The Problem is that even though i put the Check Last Message Date to 24h the Sensor shows only the state of te last incoming E-Mail. I´ve read in the Sensor description that the point "Check Last Message Date" is defined es "mails that were received within the last x hours", but it isn´t working iin Practice.
Apr, 2016 - Permalink
Daniel, can you please send us some screenshots showing the full sensor settings via email to support@paessler.com (with a note to this KB-Thread)? Also, do any other tools / applications access the inbox (including webmail)?
Apr, 2016 - Permalink
Hello,
thank you very much for your KB-Post. Please try the IMAP-Sensor first without filters. Does it work then? Please also make sure, that you are on the latest PRTG Version (14.2.9) as well as that no other tool/client access the target inbox (this includes webmail clients).
best regards.
May, 2014 - Permalink