A question on using send_nsca
Dennis Kuhlmeier
kuhlmeier at riege.com
Wed Mar 23 10:50:00 CET 2011
Hijacking this question a little, but maybe it will help other as well:
On 22.03.2011 18:22, Jarlath Lyons wrote:
> [root at jlyonslx test_harness]# /usr/bin/printf
> "HOST\tSERVICE\tCRITICAL\tMy Message ....\n" |
> /usr/local/nagios/addons/nsca/send_nsca -H localhost -p 5667 -c
> ./nsca_send.cfg
>
> 1 data packet(s) sent to host successfull
>
So far so good. But what abound sending Performance Data AND
extended service output via NSCA and parsing that correctly? As a
matter of fact I try to do that in a remote monitoring setup with a
second nagios instance, so it's not totally the same. Just so you
get an idea, here's what's in my nagios.cfg on the remote machine,
which is send via nsca
service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|$SERVICEPERFDATA$
What I tried was this:
service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|$SERVICEPERFDATA$\n$LONGSERVICEOUTPUT$
Didn't work.
Any clues?
Thanks,
Dennis
--
..............................................................
Riege Software International GmbH Fon: +49 (2159) 9148 0
Mollsfeld 10 Fax: +49 (2159) 9148 11
40670 Meerbusch Web: www.riege.com
Germany E-Mail: kuhlmeier at riege.com
--- ---
Handelsregister: Managing Directors:
Amtsgericht Neuss HRB-NR 4207 Christian Riege
USt-ID-Nr.: DE120585842 Gabriele Riege
Johannes Riege
..............................................................
YOU CARE FOR FREIGHT, WE CARE FOR YOU
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kuhlmeier.vcf
Type: text/x-vcard
Size: 306 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110323/ea6fe9e4/attachment.vcf>
-------------- next part --------------
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
-------------- next part --------------
_______________________________________________
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