global notification disabled
-
kendallchenoweth
- Posts: 195
- Joined: Fri Sep 13, 2013 10:43 am
global notification disabled
What is the best way from the command line to determine if the nagios server currently has global notifications disabled?
Re: global notification disabled
For further reference as I did some digging, on the nagiosxi database, the xi_commands table will be appended when they're turned off / on -
off -
on -
When they're turned off, /usr/local/nagios/var/status.dat is updated to a 0 -
on -
off -
Code: Select all
a:1:{s:3:"cmd";i:11;}
Command submitted
Code: Select all
a:1:{s:3:"cmd";i:12;}
Command submitted
Code: Select all
programstatus {
...
enable_notifications=0
...
Code: Select all
programstatus {
...
enable_notifications=1
...
Former Nagios Employee
Re: global notification disabled
Just checking in since we have not heard from you in a while. Did @rkennedy's post clear things up?
Former Nagios employee