Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
treii28
bytreii28, May 11, 2018
14d13
::Socket::SSL qw();
19,22c18
get('http://' . $o_host . ':' . $o_port . '/server-status');
148,152d130
erver-status');
::Socket::SSL qw();
19,22c18
get('http://' . $o_host . ':' . $o_port . '/server-status');
148,152d130
erver-status');
bytreii28, October 28, 2017
Works great. As a side note for anyone with a banana pi, you can modify this script to do the same thing by using /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input in place of the /sys/class/thermal/thermal_zone0/temp