Ports not detected on switch using Network switch wizzard
-
TorqueSteer
- Posts: 26
- Joined: Thu Mar 30, 2017 10:18 am
Ports not detected on switch using Network switch wizzard
Hi,
I'm unable to detect any network ports on one of my switches. I'm using the latest Nagios XI build running from the downloaded template.
I've not had any problems before and have numerous switches setup in the same way. I've tried using the troubleshooting tip
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:161::::2'
But when i try and run it as the root user on the XI console, i get the following error: -bash: /USR/BIN/CFGMAKER: No such file or directory
Any help would be much appreciated! Please excuse me as i'm fairly new to Nagios and linux boxes, so apologies if i've missed out any info.
cheers,
Al
I'm unable to detect any network ports on one of my switches. I'm using the latest Nagios XI build running from the downloaded template.
I've not had any problems before and have numerous switches setup in the same way. I've tried using the troubleshooting tip
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:161::::2'
But when i try and run it as the root user on the XI console, i get the following error: -bash: /USR/BIN/CFGMAKER: No such file or directory
Any help would be much appreciated! Please excuse me as i'm fairly new to Nagios and linux boxes, so apologies if i've missed out any info.
cheers,
Al
Re: Ports not detected on switch using Network switch wizzar
Let's start with this: Is this a new installation or an old one that's been updated? If it's new, when did you download the appliance?
Can you post the output from please?
And lastly, the output from
Can you post the output from
Code: Select all
ls -l /usr/bin/cfg*And lastly, the output from
Code: Select all
yum repolistEric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
TorqueSteer
- Posts: 26
- Joined: Thu Mar 30, 2017 10:18 am
Re: Ports not detected on switch using Network switch wizzar
It's an instalation that was downloaded from the Nagios page (Hyper-V) as trial around march/april this year and then updated using the built in Nagios updater.
When I try and run those commands I get a command not found error. I am just typing in what you have posted logged in as the root user.
When I try and run those commands I get a command not found error. I am just typing in what you have posted logged in as the root user.
Re: Ports not detected on switch using Network switch wizzar
It sounds as though your system may not have a proper shell set up.
Try
and see if you get anything.
Try
Code: Select all
/bin/ls -l /usr/binEric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
TorqueSteer
- Posts: 26
- Joined: Thu Mar 30, 2017 10:18 am
Re: Ports not detected on switch using Network switch wizzar
Ahh I see,
yes that got me a result:
yes that got me a result:
You do not have the required permissions to view the files attached to this post.
Re: Ports not detected on switch using Network switch wizzar
Without trying to figure out why you have incorrect shell settings or how to fix them, try this:
Then try all the commands that weren't working properly for you before.
Code: Select all
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
TorqueSteer
- Posts: 26
- Joined: Thu Mar 30, 2017 10:18 am
Re: Ports not detected on switch using Network switch wizzar
Progress! Sort of....
Looks like Nagios is getting no response from the switch over SNMP, i've checked the settings on the switch and it is setup correctly. Could timeout be the issue?
Looks like Nagios is getting no response from the switch over SNMP, i've checked the settings on the switch and it is setup correctly. Could timeout be the issue?
You do not have the required permissions to view the files attached to this post.
Re: Ports not detected on switch using Network switch wizzar
I'm not a big SNMP person, and I've never actually used cfgmaker, so you'll have to wait for someone from Nagios Enterprises to wake up and join the conversation. 
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
TorqueSteer
- Posts: 26
- Joined: Thu Mar 30, 2017 10:18 am
Re: Ports not detected on switch using Network switch wizzar
No problem, thanks for all of your help!eloyd wrote:I'm not a big SNMP person, and I've never actually used cfgmaker, so you'll have to wait for someone from Nagios Enterprises to wake up and join the conversation.
Re: Ports not detected on switch using Network switch wizzar
It does appear to be timing out. This could be due to a firewall between the Nagios server and 10.69.132.1 or a misconfiguration somewhere.
Is the Nagios server able to ping 10.69.132.1?
You also want to be sure that UDP port 161 isn't getting blocked by a firewall on the Nagios server, or between the Nagios server and destination or on the destination itself. Check iptables on the Nagios server with:
UDP port 161 is the default snmp port. Is this the port 10.69.132.1 is configured to use?
Is the Nagios server able to ping 10.69.132.1?
You also want to be sure that UDP port 161 isn't getting blocked by a firewall on the Nagios server, or between the Nagios server and destination or on the destination itself. Check iptables on the Nagios server with:
Code: Select all
iptables -L -n As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.