Created a Custom API widget for Nagios Core 4.x #4911
Replies: 2 comments
-
|
This discussion has been automatically closed due to inactivity. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure how many people use Nagios Core 4.x, but if anyone is interested, I implemented a Custom API widget in my services.yaml utilizing their hostcount endpoint, to display number of hosts that are up and number of hosts that are down.
EDIT: To update the custom widget config I settled on. Though I've never had a count other than 0 for "unreachable" or "pending", the JSON payload from nagios includes them and 4 data points still work well for the widget.
Beta Was this translation helpful? Give feedback.
All reactions