Regards!
I have searched the documentation but I have not gotten an answer to my question.
Where can I see the meaning of the codes that return Json messages from Nagios Core?
For example, when executing "Json Query Status" I have, among other results, the values:
"status": 16
"state_type": 1,
"check_type": 0,
"last_hard_state": 2
etc....
What does "16" mean in the "status" field? (and other values, not only that)
I appreciate your help
Codes in responses to Nagios Json
Re: Codes in responses to Nagios Json
What's the exact query you're running? Documentation around those results is a bit sparse.
For service/host status mappings, those can be found here:
https://github.com/NagiosEnterprises/na ... #L143-L159
Many of those fields, like last_hard_state, check_type, state_type, etc are best described in the NDOUtils data model documentation:
https://assets.nagios.com/downloads/nag ... _Model.pdf
For service/host status mappings, those can be found here:
https://github.com/NagiosEnterprises/na ... #L143-L159
Many of those fields, like last_hard_state, check_type, state_type, etc are best described in the NDOUtils data model documentation:
https://assets.nagios.com/downloads/nag ... _Model.pdf
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Codes in responses to Nagios Json
Great!!!
that's what I was looking for, thanks for your help !!
that's what I was looking for, thanks for your help !!
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Codes in responses to Nagios Json
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Codes in responses to Nagios Json
that's it, thanks to all