Search found 4 matches

by [email protected]
Tue Apr 05, 2011 5:31 pm
Forum: Open Source Nagios Projects
Topic: CRLF in the Status Information field
Replies: 9
Views: 6501

Re: CRLF in the Status Information field

AH, got it. We were running nrpe 2.0.6. I upgrade to the latest rev. and I'm getting the multi-line output.

Thanks for all your help.

Regards.

Sean
by [email protected]
Tue Apr 05, 2011 1:09 pm
Forum: Open Source Nagios Projects
Topic: CRLF in the Status Information field
Replies: 9
Views: 6501

Re: CRLF in the Status Information field

Here are the last few lines of the perl script that take care for formatting the data... my $message = qw{}; foreach my $channel_name ( keys %channel){ $message = $message . "[ $channel_name :"; foreach my $key( keys %{$channel{$channel_name}}){ if( $key eq 'D' ) { $action_code = 'Deque'; ...
by [email protected]
Tue Apr 05, 2011 11:40 am
Forum: Open Source Nagios Projects
Topic: CRLF in the Status Information field
Replies: 9
Views: 6501

Re: CRLF in the Status Information field

That's for your help. I'm running 3.0.6. The first thing I tried was the "\n" but it's not showing up in the Status Information field. I'm using nrpe to bring the data into Nagios. Could nrpe be truncating the output after the first crlf?

-Sean
by [email protected]
Mon Apr 04, 2011 4:12 pm
Forum: Open Source Nagios Projects
Topic: CRLF in the Status Information field
Replies: 9
Views: 6501

CRLF in the Status Information field

I trying to have multiple lines appear in the Status Information field for a check I've created. I don't seem to be able to get more than one line to display though. I've tried \n and I've tried HTML code <p> and <br> too. Is there a way to format my check's output so that it displays multiple lines...