Quick question... I hope!
Posted: Thu Feb 14, 2013 2:48 pm
Hello everyone, new to the forums and Nagios in general.
I've been working on migrating a Nagios core 3.1.0 installation from an old linux box to a new one.
With a few minor speed bumps I've gotten everything looking good with a few small exceptions.
The biggest issue that remains is this:
I have two nrpe checks that are returning with a 127 error.
From my commands.cfg (these are the commands I'm using to check event logs on a windows server.)
# 'check_event_log' command definition
define command {
command_name check_event_log
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckEventLog -a filter=new file=system file=application MaxWarn=40 MaxCrit=50 filter-generated=\>12h filter+eventType==error truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
}
and
# 'check_event_log_diskerror' command definition
define command {
command_name check_event_log_diskerror
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckEventLog -a filter=new file=system MaxWarn=1 MaxCrit=2 filter-generated=\>12h filter+eventSource==disk truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
}
Check_nrpe is in my /usr/local/nagios/libexec folder and I'm using NSClient++ on the windows computers.
I've been working on migrating a Nagios core 3.1.0 installation from an old linux box to a new one.
With a few minor speed bumps I've gotten everything looking good with a few small exceptions.
The biggest issue that remains is this:
I have two nrpe checks that are returning with a 127 error.
From my commands.cfg (these are the commands I'm using to check event logs on a windows server.)
# 'check_event_log' command definition
define command {
command_name check_event_log
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckEventLog -a filter=new file=system file=application MaxWarn=40 MaxCrit=50 filter-generated=\>12h filter+eventType==error truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
}
and
# 'check_event_log_diskerror' command definition
define command {
command_name check_event_log_diskerror
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckEventLog -a filter=new file=system MaxWarn=1 MaxCrit=2 filter-generated=\>12h filter+eventSource==disk truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
}
Check_nrpe is in my /usr/local/nagios/libexec folder and I'm using NSClient++ on the windows computers.