IP's exclusions in Nagios XI Auto-discovery

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nfrank
Posts: 2
Joined: Tue Feb 27, 2018 11:04 am

IP's exclusions in Nagios XI Auto-discovery

Post by nfrank »

Hi, I used Auto-discovery to find out host in subnets but something did wrong.
I used the following parameters:

Scan Target: 10.25.0.0/16
Exclude IPs: 10.25.0.0-10.25.31.255, 10.25.33.0-10.25.34.255, 10.25.37.0-10.25.44.255, 10.25.46.0-10.25.255.255

Is it correct the list of IPs exclusions?

Thank you in advance!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: IP's exclusions in Nagios XI Auto-discovery

Post by scottwilkerson »

You would want this for the excludes
Exclude IPs:

Code: Select all

10.25.0.0/24,10.25.33.0/24,10.25.37.0/24,10.25.46.0/24
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
nfrank
Posts: 2
Joined: Tue Feb 27, 2018 11:04 am

Re: IP's exclusions in Nagios XI Auto-discovery

Post by nfrank »

To be correct, I would scan (for example) the subnet 10.25.0.0/16 excluding these ranges:

from 10.25.0.0 to 10.25.31.255
from 10.25.33.0 to 10.25.34.255
from 10.25.37.0 to 10.25.44.255
from 10.25.46.0 to 10.25.255.255

The result of the subnets scan should be:
10.25.32.0/24
10.25.35.0/24
10.25.36.0/24
10.25.45.0/24

Is this correct? How I can these values into the Nagios Auto-discovery?
Thank you!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: IP's exclusions in Nagios XI Auto-discovery

Post by scottwilkerson »

Sorry, I mis-read your post, exclude would be:

Code: Select all

10.25.0.0/19,10.25.33.0/24,10.25.34.0/24,10.25.37.0/24,10.25.38.0/24,10.25.39.0/24,10.25.40.0/22,10.25.44.0/24,10.25.46.0/24,10.25.47.0/24,10.25.48.0/20,128.25.64.0/18,128.25.128.0/17

Code: Select all

http://www.subnet-calculator.com/subnet.php?net_class=B
or, you run the scan on

Code: Select all

128.25.32.0/20
and exclude

Code: Select all

10.25.33.0/24,10.25.34.0/24,10.25.37.0/24,10.25.38.0/24,10.25.39.0/24,10.25.40.0/22,10.25.44.0/24,10.25.46.0/24,10.25.47.0/24
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked