Update function and Grafana compatibility

I can recommend the unstable release 3.10.1_10 to all experimenting monitoring admins. Above all, this has the character of a technology preview. Included are two major innovations:

  • The update mode for all getters
  • The option to output Grafana compatible performance data even for status checks.

Update Mode

The update mode for the getter is quickly explained: adding the option –update and an age, the getter is instructed to check the existing store first to its age before contacting the filer. Example:``` $ ./get_netapp_cm.pl -H filer -o volume –update=3min Data for object ‘volume’ collected within 0.576s. Number of instances stored: 6

$ perl get_netapp_cm.pl -H filer -o volume –update=3min Store for object volume on filer is up to date (age: 3 seconds)

no data retrieved, no request sent to the filer


Grafana - Perfdata
------------------

The already existing option --perf\_format has been extended by the value grafana. With this, performance data can now be output for all checks, which can be useful especially for status checks that had no performance data for technical reasons. The logic is that for each instance their status is OK, a 1 is written as a value, and for each non-OK instance, 0 is written as a value in the performance data. That would look like this on the command line - we have highlighted the Grafana-specific performance values in color:```
$./check\_netapp\_pro.pl Disk -H sim92 --perf\_format=nagios
NETAPP\_PRO DISK CRITICAL - 28 disks checked - 0 warnig and 1 critical
sim92-01 NET-1.1: not failed
sim92-01 NET-1.10: not failed
sim92-01 NET-1.11: failed
...

|

$ ./check\_netapp\_pro.pl Disk -H sim92 --perf\_format=**grafana**
NETAPP\_PRO DISK CRITICAL - 28 disks checked - 0 warnig and 1 critical
sim92-01 NET-1.1: not failed
sim92-01 NET-1.10: not failed
sim92-01 NET-1.11: failed
...

| sim92-01 NET-1.1=**1**;;;; sim92-01 NET-1.10=**1**;;;; sim92-01 NET-1.11=**0**;;;; ...

Download & Feedback

This unstable release can be downloaded from the Q-Portal for all customers with access to the beta versions. We are looking forward to your reports.


Detecting unused LUNs
Update-Mode shows performance gain by collector-architecture

Comments