riskersen / Monitoring

Monitoring plugins wich are Nagios/icinga compatible
65 stars 112 forks source link

check_printer.php last commit invalidates perfdata output #70

Closed vKnmnn closed 2 years ago

vKnmnn commented 2 years ago

This patch will correct a mistake in commit 954c7ecfb6a43b812b2899f65a4492bcd57e0a6a, which will lead to perfdata not being recognized by pnp4nagios 0.6.

According to the Documentation, the UOM needs to be applied to $value instead of the end of the string: grafik source

122c122
<                       $str .= ";";
---
>                       $str .= "c;";
135c135
<                       echo $str."c ";
---
>                       echo $str." ";
riskersen commented 2 years ago

Sorry for not replying earlier.

Fix applied with b82a4df