Hi All,
I'm using the objectjson.cgi page to generate a report for all our services and all their details.
When comming up to the notification_options field a get a number, instead would have expected a string (same as cfg file).
If this is the correct behavior, how should these values be decoded ?
Thanks
Davide
Nagios objectjson.cgi notification_options value
-
- Posts: 7
- Joined: Thu Nov 08, 2012 9:34 am
Re: Nagios objectjson.cgi notification_options value
This is expected. For hosts this breaks down to:
Down =2
Unreachable = 4
Recovery = 1
Flapping = 2048
Scheduled Downtime = 4096
and for services:
Waring = 2
Critical = 4
Unknown = 8
Recovery = 1
Flapping = 2048
Scheduled Downtime = 4096
Values are summed if multiple options are selected.
Down =2
Unreachable = 4
Recovery = 1
Flapping = 2048
Scheduled Downtime = 4096
and for services:
Waring = 2
Critical = 4
Unknown = 8
Recovery = 1
Flapping = 2048
Scheduled Downtime = 4096
Values are summed if multiple options are selected.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 7
- Joined: Thu Nov 08, 2012 9:34 am
Re: Nagios objectjson.cgi notification_options value
Glad to help. Locking.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.