Is there a way to exclude a Ip from the specific discovery pattern, not from the discovery exclusion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2024 10:31 PM
Hi Developers...
Good morning... !
I have a server, which I want to exclude from the pattern execution of specific application. But it should be discovered in general (OS) discovery process. Is there a way to achive this.
scenario is like: In a subnet, Have a windows server, on that server tomcat webserver is running. I want to discover that subnet, On that windows server when patterns executing windows pattern execution should work. But, tomcat pattern should not be execute on that server.
Can we acheive the requirement.
Thanks in advance...
Regards
Sabari

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2024 07:57 AM - edited ‎11-28-2024 07:58 AM
A couple options... neither of these are good and I do NOT recommend doing them 🙂 but since you asked, here is a bad idea (lol) if you REALLY want to do this.
Modify default OOB tomcat pattern, and early in its logic, check for that server (IP, name or some other id) and cancel the pattern from running.
Another idea that might work...? but I also don't recommend it either.
A. make a copy of the tomcat pattern
B. personalize the copy of the tomcat copied pattern with logic to stop running based up on X logic (server name, IP or whatever...)
I'm opposed to these ideas because they are not scalable or practical to maintain in the long run. Eventually, server names/IP's/whatever changes, and this fragile logic will break.
My 2 cents.....since you asked...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2024 08:11 PM
Hey Dave,
Thank you for the idea... seems I can give a try on the second option to make a copy of tomcat pattern and tweak it with the requirement.
Thank you very much for the idea.