Menu

#3 CheckEventLog Blank in Name

open
nobody
None
5
2013-01-10
2008-10-21
Anonymous
No

Hello,

i tried to check an Event Log with an Blank in it's name, like "Directory Service", but NSClient++ recognized the input as two Words.

Here is the Output (i tried " and ')

Event-Log Directory Service:

CheckEventLog file="Directory Service" MaxWarn=5 MaxCrit=10 filter-generated=>2h filter=out
d \NSClient++.cpp(910) Injecting: CheckEventLog: file="Directory, Service, MaxWarn=5, MaxCrit=10, filter-generated=>2h, filter=out
d \NSClient++.cpp(946) Injected Result: WARNING 'Unknown argument: Service'
d \NSClient++.cpp(947) Injected Performance Result: ''
WARNING:Unknown argument: Service

CheckEventLog file='Directory Service' MaxWarn=5 MaxCrit=10 filter-generated=>2h filter=out
d \NSClient++.cpp(910) Injecting: CheckEventLog: file='Directory, Service', MaxWarn=5, MaxCrit=10, filter-generated=>2h, filter=out
d \NSClient++.cpp(946) Injected Result: WARNING 'Unknown argument: Service''
d \NSClient++.cpp(947) Injected Performance Result: ''
WARNING:Unknown argument: Service'

Is it possible to fix it, or is there an other way to do the check?

Thank you and Greetings from Germany

Ronald Beutinger
(ronald.beutinger@kreditwerk.de)

Discussion


Log in to post a comment.