When trying to verify with Nagios, it seems to stop reading the string
on the first comma it comes accross. The Nagios documentation is a
little light with how to use regex other than using wildcards.
Is what I am trying to do, actually possible?
Cheers.
Error: Could not find any host matching '^(host|gost)\d{1'
> kerry,
>
> note
>
> ^(host|gost)\d{1,2}\.\w+\.$
>
> change it to
> ^(host|gost)\d{1,2}\.\w+\.\w+$
>
> and test again.
>
> Learner
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null