Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
How to run external commands
-
Hi,
I'd like to run external commands from Mango, like ping, du, ps, etc. How to do that to use them as data source,
like vmstat? I'd like to check if systems are reacheable, slow, or up and running nicely, like Nagios active checks.
Regards, Zdravko -
Use can use the event handler to run a script on the server but this won't return any value to Mango. If you wanted to have a data source that would ping an IP address it would just have to be created. I'll look into this and let you know what I think. If it's something you wanted to do and you have he skills it would probably be one of the easier data sources to create.
Joel.