HOW to AUTO DISCOVER PORT DESCRITION OF SWiTCHES

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

HOW to AUTO DISCOVER PORT DESCRITION OF SWiTCHES

Post by sarfarosh »

Hello Geeks,
I am trying to configure nodes in Nagios XI there are around 5000 nodes so i have done auto discovery but it just adds Public metrics for monitoring but i want Autodiscovery to also
list down all the Port of switches & bandwidth monitoring of each port,can anyone let me know how should i go for it ......?????????
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: HOW to AUTO DISCOVER PORT DESCRITION OF SWiTCHES

Post by scottwilkerson »

Autodiscovery can't do that, but running the Network Switch / Router Wizard can pull down all of the switch /router ports on a device...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: HOW to AUTO DISCOVER PORT DESCRITION OF SWiTCHES

Post by sarfarosh »

1. Running Network Switch / Router Wizard for 5000 nodes would be quite time consuming & stressful , is there no other work around which can recognize all the services & port of switches in one go like it does in Network Switch / Router Wizard,
2. when we run the Network Switches/ Router wizards it just pick up the port not the Port Description how can we make nagios work to to pick up the Private metrics of switches & Router ( ie. Port Name, Host name of switches)
3. we have around 1000 volktek Switches in our network, nagios discovers it as a Linux server and not as a Switch
Help on the above point will be where much appreciated.
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: HOW to AUTO DISCOVER PORT DESCRITION OF SWiTCHES

Post by sarfarosh »

scottwilkerson wrote:Autodiscovery can't do that, but running the Network Switch / Router Wizard can pull down all of the switch /router ports on a device...
But adding 5000 Nodes manually would be where much stressful & time consuming any help in below point would be very much helpful

1. is there any way in which i can add all the network Switches in bulk

2. majority of the Switches in network are of VOLKTEK make and nagios detect it as LINUX server with OS Linux 2.4.X so we are not able to monitor ports & bandwidth of switches through nagios can you please help me how should i go with it

3. and also we are not able to monitor some of the 3com switches when we add it gives the error No ports were detected on the switch. Possible reasons for this include:
when i run cfgmaker --show-op-down --zero-speed=100000000 --snmp-options=:::::1 --noreversedns public@172.17.241.13 output is as follow
[root@localhost etc]# cfgmaker --show-op-down --zero-speed=100000000 --snmp-options=:::::1 --noreversedns public@172.17.241.13
SNMP Error:
no response received
SNMPv1_Session (remote host: "172.17.241.13" [172.17.241.13].161)
community: "public"
request ID: -394090330
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@172.17.241.13:::::1:v4only
at /usr/bin/cfgmaker line 918
WARNING: Skipping public@172.17.241.13:::::1 as no info could be retrieved

# Created by
# /usr/bin/cfgmaker --show-op-down --zero-speed=100000000 --snmp-options=:::::1 --noreversedns public@172.17.241.13


### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System:
# Description:
# Contact:
# Location:
######################################################################


You have new mail in /var/spool/mail/root
[root@localhost etc]#


any help on above point would be very much appreciated
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: HOW to AUTO DISCOVER PORT DESCRITION OF SWiTCHES

Post by scottwilkerson »

this is likely because one of the following:

this switch doesn't use SNMP v1
this switch has a different community string that the one provided
there is a firewall/router between the XI machine and the switch that is dropping the UDP packets
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: HOW to AUTO DISCOVER PORT DESCRITION OF SWiTCHES

Post by sarfarosh »

thank for the prompt Reply
but why are volktek switches recognized as Linux server ? how can i make nagios xi to monitor it as Switches for port description & bandwidth monitoring
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: HOW to AUTO DISCOVER PORT DESCRITION OF SWiTCHES

Post by abrist »

sarfarosh wrote:thank for the prompt Reply
but why are volktek switches recognized as Linux server ?
There is a good chance the switches run embedded linux, some form of a microkernel as they have telnet/ssh support. It could also be that the OS detection finds the ssh server as a linux varient.
how can i make nagios xi to monitor it as Switches for port description & bandwidth monitoring
Switch/port/bandwidth monitoring requires snmp. As Scott already mentioned, you will have to identify what the snmp version and community string your switch uses and make sure that snmp is enabled on the switch.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.