Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
handsomepete
helpful script. Modified the perfdata lines in the case statement to work with current versions of Nagios like so:
- perfdata=( ${perfdata[@]}${SENSOR_VALUE}";" )
+ perfdata=( ${perfdata[@]}${SENSOR_INFO}"="${SENSOR_VALUE}" " )
Also added sed "s/#//g" on to the end of the SENSOR_INFO variable set just to make things prettier. Thanks for the plugin!
- perfdata=( ${perfdata[@]}${SENSOR_VALUE}";" )
+ perfdata=( ${perfdata[@]}${SENSOR_INFO}"="${SENSOR_VALUE}" " )
Also added sed "s/#//g" on to the end of the SENSOR_INFO variable set just to make things prettier. Thanks for the plugin!