Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Syslog settings with various combinations of names #723

Open
TechnoNotice opened this issue Jan 11, 2021 · 1 comment
Open

Check Syslog settings with various combinations of names #723

TechnoNotice opened this issue Jan 11, 2021 · 1 comment

Comments

@TechnoNotice
Copy link

We have multiple syslog servers configured on the hosts with a site specific server configured as a second target.

udp://syslog.domin.com:514,tcp://syslog-SITE1.sec.domain.com:514 OR udp://syslog.domin.com:514,tcp://syslog-SITE2.sec.domain.com:514

Is it possible to get vCheck to check both possibilities? If so what would the format be?

@TechnoNotice TechnoNotice changed the title Check multiple with various combinations of names Check Syslog settings with various combinations of names Jan 11, 2021
@Sneddo
Copy link
Collaborator

Sneddo commented Jan 11, 2021

I don't believe this is possible. It looks like the plugin essentially finds all syslog servers for a host and concatenate to a comma seperated string, which is then tested for it to be equal to the setting in the plugin.

Off the top of my head, you could potentially change the -ne to a -notmatch which should mean you could use regex in the $SyslogServer setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants