Empty Status Information in Nagios graphic interface
Posted: Mon Jul 09, 2018 6:12 am
Hello,
We use «Nagios Core 4.2.4», plugin «check_nrpe 3.0.1» (in this case, with «check_eventlog» command) and «NSClient++ 0.5.0.62», on Windows servers, to check these servers System and Application Logs.
The issue is the following: in some situations, Status Information (in Nagios graphic interface) appears completely empty, as seen in Picture1 (at the end of this topic), that shows the result of a Nagios Availability Report.
We found that this happens when Nagios has to display a Windows System or Application Log event that contains at least one word with cedilla characters - ç - and/or characters with accent marks (acute, grave, circumflex accents or tilde) - like «á», «à», «ê», «ã», etc.
Here is an example (obtained from the command line) where the characters that cause the issue are «ç» and «ã» in the word «invocação» (highlighted in bold red):
# ./check_nrpe -H <hostname> -c check_eventlog -a "filter=level in ('error','critical') AND source IN ('SAPIntegrationServices') AND id IN (370)" "warn=count ge 1" "crit=count ge 1" "perf-config=*(ignored:true)" "empty-syntax=%(status): Eventlog check" "detail-syntax= ---INICIO--- log=%(log), level=%(level), source=%(source), eventid=%(id), written=%(written), message=%(message)(%(count))" log=system log=application "scan-range=-21h"
CRITICAL: 1 message(s) ---INICIO--- log=Application, level=error, source=SAPIntegrationServices, eventid=370, written=20:35, message=Internal errors: Erro na invoca▒▒o na logica SAP (...)
Can someone help us please?
Thanks in advance.
We use «Nagios Core 4.2.4», plugin «check_nrpe 3.0.1» (in this case, with «check_eventlog» command) and «NSClient++ 0.5.0.62», on Windows servers, to check these servers System and Application Logs.
The issue is the following: in some situations, Status Information (in Nagios graphic interface) appears completely empty, as seen in Picture1 (at the end of this topic), that shows the result of a Nagios Availability Report.
We found that this happens when Nagios has to display a Windows System or Application Log event that contains at least one word with cedilla characters - ç - and/or characters with accent marks (acute, grave, circumflex accents or tilde) - like «á», «à», «ê», «ã», etc.
Here is an example (obtained from the command line) where the characters that cause the issue are «ç» and «ã» in the word «invocação» (highlighted in bold red):
# ./check_nrpe -H <hostname> -c check_eventlog -a "filter=level in ('error','critical') AND source IN ('SAPIntegrationServices') AND id IN (370)" "warn=count ge 1" "crit=count ge 1" "perf-config=*(ignored:true)" "empty-syntax=%(status): Eventlog check" "detail-syntax= ---INICIO--- log=%(log), level=%(level), source=%(source), eventid=%(id), written=%(written), message=%(message)(%(count))" log=system log=application "scan-range=-21h"
CRITICAL: 1 message(s) ---INICIO--- log=Application, level=error, source=SAPIntegrationServices, eventid=370, written=20:35, message=Internal errors: Erro na invoca▒▒o na logica SAP (...)
Can someone help us please?
Thanks in advance.