Hi
We are trying to have an automation in NagiosXI using API, when we try to use the server alias, we have this error
==> /usr/local/nagios/var/nagios.log <==
[1574907199] Error: External command failed -> SCHEDULE_HOST_DOWNTIME;lnpnprcobuc001v;1574907198;1606443198;1;0;0;
[1574907199] External command error: Command failed
[1574907199] Error: External command failed -> SCHEDULE_HOST_SVC_DOWNTIME;lnpnprcobuc001v;1574907198;1606443198;1;0;0;
[1574907199] External command error: Command failed
But when using the server name, it pushes through. So Alias can not be used for any of the API call?
API Call using Alias
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: API Call using Alias
No they cannot, you must use the host_nameelealyngarcia wrote: But when using the server name, it pushes through. So Alias can not be used for any of the API call?