Search found 6 matches

by steph280
Mon Aug 29, 2016 1:09 pm
Forum: Nagios XI
Topic: Check for strings in a log file - disable autoclear?
Replies: 7
Views: 439

Re: Check for strings in a log file - disable autoclear?

Also the External Scripts entry in the NSC.conf file from the client being monitored:
check_log3 = scripts\check_log3.exe -l "c:\logs\today.log" -p CRITICAL|MAJOR -c 1
by steph280
Mon Aug 29, 2016 12:59 pm
Forum: Nagios XI
Topic: Check for strings in a log file - disable autoclear?
Replies: 7
Views: 439

Re: Check for strings in a log file - disable autoclear?

send-service-trap # Arguments: # $1 = Management Station # $2 = Community String # $3 = host_name # $4 = service_description (Description of the service) # $5 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $6 = plugin_output (...
by steph280
Fri Aug 26, 2016 4:05 pm
Forum: Nagios XI
Topic: Check for strings in a log file - disable autoclear?
Replies: 7
Views: 439

Re: Check for strings in a log file - disable autoclear?

we decided to just forward the result of check_log3.exe to a netcool server as soon as it detects a CRITICAL text string in the log file. This is done using a custom "send-service-trap" event handler that sends the alarm via SNMP trap. This is working fine, alarms are being sent to Netcool...
by steph280
Mon Aug 22, 2016 1:17 pm
Forum: Nagios XI
Topic: Check for strings in a log file - disable autoclear?
Replies: 7
Views: 439

Check for strings in a log file - disable autoclear?

I currently have Nagios setup to run (through check_nrpe) check_log3.exe on windows 2008 server to report back any instance of strings "CRITICAL" in an application log file. Things are working fine, except the following scenario: When a "CRITICAL" shows up in the log file, check_...
by steph280
Tue Jun 24, 2014 12:18 pm
Forum: Open Source Nagios Projects
Topic: Can Nagios pull logs from MSMQ queue?
Replies: 4
Views: 2430

Re: Can Nagios pull logs from MSMQ queue?

I have not had a chance to set that up yet since we don't have a test box in the live environment yet. I have no experience with visual basic so there will be some learning curve. I'm sure I will have a bunch more questions during the setup process.

Thanks again for the help!
by steph280
Thu Jun 19, 2014 4:35 pm
Forum: Open Source Nagios Projects
Topic: Can Nagios pull logs from MSMQ queue?
Replies: 4
Views: 2430

Can Nagios pull logs from MSMQ queue?

Greetings, my first post here. I'm looking at the possibility of using Nagios to monitor an application platform. One criteria is the ability for Nagios to read the MSMQ queue, and generate alarms if it recognizes any key words such as "XXXX Application down." I did some search and only ca...