Perfdata and passive checks

Sand Philipp Philipp.Sand at sycor.de
Thu Sep 16 15:27:20 CEST 2004


Fyi,

I solved the Problem, my checkcommand for submitting checks looked like it was described in the Documentation: 
define command{
        command_name    submit_check_result
        command_line    $USER1$/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$'
        }

But to submit the perfdata it you have to add the perfdata macro, then it looks like this:

define command{
        command_name    submit_check_result
        command_line    $USER1$/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$ | $SERVICEPERFDATA$'
        }

Regards,
Philipp

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Sand Philipp
> Sent: Thursday, September 16, 2004 1:21 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Perfdata and passive checks
> 
> Hi,
> 
> I got a small problem with my passive checks. I've got a 
> Nagios server in our DMZ, which sends it's performed checks 
> via send_nsca to the central nagios server. I've got perfdata 
> enabled for all the service checks, but when the result 
> arrives in the central nagios server, no perfdata is there 
> any more. When I execute the plugin on the shell I see all 
> the performance data, but it seems to be cut away when it's 
> submitted :-( Any ideas where I could search for the error?
> Thanks in advance,
> Philipp
> 
> 
> _____________________________
> 
> Philipp Sand
> OC-CC-TEC-SYS
> 
> SYCOR GmbH
> Heinrich-von-Stephan-Straße 1-5
> D - 37073 Göttingen
> 
> Telefon	+49 (0) 551 / 490 - 0
> Telefax	+49 (0) 551 / 490 - 232468
> 
> philipp.sand at sycor.de
> www.sycor.de
> ------------------------------------------------
> 
> 
> 
> ************************************************
> 
> sycor plastics - die neue Branchenlösung für die Kunststoffindustrie
> 
> www.sycor-plastics.de
> 
> ************************************************
> 
> 
> 
> 
> Diese E-Mail ist vertraulich und kann darüber hinaus 
> persönliche Informationen beinhalten. Wenn Sie nicht der 
> bestimmungsgemäße Empfänger sind, löschen Sie bitte die 
> E-Mail und deren Anhänge sofort und benachrichtigen Sie uns 
> darüber. Die Firma sycor willigt in keine Verträge oder 
> vertragliche Verpflichtungen ein oder übermittelt 
> rechtsverbindliche Angebote, die in Form von E-Mail versandt 
> werden, sofern dies nicht ausdrücklich in schriftlicher Form 
> zwischen den Parteien vereinbart wurde.
> 
> This e-mail is confidential and may contain personal and/or 
> privileged information. If you are not the intended recipient 
> please delete this e-mail and all attachments immediately and 
> inform us. The company sycor does not agree with contracts or 
> contract obligations sent by e-mail, neither do we transmit 
> legally binding offers by e-mail, unless this is not 
> expressly agreed upon between the parties and documented in 
> written form.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one 
> of 170 Project Admins to receive an Apple iPod Mini FREE for 
> your judgement on who ports your project to Linux PPC the 
> best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php 
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS 
> when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


************************************************

sycor plastics - die neue Branchenlösung für die Kunststoffindustrie

www.sycor-plastics.de

************************************************




Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemäße Empfänger sind, löschen Sie bitte die E-Mail und deren Anhänge sofort und benachrichtigen Sie uns darüber. Die Firma sycor willigt in keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.

This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form.



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list