Hi, Check the /usr/local/nagios/etc/nrpe.cfg for the configured command nsc_checkeventlog. I guess that one does not have quotes around the arguments.
Modify && restart nrpe hth paul -----Original message----- To: 'Opsview Users' <[email protected]>; From: Jacob d'Andrade <[email protected]> Sent: Wed 04-05-2011 13:02 Subject: [opsview-users] Event log check - where there are spaces in the log name. Attachment: inline.txt > Hi’ > > > > I’m posting my problem here since the web forum says my submission is spam, > and > won’t let me post it J > > > > I'm trying to monitor a event log that VMWare has created... But my problem > is > that there are spaces in the name... > > > > I've taken the original command string: > > check_nrpe -H $HOSTADDRESS$ -c nsc_checkeventlog -a 'filter=new > file=application filter+generated=<1h filter-eventType==info filter=in > filter=all descriptions truncate=1023 unique MaxWarn=1 MaxCrit=2' > > > > And modified it like this: > > check_nrpe -H $HOSTADDRESS$ -c nsc_checkeventlog -a 'filter=new > file=vReplicator Service filter+generated=<1h filter-eventType==info > filter=in > filter=all descriptions truncate=1023 unique MaxWarn=1 MaxCrit=2' > > > > The check the returns: > > Status Information: Unknown argument: Service > > > > I’ve tried with ‘’ around the name and “”, and replaced the ‘ before filter > and > replaced those with “ and then ‘ around the file name, but nothing helps. > > > > Does anyone have a fix for this :-) > > > > Thanks in advance. > > > > Kind regards Jacob > > > > > > Mvh. > > Jacob d'Andrade > > _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
