Page 1 of 1
Add new switch display some wrong port numbers
Posted: Tue Mar 26, 2019 6:11 am
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
Re: Add new switch display some wrong port numbers
Posted: Tue Mar 26, 2019 8:12 am
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.
Re: Add new switch display some wrong port numbers
Posted: Thu Mar 28, 2019 1:30 am
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.
Re: Add new switch display some wrong port numbers
Posted: Thu Mar 28, 2019 7:17 am
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.
Re: Add new switch display some wrong port numbers
Posted: Sun Mar 31, 2019 1:42 pm
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.
Re: Add new switch display some wrong port numbers
Posted: Mon Apr 01, 2019 10:22 am
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.
Re: Add new switch display some wrong port numbers
Posted: Mon Apr 01, 2019 3:11 pm
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
Re: Add new switch display some wrong port numbers
Posted: Mon Apr 01, 2019 3:27 pm
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.
Re: Add new switch display some wrong port numbers
Posted: Wed Apr 03, 2019 5:14 am
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
Re: Add new switch display some wrong port numbers
Posted: Wed Apr 03, 2019 7:29 am
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.