Hello,
I wrote my own check that is executed by mrpe. It returns no performance data. But in nagios there is allways an performance icon that links to PNP.
How can I prevent this? I tried:
> echo "OK: All units are OK."
and
> echo "OK: All units are OK.|-"
Regards,
Marc
Hi Marc,
the problem ist, that Check_MK - at the point of time of config
generation - cannot know, which MRPE-Check sends performance
data and which not.
You might want to try Check_MK's Multisite GUI. That has an intelligent
Column (Link to PNP) which checks wether actually a RRD exists.
Mathias
···
Am 18.06.2010 09:22, schrieb Marc Muehlfeld:
Hello,
I wrote my own check that is executed by mrpe. It returns no performance
data. But in nagios there is allways an performance icon that links to PNP.
How can I prevent this? I tried:
> echo "OK: All units are OK."
and
> echo "OK: All units are OK.|-"
Regards,
Marc
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
--
__ __ _ __
Mathias Kettner | \/ | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |\/| | ' /
81667 M�nchen | | | | . \ Linux Beratung & Schulung
089 / 18 90 42 10 |_| |_|_|\_\ http://mathias-kettner.de
You might want to try Check_MK's Multisite GUI. That has an intelligent
Column (Link to PNP) which checks wether actually a RRD exists.
This seems mostly to be right. But I have one service without performance values, but where the PNP Icon is shown, and when I click to it, I get:
> PNP Error
>
> Please check the Kohana documentation for information about the following
> error.
>
> application/models/data.php [223]:
>
> XML file "/var/lib/nagios/rrd/exon/Process-Running-Check_SeqPilot.xml" not
> found. Read FAQ online
The service is a self written plugin, that returns on OK just the string "OK: jsiDaemon (OK) seqResultfiles (OK)" with exit code 0. Nothing more.
···
Am 18.06.2010 09:45, schrieb Mathias Kettner:
Is that plugin called via MRPE? The point is that Check_MK cannot know
at config-generation-point-of-time which MRPE check creates perfdata
and which not. It puts a notes_url for all checks, just in case.
The intelligent Multisite-Icon checks the existance of the RRD file.
···
Am 22.06.2010 22:55, schrieb Marc Muehlfeld:
Am 18.06.2010 09:45, schrieb Mathias Kettner:
You might want to try Check_MK's Multisite GUI. That has an intelligent
Column (Link to PNP) which checks wether actually a RRD exists.
This seems mostly to be right. But I have one service without
performance values, but where the PNP Icon is shown, and when I click to
it, I get:
> PNP Error
>
> Please check the Kohana documentation for information about the
following
> error.
>
> application/models/data.php [223]:
>
> XML file
"/var/lib/nagios/rrd/exon/Process-Running-Check_SeqPilot.xml" not
> found. Read FAQ online
The service is a self written plugin, that returns on OK just the string
"OK: jsiDaemon (OK) seqResultfiles (OK)" with exit code 0. Nothing more.
--
__ __ _ __
Mathias Kettner | \/ | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |\/| | ' /
81667 M�nchen | | | | . \ Linux Beratung & Schulung
089 / 18 90 42 10 |_| |_|_|\_\ http://mathias-kettner.de