You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
Nagira is a great tool and it give pretty comprehensive information. I wanted to use it to bring a host in downtime / remove it from downtime. The docs have a method to update host status http://dmytro.github.io/nagira/doc/root/Nagira.html#update_host_status-instance_method but is it exposed via the REST API? I could not find any documentation / pointers for it.
The text was updated successfully, but these errors were encountered:
It's a generic method, supposed to be called by other methods. But can be called directly, just give to it full JSON, containing all attributes. However, this is not what needed to schedule downtime. There's another external command for this particular case in Nagios SCHEDULE_HOST_DOWNTIME.
So, another method needs to be added, something like:
def schedule_host_downtime params
put_update :SCHEDULE_HOST_DOWNTIME, params
end
Nagira is a great tool and it give pretty comprehensive information. I wanted to use it to bring a host in downtime / remove it from downtime. The docs have a method to update host status http://dmytro.github.io/nagira/doc/root/Nagira.html#update_host_status-instance_method but is it exposed via the REST API? I could not find any documentation / pointers for it.
The text was updated successfully, but these errors were encountered: