Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Baseline templates in LMS regular expresion help

I am trying to write a baseline check that removes all logging statements except for my two active syslog servers. Over the years some devices still send syslog to old non-existent severs.

- logging [#!x.x.x.x|!y.y.y.y#]

x.x.x.x and y.y.y.y being the only servers I want to keep.

The check on the line above works for x.x.x.x but not for the y.y.y.y. It seems like the items on the right side of the pipe is not being evaluated.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES
New Member

Re: Baseline templates in LMS regular expresion help

Thanks

Unfortunately I am running 4.0.6 because I am still stuck on LMS 2.6 looks like the conditional statements only work after 4.1.1

O well.

Thanks

149
Views
0
Helpful
2
Replies