Search found 18 matches
- Tue Jan 12, 2016 2:01 pm
- Forum: Nagios XI
- Topic: Newline not working in email alert
- Replies: 9
- Views: 2897
Re: Newline not working in email alert
Yep, you may close this thread. Thanks
- Mon Jan 11, 2016 3:06 pm
- Forum: Nagios XI
- Topic: Newline not working in email alert
- Replies: 9
- Views: 2897
Re: Newline not working in email alert
Can you try putting the <br> in double quotes? "" and see if that has an affect? Tried that, still no luck. However, a coworker found a solution. He edited the "xi_service_notification_handler" in the Commands config section to include: --longserviceoutput="$$(echo "$L...
- Fri Jan 08, 2016 3:17 pm
- Forum: Nagios XI
- Topic: Newline not working in email alert
- Replies: 9
- Views: 2897
Re: Newline not working in email alert
Here is the mail header: Received: from exch-cas3.company.com (2002:a88d:c9bf::a88d:c9bf) by exch-cas2.company.com (2002:a88d:c9a5::a88d:c9a5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 8 Jan 2016 15:12:11 -0500 Received: from localhost.localdomain (168.141.208.19) by exch-cas3 (168.141.20...
- Fri Jan 08, 2016 2:53 pm
- Forum: Nagios XI
- Topic: Newline not working in email alert
- Replies: 9
- Views: 2897
Re: Newline not working in email alert
It's really hard to say without knowing more details. Can you post the script? How do you have it set up to run in Nagios? Just a notification command? Is your email client able to understand what \n means or is it displaying in HTML and needs <br /> instead? It's the check_wmi_plus.pl script and I...
- Fri Jan 08, 2016 2:43 pm
- Forum: Nagios XI
- Topic: Newline not working in email alert
- Replies: 9
- Views: 2897
Newline not working in email alert
Hello, I've created a perl script that outputs the results with a newline, which works fine in Nagios: OK - S:\\ Total=50.00GB, Used=5.45GB (10.9%), Free=44.55GB (89.1%) OK - E:\\ Total=300.00GB, Used=183.35GB (61.1%), Free=116.64GB (38.9%) CRITICAL - [Triggered by _Free%<10] - D:\\ Total=600.00GB, ...
- Wed Dec 17, 2014 3:29 pm
- Forum: Nagios XI
- Topic: Getting recovery emails ONLY
- Replies: 1
- Views: 467
Re: Getting recovery emails ONLY
After reading around and looking at plugins, I stumbled upon the "Negate" plugin. I have since reversed the Critical and OK return codes and it seems to have solved my issue. For reference in case anyone else has this issue, check out: http://assets.nagios.com/downloads/nagiosxi/docs/Using...
- Wed Dec 17, 2014 3:00 pm
- Forum: Nagios XI
- Topic: Getting recovery emails ONLY
- Replies: 1
- Views: 467
Getting recovery emails ONLY
I have a service check that looks for a file at all times of the day. The user being notified only wants alerts to be sent when the file appears in the directory. I do NOT want any critical or warning notifications to be sent. I only want the OK (recovery) emails to be sent. I tried unchecking all t...
- Fri Dec 05, 2014 9:54 am
- Forum: Nagios XI
- Topic: Checkfilesize wildcard in filepath
- Replies: 6
- Views: 2371
Re: Checkfilesize wildcard in filepath
I received a reply from the checkwmiplus developer: It can be done but it can timeout the plugin so I did not include it. Try this add -d -z to the command line (without any wildcards) Look near the top of the output for the wmic command used "QUERY:" Run the wmic command from the command ...
- Fri Dec 05, 2014 9:47 am
- Forum: Nagios XI
- Topic: Time periods not working as intended
- Replies: 3
- Views: 712
Re: Time periods not working as intended
Looks like you're right about the time window - as soon as I increased it to 25 minutes it started working as intended. I guess I'll just have to live with a bit of a longer check timeframe, not too big of a deal 
Thank you
Thank you
- Thu Dec 04, 2014 11:43 am
- Forum: Nagios XI
- Topic: Time periods not working as intended
- Replies: 3
- Views: 712
Time periods not working as intended
I set the time period for a check to be Thursday 11:35-11:45: define timeperiod { timeperiod_name zzTest alias TestTime thursday 11:35-11:45 } define service { host_name server1 service_description Test file checker use generic-service check_command share-file-check!$USER3$!$USER4$!D$!downloads/test...