Hi, Run the command from the local machine until you have a working syntax, using the example you gave.
If that works, adapt it to use of variables, including double quotes on the proper location if that works, test it from the central nrpe executing machine then configure it. hth Paul -----Original message----- To: 'Opsview Users' <[email protected]>; From: Jacob d'Andrade <[email protected]> Sent: Wed 04-05-2011 13:20 Subject: Re: [opsview-users] Event log check - where there are spaces in the log name. Attachment: inline.txt > Hi’ > > Thanks for your reply. > > It changed something, the output of the check is now: > > Unknown argument: filter > > > > Other suggestions are more than welcome :-) > > > > > > > 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' ; > From: Jacob d'Andrade > 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= > > 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= > > 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 > > _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
