[root@nagiosxi ~]# tail -f /usr/local/nagiosxi/var/e*
==> /usr/local/nagiosxi/var/event_handler.lock <==
==> /usr/local/nagiosxi/var/event_handler.log <==
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
==> /usr/local/nagiosxi/var/event_handler.log-20161023 <==
LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock' CREATED
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITING
==> /usr/local/nagiosxi/var/eventman.log <==
......
PROCESSED 0 EVENTS
==> /usr/local/nagiosxi/var/eventman.log-20161002 <==
....................
PROCESSED 0 EVENTS
==> /usr/local/nagiosxi/var/eventman.log-20161010 <==
....................
PROCESSED 0 EVENTS
==> /usr/local/nagiosxi/var/eventman.log-20161016 <==
....................
PROCESSED 0 EVENTS
==> /usr/local/nagiosxi/var/eventman.log-20161023 <==
....................
PROCESSED 0 EVENTS
==> /usr/local/nagiosxi/var/eventman.log <==
==> /usr/local/nagiosxi/var/event_handler.log <==
Array
(
[0] => 189
[eventqueue_id] => 189
[1] => 1477594646
[event_time] => 1477594646
[2] => 2
[event_source] => 2
[3] => 2
[event_type] => 2
[4] => a:26:{s:17:"notification-type";s:7:"service";s:7:"contact";s:11:"nagiosadmin";s:12:"contactemail";s:16:"nagios@localhost"
;s:4:"type";s:6:"CUSTOM";s:9:"escalated";s:1:"0";s:6:"author";s:20:"Nagios Administrator";s:8:"comments";s:4:"Test";s:4:"host";s:18:
"zenzi.schorsch.net";s:11:"hostaddress";s:12:"192.168.2.60";s:9:"hostalias";s:20:"VMware Host (Ubuntu)";s:15:"hostdisplayname";s:18:
"zenzi.schorsch.net";s:7:"service";s:14:"Root Partition";s:9:"hoststate";s:2:"UP";s:11:"hoststateid";s:1:"0";s:12:"servicestate";s:2
:"OK";s:14:"servicestateid";s:1:"0";s:16:"lastservicestate";s:2:"OK";s:18:"lastservicestateid";s:1:"0";s:16:"servicestatetype";s:4:"
HARD";s:14:"currentattempt";s:1:"1";s:11:"maxattempts";s:1:"5";s:14:"serviceeventid";s:5:"20314";s:16:"serviceproblemid";s:1:"0";s:1
3:"serviceoutput";s:38:"/: 38%used(14385MB/37416MB) (80%) : OK";s:17:"longserviceoutput";b:0;s:8:"datetime";s:29:"Thu Oct 27 20:57:2
6 CEST 2016";}
[event_meta] => a:26:{s:17:"notification-type";s:7:"service";s:7:"contact";s:11:"nagiosadmin";s:12:"contactemail";s:16:"nagios@l
ocalhost";s:4:"type";s:6:"CUSTOM";s:9:"escalated";s:1:"0";s:6:"author";s:20:"Nagios Administrator";s:8:"comments";s:4:"Test";s:4:"ho
st";s:18:"zenzi.schorsch.net";s:11:"hostaddress";s:12:"192.168.2.60";s:9:"hostalias";s:20:"VMware Host (Ubuntu)";s:15:"hostdisplayna
me";s:18:"zenzi.schorsch.net";s:7:"service";s:14:"Root Partition";s:9:"hoststate";s:2:"UP";s:11:"hoststateid";s:1:"0";s:12:"services
tate";s:2:"OK";s:14:"servicestateid";s:1:"0";s:16:"lastservicestate";s:2:"OK";s:18:"lastservicestateid";s:1:"0";s:16:"servicestatety
pe";s:4:"HARD";s:14:"currentattempt";s:1:"1";s:11:"maxattempts";s:1:"5";s:14:"serviceeventid";s:5:"20314";s:16:"serviceproblemid";s:
1:"0";s:13:"serviceoutput";s:38:"/: 38%used(14385MB/37416MB) (80%) : OK";s:17:"longserviceoutput";b:0;s:8:"datetime";s:29:"Thu Oct 2
7 20:57:26 CEST 2016";}
)
==> /usr/local/nagiosxi/var/eventman.log <==
=2, TYPE=2, TIME=2016-10-27 20:57:26
*** GLOBAL HANDLER...
Array
(
[event_id] => 50103
[event_source] => 2
[event_type] => 2
[event_time] => 2016-10-27 20:57:26
[event_meta] => Array
(
[notification-type] => service
[contact] => nagiosadmin
[contactemail] => nagios@localhost
[type] => CUSTOM
[escalated] => 0
[author] => Nagios Administrator
[comments] => Test
[host] => zenzi.schorsch.net
[hostaddress] => 192.168.2.60
[hostalias] => VMware Host (Ubuntu)
[hostdisplayname] => zenzi.schorsch.net
[service] => Root Partition
[hoststate] => UP
[hoststateid] => 0
[servicestate] => OK
[servicestateid] => 0
[lastservicestate] => OK
[lastservicestateid] => 0
[servicestatetype] => HARD
[currentattempt] => 1
[maxattempts] => 5
[serviceeventid] => 20314
[serviceproblemid] => 0
[serviceoutput] => /: 38%used(14385MB/37416MB) (80%) : OK
[longserviceoutput] =>
[datetime] => Thu Oct 27 20:57:26 CEST 2016
)
[logging_enabled] => 1
)
*** GLOBAL HANDLER (snmptrapsender)...
Array
(
[event_id] => 50103
[event_source] => 2
[event_type] => 2
[event_time] => 2016-10-27 20:57:26
[event_meta] => Array
(
[notification-type] => service
[contact] => nagiosadmin
[contactemail] => nagios@localhost
[type] => CUSTOM
[escalated] => 0
[author] => Nagios Administrator
[comments] => Test
[host] => zenzi.schorsch.net
[hostaddress] => 192.168.2.60
[hostalias] => VMware Host (Ubuntu)
[hostdisplayname] => zenzi.schorsch.net
[service] => Root Partition
[hoststate] => UP
[hoststateid] => 0
[servicestate] => OK
[servicestateid] => 0
[lastservicestate] => OK
[lastservicestateid] => 0
[servicestatetype] => HARD
[currentattempt] => 1
[maxattempts] => 5
[serviceeventid] => 20314
[serviceproblemid] => 0
[serviceoutput] => /: 38%used(14385MB/37416MB) (80%) : OK
[longserviceoutput] =>
[datetime] => Thu Oct 27 20:57:26 CEST 2016
)
[logging_enabled] => 1
)
Got XI user id for contact 'nagiosadmin': 18
An email notification will be sent...
Email Notification Data:
Array
(
[from] => Nagios XI <
[email protected]>
[to] =>
[email protected]
[subject] => NagiosXI: CUSTOM Service Alert - zenzi.schorsch.net/Root Partition is OK
[high_priority] => 0
[message] => ***** Nagios XI Alert *****
Notification Type: CUSTOM
Service: Root Partition
Host: zenzi.schorsch.net
Address: 192.168.2.60
State: OK
Info:
/: 38%used(14385MB/37416MB) (80%) : OK
Date/Time: 27/10/2016 20:57:30
)
User has mobile text notifications disabled...
......