Ticket #34 (closed enhancement: fixed)

Opened 5 years ago

Last modified 3 years ago

Feature request: Notify alias on plugins (like notify_alias on hosts)

Reported by: bjorn Assigned to: jo
Priority: low Milestone: Munin 1.4
Component: master Version: 1.2.4
Severity: normal Keywords: None
Cc: None

Description

Nagios (at least 1.3) refuses to accept service names with special characters in it, e.g. '(%)'. For Nagios to accept notifications from Munin, a corresponding service name must exist in Nagios. Any character may be used in Munin plugins, but this is not the case with Nagios services.

An aliased plugin name from Nagios would solve this issue, like the notify_alias already existing for exactly the same purpuse albeit on host names only.

munin-node must accept a plugin notify_alias and submit this information to Nagios and/or similar systems.

Change History

06/28/06 10:46:37 changed by Quano

I found a solution for this: service.graph_title

for example: df.graph_title Disco

In nagios I have a passive service named Disco (Disk in english).

My only problem (i think is concerned whith this) is that i must put the plugins limits in each node at df munin plugin, in /usr/share/munin/plugins/ Because df.warning and df.critical in server config (/etc/munin/munin.conf)do not work.

09/03/06 12:57:18 changed by janl

  • severity changed from blocker to normal.
  • component changed from wiki to server.
  • priority changed from highest to low.
  • version changed from 1.3.1 to 1.2.4.
  • milestone set to Munin 1.4.
  • type changed from task to enhancement.

10/03/06 10:03:22 changed by bjorn

  • status changed from new to closed.
  • resolution set to fixed.

This should've worked the whole time, except that the code had a wrong variable that broke it.

Changeset [1081] has fixed this for 1.3.3rc and later. In the meantime, the diff described may be applied to munin-limits (it worked successfully on my 1.2.3 release).

And yes, the trick described by Quano is another way to work around this.