Disk usage is monitored by
Code: Select all
check_xi_service_snmp_win_storage! -C public --v2c -m ^C: -w 70 -c 80 -fXI Event Log and Notifications reports show the notification properly. However, no email is sent.C:\ Label:System Serial Number e28c2a7c: 69%used(42648MB/61440MB) (<70%) : OK | 'C:\_Label:System__Serial_Number_e28c2a7c'=42648MB;43008;49152;0;61440
The eventman.log shows the following error:
It seems that the event_meta could not be parsed and so it's empty. Hence, no contact is found. For other services (e.g. Linux disk usage) the eventman.log shows that event_meta includes an Array with all event data.PHP Notice: unserialize(): Error at offset 937 of 1020 bytes in /usr/local/nagiosxi/cron/eventman.php on line 145
*** GLOBAL HANDLER...
Array
(
[event_id] => 50070
[event_source] => 2
[event_type] => 2
[event_time] => 2016-10-22 01:20:21
[event_meta] =>
[logging_enabled] => 1
)
*** GLOBAL HANDLER (snmptrapsender)...
Array
(
[event_id] => 50070
[event_source] => 2
[event_type] => 2
[event_time] => 2016-10-22 01:20:21
[event_meta] =>
[logging_enabled] => 1
)
ERROR: Could not find user_id for contact ''
I assume that parsing the output of check_xi_service_snmp_win_storage was broken (if the output includes Windows volume information).
Is there any fix available? Thanks!