Add new switch display some wrong port numbers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
uzairhussainpk
Posts: 9
Joined: Tue Apr 24, 2018 10:02 am

Add new switch display some wrong port numbers

Post by uzairhussainpk »

I have added new switch using nagios wizard n/w switch
/router before finish , nagios xi scan n display ports of switch, but 1 to 14 ports are ok but after dis rest r in 7 digits which is wrong.

Thx
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Add new switch display some wrong port numbers

Post by scottwilkerson »

The switch wizard pulls the interface number right from the switch, it is quite common to have the switch assign longer interface numbers if it has virtual interfaces/VLANs, etc.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uzairhussainpk
Posts: 9
Joined: Tue Apr 24, 2018 10:02 am

Re: Add new switch display some wrong port numbers

Post by uzairhussainpk »

hi GoodMorning,

You was right , i found Vlans defined on switch through snmpwalk and same port numbers what wizard has scanned , those r vlans portnumber in 6 or 7 digits. But, my problem is I dont want this port no , I want phy. port number in serial i mean 1234...24, even added 7 digits port number displaying no mrtg graph.

kindly suggest me solution

Reg.
Masroor Ahmed.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Add new switch display some wrong port numbers

Post by scottwilkerson »

The wizard scans your switch via SNMP and grabs a list of all available ports which will include the vlans.

When it gives you the list you can name each of them by editing the text box for the service description.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uzairhussainpk
Posts: 9
Joined: Tue Apr 24, 2018 10:02 am

Re: Add new switch display some wrong port numbers

Post by uzairhussainpk »

I have added few switches on NagiosXI using N/W switch and router wizard. All switches giving me same trouble that adding hundreds of ports (7 digit vlan and phy. ports) after scanning and some giving mrtg graph and some are not even port is active and traffic is passing. what I want is, monitoring only physical ports 1 to 48 with bandwidth graph in few clicks. I can not edit port number one by one and deselect the rest because this will consume a big time to do it manually and it will be tiring as we have to add many switches on it also need some ports are not giving MRTG graph.please check the attached screen shots.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Add new switch display some wrong port numbers

Post by scottwilkerson »

The Switch/Router wizard asks your Switch/Router which ports it has available for monitoring and displays them in the table when running the wizard.

Unfortunately it has no way of knowing which ports you want to monitor so it cannot pre-select those ports.

The best I can suggest would be to click the "Un-Check All" link and select the ports you would like to monitor.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uzairhussainpk
Posts: 9
Joined: Tue Apr 24, 2018 10:02 am

Re: Add new switch display some wrong port numbers

Post by uzairhussainpk »

Hi,
The thing is my customer is not satisfying with this method to add ports n edit port one by one. He already has demo running in his environment of solarwind, he is comparing all the things with it. I would like to know one more thing that if I take one configured switch as a template to add bulk switches to monitor in nagios. Is it possible?

Reg,
Masroor
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Add new switch display some wrong port numbers

Post by scottwilkerson »

uzairhussainpk wrote:I would like to know one more thing that if I take one configured switch as a template to add bulk switches to monitor in nagios. Is it possible?
Unfortunately the Switch wizard is the only wizard you cannot use the bulk host cloning wizard against because it must create the underlying MRTG configs in the final step of the wizard.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uzairhussainpk
Posts: 9
Joined: Tue Apr 24, 2018 10:02 am

Re: Add new switch display some wrong port numbers

Post by uzairhussainpk »

So what will be solution if we need to add 80 to 100 switches and have Vlans configure on it do we need to go to each switch and do manually input the port nos whoch are displaying the 7 digits this will be a long exercise and customer is not happy and they wants some alternate solution for this, appreciate your help to resolve this
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Add new switch display some wrong port numbers

Post by scottwilkerson »

You would run the wizard once per switch and click the "Uncheck All" then select the ports you want to monitor. So it will take about 1-2 minutes per switch to configure monitoring.

I know you want a different solution but this is the only way.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked