Specifically, I'm thinking something like this:
I want to match on:
"MATLAB" u...@computer
and
"MATLAB" [email protected]
but NOT on:
"MATLAB" [email protected] (Licensed number of users already
reached. (-4,342))
or
"MATLAB" u...@computer (Licensed number of users already reached. (-4,342))
So I'm sort of thinking to use instead of:
Like "%%MATLAB%%"
somehow using this regex:
"MATLAB"{1, }?...@.*
and using event transforms to change
"MATLAB" u...@computer (Licensed number of users already reached. (-4,342))
to
"MATLAB"error u...@computer (Licensed number of users already reached.
(-4,342))
...
Any SQL / regex geniuses have an easier way to do this?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
James Pulver wrote, On 1/21/2009 3:13 PM:
> Ok, so I've got it working, and it's graphing - it was environment
> issues, and then our wrapper script wasn't executable - bunch of n00b
> issues :(
>
> Anyway, now I've hit another problem, it's matching too much due to the
> way the server sends the syslogs. Can I use a regex in the script for
> matching?
> --
> James Pulver
> Information Technology Area Supervisor
> LEPP Computer Group
> Cornell University
>
>
>
> James Pulver wrote, On 1/16/2009 3:12 PM:
>> per Chet Luthers suggestion - it's not actually doing anything with the
>> device.
>> --
>> James Pulver
>> Information Technology Area Supervisor
>> LEPP Computer Group
>> Cornell University
>>
>>
>>
>> MAGnUm wrote, On 1/16/2009 3:07 PM:
>>> why not just create a command based template for a device? and use that to
>>> generate this nagios style? why are you running it via cron?
>>>
>>>
>>>
>>>
>>> -------------------- m2f --------------------
>>>
>>> Read this topic online here:
>>> http://forums.zenoss.com/viewtopic.php?p=30161#30161
>>>
>>> -------------------- m2f --------------------
>>>
>>>
>>>
>>> _______________________________________________
>>> zenoss-users mailing list
>>> [email protected]
>>> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>> _______________________________________________
>> zenoss-users mailing list
>> [email protected]
>> http://lists.zenoss.org/mailman/listinfo/zenoss-users
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users