I am looking at making use of Quick Actions, and extending Nagios XI to send data to 'places'. So I am looking at the variable names that can be passed.
My question is about the hostchecktype variable.
Looking in the code, the function actions_component_get_host_vars and function actions_component_get_service_vars
are in place in the file actions.inc.php (in /usr/local/nagiosxi/html/includes/components/actions)
The Host Function shows this:
(near line 1116) :
Code: Select all
"hostchecktype" => strval($hoststatus_xml->hoststatus->check_type),(near line 1227) :
Code: Select all
"hostchecktype" => strval($servicestatus_xml->servicestatus->check_type),(near line 1258) :
Code: Select all
"hostchecktype" => strval($servicestatus_xml->servicestatus->host_check_type),Is that a typo? It looks like to 2 variable names conflict.
Just wondering...
Thanks.
Steve B