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

Useful is the update mode in those environments where the getter is always called before each check – ie getter and check have been configured as one service check. Until now, the data was unnecessarily often fetched by the filer. The –update = … option can now be used to ensure that data is not collected more often than necessary.

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.