Search found 10 matches

by JoeGeorge
Mon Jan 06, 2014 7:38 pm
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

SOLVED: I had to abandon the perl script. Big CREDIT to jwalton from here - http://www.opsview.com/forum/opsview-community-edition/how-do-i/ways-acknowledge-notification I use his 2 scripts. They work right away. To Scott and Spencer from this forum, I truly appreciate your help. In the end, there w...
by JoeGeorge
Mon Jan 06, 2014 5:00 pm
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

Here they go, after I reply to an email alert and wait for the script to kick in... (EMPTY, nothing) [nagios@cdcxvr1269 rw]$ tail -f nagios.cmd tail -f /usr/local/nagios =================== nagios.log ============ [1389044635] SERVICE ALERT: cdcxvr1269;fs root;CRITICAL;SOFT;1;DISK CRITICAL - free sp...
by JoeGeorge
Mon Jan 06, 2014 1:38 pm
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

Thank you Spencer... I hope that I can make it clear. Bear with me. The user who executes it, I am not sure. I believer it's "nagios". Reason I say that is, here is what happens: 1. An email alert goes out to several recipients (including myself). As this is a test, only I reply. 2. After ...
by JoeGeorge
Mon Jan 06, 2014 1:04 pm
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

Here they are... under /home/nagios: -rw-r--r-- 1 nagios nagcmd 681 Jan 6 08:34 .procmailrc The above source file works as it kicks in the script below correctly. -rwxr-xr-x 1 nagios nagios 6834 Jan 6 08:41 /usr/local/nagios/etc/scripts/nagios-ack-by-email-dev.pl ( i use the dev, so I can change if ...
by JoeGeorge
Mon Jan 06, 2014 12:04 pm
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

OK.. I changed the script so the line is like this: my $msg = ""; my $acked = 0; my $debug = 1; ##my $commandfile = "/home/nagios/nagios.cmd.test"; my $commandfile = "/usr/local/nagios/var/rw/nagios.cmd"; portion of nagios.log - check the "server1269" - NO ACK...
by JoeGeorge
Sat Jan 04, 2014 11:40 pm
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

I will try to change it back to nagios.cmd

It was that way before. It didn't work.
So I needed to change it to see what was written to it.

I'll update again later after I am back in the office and try.

thanks
by JoeGeorge
Fri Jan 03, 2014 10:47 am
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

By the way...

How is this "ACKNOWLEDGE_SVC_PROBLEM" invoked?
where is this built-in function located?
Is there a way to execute it manually - at will?

What is the actual nagios script/built-in task that makes the change to an alert?

thank you
by JoeGeorge
Fri Jan 03, 2014 10:43 am
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

Here are the error_log files. No error reported for January 2014 yet. When I last tested auto ack via email was yesterday - 2 Jan 2014. # ls -al error* -rw-r--r-- 1 root root 255 Dec 29 03:13 error_log -rw-r--r-- 1 root root 331 Dec 8 03:48 error_log-20131208 -rw-r--r-- 1 root root 331 Dec 15 03:37 ...
by JoeGeorge
Thu Jan 02, 2014 2:12 pm
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

Re: Nagios 3.5 - auto acknowledge almost works... almost

Other service items that I acknowledge manually, I can view the acknowledgement without any problem. My problem is very strange. Based on gut feelings, there may be a tiny minor thing that I could have missed. Maybe you guys can point to that right direction. what have been confirmed: - the procmail...
by JoeGeorge
Thu Jan 02, 2014 9:59 am
Forum: Open Source Nagios Projects
Topic: SOLVED - Nagios 3.5. auto acknowledge almost works... almost
Replies: 15
Views: 9602

SOLVED - Nagios 3.5. auto acknowledge almost works... almost

I am a novice in perl programming. And thank you in advance for reading and trying to solve my issue. Problem: It seems that the final step is never achieved. I replied to a CRITICAL alert using email (on my smart phone), Nagios seems to know about it and processes it. But an acknowledge icon never ...