Loading...
 

Nagios

FAQ relating Nagios to PerfParse

Questions

Answers

Question: "Method 4 : Ask Nagios to write into a pipe". Is it compatible with Nagios 2.0?
Answer  Not tested. But I coded it for easier migration to nagios 2.0 in the future :-)

Yves, 2004-12-23


Question: Nagios exports corrupt performance data
Answer  Nagios may corrupt performance data:

| 'time span'=30s

Becomes:

| time span=30s

So solve, please find this in nagios.cfg:

illegal_macro_output_chars=`~$&|'"<>

Change to:

illegal_macro_output_chars=`~$&|"<>

Ben, 2005-05-31
Question: I'm trying to user perfparsed with a label that has embedded spaces but no data shows up. Why?
Answer  Because Nagios is filtering out the quotes around the label (starting with Nagios V1.2). Make the following change to nagios.cfg:
change:

illegal_macro_output_chars=`~$&|'"

to

illegal_macro_output_chars=`~$&|"

(ie, remove the single quote)

Shoutbox

redflo, 14:25 UTC, Sun 10 of Apr, 2005: No, lneuxyuhje, this shall write to a pipe not to a file and so ">" is o.k.
lneuxyuhje, 15:14 UTC, Thu 07 of Apr, 2005: is ">" meant to be ">>" in /usr/local/perfparse/bin/perfparse_nagios_pipe_command.pl ?
redflo, 08:35 UTC, Tue 05 of Apr, 2005: fhdplbvjipsld, it works now. Permissions were wrong.
fhdplbvjipsld, 14:42 UTC, Wed 30 of Mar, 2005: How to post to Forums->Help?
benclewett, 09:27 UTC, Thu 03 of Feb, 2005: Hi Jon! I hope you like our wiki site.