LOG CHECK SENDING ALERTS OF OLD TIMESTAMP
Posted: Fri Jul 21, 2017 12:10 pm
I am using check logfile check in order to generate alert for the critical pattern form the log file in past few days i have received the alert in Nagios with old time stamp.
Can you let me know what should i check attaching the alert generated on the Nagios.
Below is the configuration to generate critical pattern :
SSH:nagios@HNUSS2# cat AuthCri.conf
$seekfilesdir = '/export/home/nagios/logfile_basedir/tmp';
$protocolsdir = '/export/home/nagios/logfile_basedir/tmp';
$scriptpath = '/export/home/nagios/bin';
#$MACROS = { CL_DISK01 => "/dev/dsk/c0d1", CL_DISK02 => "/dev/dsk/c0d2" };
@searches = (
{
tag => 'Authcri',
warningpatterns => ['auth.crit] rebooted by'] ,
#okpatterns => ['ALARM_CLR'] ,
options => 'sticky=1800,noprotocol,report=long,allyoucaneat',
logfile => '/var/log/authlog'
}
);
Can you let me know what should i check attaching the alert generated on the Nagios.
Below is the configuration to generate critical pattern :
SSH:nagios@HNUSS2# cat AuthCri.conf
$seekfilesdir = '/export/home/nagios/logfile_basedir/tmp';
$protocolsdir = '/export/home/nagios/logfile_basedir/tmp';
$scriptpath = '/export/home/nagios/bin';
#$MACROS = { CL_DISK01 => "/dev/dsk/c0d1", CL_DISK02 => "/dev/dsk/c0d2" };
@searches = (
{
tag => 'Authcri',
warningpatterns => ['auth.crit] rebooted by'] ,
#okpatterns => ['ALARM_CLR'] ,
options => 'sticky=1800,noprotocol,report=long,allyoucaneat',
logfile => '/var/log/authlog'
}
);