I have been reading up on scripting with SSH and NETXMS and various items about NXSL without much success.
I believe what I want to do is fairly simple but I don't understand how to implement it in NetXMS.
I monitor many Unifi Edgerouters with NetXMS, some of these firewalls have VPN's to remote subnets / devices that I would like to confirm the state of the VPN as up or down. One way to do this is to ping a device on the other end of the VPN that also has the benefit of causing traffic to keep the VPN's up. Since the Edgerouters do not have a NetXMS agent installed I don't know how to implement a script from the device like I do with other agents. I believe it should be just an SSH script but I don't know how to get NetXMS to fire the script and record the output.
Basically I want to be able to run an SSH script on a non agent device to ping or other functions and return information. I would also like to do this on a schedule if possible or during polling.
Any ideas on how to implement this?
I believe what I want to do is fairly simple but I don't understand how to implement it in NetXMS.
I monitor many Unifi Edgerouters with NetXMS, some of these firewalls have VPN's to remote subnets / devices that I would like to confirm the state of the VPN as up or down. One way to do this is to ping a device on the other end of the VPN that also has the benefit of causing traffic to keep the VPN's up. Since the Edgerouters do not have a NetXMS agent installed I don't know how to implement a script from the device like I do with other agents. I believe it should be just an SSH script but I don't know how to get NetXMS to fire the script and record the output.
Basically I want to be able to run an SSH script on a non agent device to ping or other functions and return information. I would also like to do this on a schedule if possible or during polling.
Any ideas on how to implement this?