Random Project

perfdata

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!