Agent CLI to send alert to Nagios
Agent CLI to send alert to Nagios
After I install the agent, is there an API available to send a custom alert to the console?
Re: Agent CLI to send alert to Nagios
Can you elaborate on that? What agent are you talking about? What kind of "custom alert" are you trying to send? We need more information in order to point you to the right direction. Please give us some examples.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Agent CLI to send alert to Nagios
For ex. I have a script in cron that does some data processing and I want to send an alert at various exit code with custom message.
Re: Agent CLI to send alert to Nagios
This is still not very helpful... What does this custom script have to do with Nagios XI or with the "installed agents" (in any - you haven't explained what agents you were talking about)?
What is your objective? What do you mean by "to send a custom alert to the console"? Are you talking about an alert or notification? Again, show us examples. Post your custom script and explain how you intend to use it.
FYI, Nagios XI has a REST API available if this is what you are looking for. The REST API documentation can be found under the "Help" menu.
What is your objective? What do you mean by "to send a custom alert to the console"? Are you talking about an alert or notification? Again, show us examples. Post your custom script and explain how you intend to use it.
FYI, Nagios XI has a REST API available if this is what you are looking for. The REST API documentation can be found under the "Help" menu.
Be sure to check out our Knowledgebase for helpful articles and solutions!