I want to know if I am able to setup some automat action for a poller.
There is an option from site24x7 server, "IT automation template", can we setup a same thing to a poller?
Like whenever a monitoring down, we can ask a poller to invoke a API request, or run some command from where the poller is installed?
We are yet to support automation actions for On-Premise Poller. Executing any commands in the On-Premise Poller machine as part of automation is not possible for now. However, you can add automation actions in the respective monitors.
As an example, you can add automation action like Invoke API for a ping monitor that is being monitored by On-Premise Poller. To do this, create an IT Automation template by navigating to Admin > IT Automation Templates > Add Automation Templates.
You can add additional incident parameters to the API requests which will be executed from Site24x7.
To associate an automation template to an existing monitor, edit the monitor and choose the template under Configuration Profiles. You can specify when the automation should be executed like when monitor goes Down, Critical etc.
Hope this helps you.
I can understand your issue. For this, I would recommend you to add a Site24x7 Server Monitoring Agent in the On-Premise Poller machine. Script or command automation actions are supported in our server monitoring agent.
You can create an IT Automation Template to execute a command or a script file in the server agent machine as like below.
Once automation template is created, you can associate it to any monitor and set it to get executed based on various conditions like execute on Down or Critical, etc.
Hope this will solve your use case. Please let us know if you need any assistance.
Thank you for your reply..
Unfortunately, we do not have root access for our poller servers..(I am asking Linux team who has root access if they can help to install it).
One more question..is there anything we can use in the poller logs?
When poller send metrics back to site24x7, if we can enable some debug logs, then we can just grep from logs, setup logic and do this automation base on logs output.
You can choose to install our Linux monitoring agent as a non root user.
As for your second question on using On-Premise Poller debug log prints, there could be variations/changes done from our end on a time-to-time basis. So, depending on the On-Premise Poller logs will not be an ideal solution.
Hope this helps.
Glad to know it worked. Please let us know for further questions, if any, in the below thread.