Hello,
I just got my NagiosXI trial copy up and running (I'm on a stand alone system) and I'm
trying to monitor a switch. Here is the command and the error I got along with the
output as suggested in "Step 2" of the configuration wizard. Any help would be greatly
appreciated.
Thank you.
[libexec]# /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' --enablesnmpv3
--snmp-options=:::::3 --username='snmpuser' --authprotocol='md5' --authpassword='Seawatch*12'
--privprotocol='des' --privpassword='Seawatch*12' --contextengineid=0 '192.168.17.112'
--base: SNMP V3 libraries found, SNMP V3 enabled.
--base: Get Device Info on [email protected]:::::3
SNMPopen failed: Received usmStatsUnsupportedSecLevels.0 Report-PDU with value 9 during
synchronization at /usr/bin/../lib/mrtg2/Net_SNMP_util.pm line 1580
Net_SNMP_util::snmpopen('[email protected]:::::3:v4only', 0, 'ARRAY(0x2837bb0)') called at /usr/bin/../lib/mrtg2/Net_SNMP_util.pm line 1690
Net_SNMP_util::snmpwalk_flg('[email protected]:::::3:v4only', undef, 'HASH(0x21325b8)', 1.3.6.1.2.1.1) called at /usr/bin/../lib/mrtg2/Net_SNMP_util.pm line 786
Net_SNMP_util::snmpwalk('[email protected]:::::3:v4only', 'HASH(0x21325b8)', 1.3.6.1.2.1.1) called at /usr/bin/cfgmaker line 951
main::DeviceInfo('[email protected]:::::3', 'HASH(0x2132678)', 'HASH(0x21325b8)') called at /usr/bin/cfgmaker line 142
main::main() called at /usr/bin/cfgmaker line 160
SNMPWALK Problem for [email protected]:::::3:v4only at /usr/bin/cfgmaker line 951
WARNING: Skipping [email protected]:::::3 as no info could be retrieved
Use of uninitialized value $comment_sysdescr in substitution (s///) at /usr/bin/cfgmaker line 379.
Use of uninitialized value $sysname in concatenation (.) or string at /usr/bin/cfgmaker line 412.
Use of uninitialized value $comment_sysdescr in concatenation (.) or string at /usr/bin/cfgmaker line 412.
Use of uninitialized value $syscontact in concatenation (.) or string at /usr/bin/cfgmaker line 412.
Use of uninitialized value $syslocation in concatenation (.) or string at /usr/bin/cfgmaker line 412.
# Created by
# /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed 100000000 --enablesnmpv3 --snmp-options=:::::3 --username=snmpuser --authprotocol=md5 "--authpassword=Seawatch*12" --privprotocol=des "--privpassword=Seawatch*12" --contextengineid=0 192.168.17.112
### 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:
######################################################################
enablesnmpv3: yes
"No Ports Detected" Network Switch/Router setup
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: "No Ports Detected" Network Switch/Router setup
What's the output of snmpwalk -c public -v 3 192.168.17.112?
If that gives an obvious error, can you also provide the output of snmpwalk -c public -v 2c 192.168.17.112?
Thanks!
If that gives an obvious error, can you also provide the output of snmpwalk -c public -v 2c 192.168.17.112?
Thanks!
Re: "No Ports Detected" Network Switch/Router setup
>> What's the output of snmpwalk -c public -v 3 192.168.17.112?
No log handling enabled - turning on stderr logging
snmpwalk: No securityName specified.
>>If that gives an obvious error, can you also provide the output of snmpwalk -c public -v 2c 192.168.17.112?
Timeout: No Response from 192.168.17.112
No log handling enabled - turning on stderr logging
snmpwalk: No securityName specified.
>>If that gives an obvious error, can you also provide the output of snmpwalk -c public -v 2c 192.168.17.112?
Timeout: No Response from 192.168.17.112
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: "No Ports Detected" Network Switch/Router setup
Please install the following Perl module via yum install perl-Crypt-Rijndael -y
Run through the configuration wizard again and report any errors. Thanks!
Run through the configuration wizard again and report any errors. Thanks!
Re: "No Ports Detected" Network Switch/Router setup
>>Please install the following Perl module via yum install perl-Crypt-Rijndael -y
I'm on a stand alone so can't use yum.
Couldn't find the rpm on the Rhel site, found the following on rpmfind.net:
perl-Crypto-Rijndael-1.09-2.el6.x86_64.rpm
When I do the install it says its already there, but it wasn't. I checked first.
When I re-ran ./fullinstall, from a fresh restore of the system, the only odd things
I noticed are:
This system is not registered...
chown: cannot access '/etc/openldap/cacerts': No such file or directory
/bin/chmod: <same>
The snmpwalk commands no change.
However, I tried the following and it works:
./check_snmp -H 192.168.17.112 -P 3 -U usrname -L authNoPriv -A myPasswrd -o ifOperStatus.10001 -r1
I get SNMP OK - up(1)
Thanks.
Run through the configuration wizard again and report any errors. Thanks!
I'm on a stand alone so can't use yum.
Couldn't find the rpm on the Rhel site, found the following on rpmfind.net:
perl-Crypto-Rijndael-1.09-2.el6.x86_64.rpm
When I do the install it says its already there, but it wasn't. I checked first.
When I re-ran ./fullinstall, from a fresh restore of the system, the only odd things
I noticed are:
This system is not registered...
chown: cannot access '/etc/openldap/cacerts': No such file or directory
/bin/chmod: <same>
The snmpwalk commands no change.
However, I tried the following and it works:
./check_snmp -H 192.168.17.112 -P 3 -U usrname -L authNoPriv -A myPasswrd -o ifOperStatus.10001 -r1
I get SNMP OK - up(1)
Thanks.
Run through the configuration wizard again and report any errors. Thanks!
Re: "No Ports Detected" Network Switch/Router setup
Also,
I just brought nagiosxi up and I get two Notices:
Update Check Failed. ( not internet )
System Status Degraded!
One or more critical components have been stopped, is disabled or malfunctioned...
I just brought nagiosxi up and I get two Notices:
Update Check Failed. ( not internet )
System Status Degraded!
One or more critical components have been stopped, is disabled or malfunctioned...
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: "No Ports Detected" Network Switch/Router setup
Was this system one built using our offline installer, or is it a regular install you pulled the plug on?
Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info).
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
UPDATE: Profile received and shared with techs.
Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info).
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
UPDATE: Profile received and shared with techs.
Re: "No Ports Detected" Network Switch/Router setup
I can't tell if you got my PM.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: "No Ports Detected" Network Switch/Router setup
The offline install requires access to some repos. In that vein, what's the output of yum repolist?
Also, the version you are running has security vulnerabilities which have been fixed in http://repo.nagios.com/nagiosxi-offline ... _64.tar.gz
I'd suggest upgrading before you get too far into your trial. That said, with the offline install, you are already protected from certain types of attacks.
Also, the version you are running has security vulnerabilities which have been fixed in http://repo.nagios.com/nagiosxi-offline ... _64.tar.gz
I'd suggest upgrading before you get too far into your trial. That said, with the offline install, you are already protected from certain types of attacks.
Re: "No Ports Detected" Network Switch/Router setup
Ok, things are improving.
I have no idea how my switch node started working, but it did so I must have corrected something inadvertently.
I also discovered where to put custom .cfg's. I have a build with nagios core so I copied one of my client configs there and it seems to be working ok.
One thing that I haven't figured out yet is why some "hosts" show up in My Views >> Service Detail, and others don't. Any ideas?
Anyway, thanks for your response.
JSpence
I have no idea how my switch node started working, but it did so I must have corrected something inadvertently.
I also discovered where to put custom .cfg's. I have a build with nagios core so I copied one of my client configs there and it seems to be working ok.
One thing that I haven't figured out yet is why some "hosts" show up in My Views >> Service Detail, and others don't. Any ideas?
Anyway, thanks for your response.
JSpence