Configuration Wizard: SNMP Walk no service description

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nexus_nagio
Posts: 3
Joined: Thu Feb 25, 2016 9:04 pm

Configuration Wizard: SNMP Walk no service description

Post by nexus_nagio »

Hi,

I did a snmpwalk with the snmpwalk configuration Wizard to get the list of OIDs that i could monitor via SNMP for my device, which is a cisco nexus switch in this case.
After i select the OIDs through the GUI, the system will go on to verify the configuration.
But it fails with this error, "Error: Service has no hosts and/or service_description".
This happens whenever i select certain OIDs (e.g interface errors OIDs), but its working fine for other OIDs.
By right the system will automatically define the service description, but I realised that the service added has no service description, resulted in that error.

Wondering if anyone faced this problem as well?

Any help would be appreciated. Thanks.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Configuration Wizard: SNMP Walk no service description

Post by rkennedy »

Can you show a screenshot of all the information for the certain OIDs that are causing this issue? I'll try to replicate it on my end.

Additionally, what version of XI, and the configuration wizard are you running? (Admin -> Manage Config Wizards)
Former Nagios Employee
nexus_nagio
Posts: 3
Joined: Thu Feb 25, 2016 9:04 pm

Re: Configuration Wizard: SNMP Walk no service description

Post by nexus_nagio »

Hi,

Sorry I cant duplicate the same issue again, the error is missing. Maybe i will skip that for now.
But i have other questions regarding the SNMPwalk configuration wizard to clarify.

I am using Nagios XI 5.2.3 and the snmpwalk configuration wizard v1.3.1
Attached picture show my SNMPwalk scan settings.


1) Clearing of the OID field and leave it blank should scan for all OIDs on this device. But i dont seem to get ALL OIDs. in particular private enterprise OIDs.
For example, OIDs starting from .1.3.6.1.4.1.....
However if i specify .1.3.6.1.4.1 on the OID field, the returned result will have these private enterprise OIDs.

2) On the same device, sometimes the returned results will only show a subset of the OIDs despite using the same scan settings. And sometimes they will returned a larger list of OIDs.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuration Wizard: SNMP Walk no service description

Post by tgriep »

1) Are you uploading the MIB file for your devices to the XI server?
You need to install those on the server for the walk to find the OID's you are looking for.
If they are installed, did you install them using the XI GUI and going to the Admin > Manage MIBS page and uploading them?

2) When you receive the shorter list of OID,s what is the timeout setting in the wizard set to?
If the device takes a long time for the SNMP Walk, you may have to increase the timeout to a large value.

Can you run a snmpwalk from the command line on the XI server and see if you are getting the same results?

Here is an example of the command.

Code: Select all

snmpwalk xxx.xxx.xxx.xxx -c public -v 2c
Change public to the community string you are using and replace xxx with the IP address and see if this works or not.
Be sure to check out our Knowledgebase for helpful articles and solutions!
nexus_nagio
Posts: 3
Joined: Thu Feb 25, 2016 9:04 pm

Re: Configuration Wizard: SNMP Walk no service description

Post by nexus_nagio »

Hi tgriep,

1) Yes, i upload the MIB file into the XI server through the XI GUI by going to the Admin > Manage MIBS page.
What puzzled me is that keeping the OID field blank should scan for all OIDs on this devices, but it dont seem to be able to get the private enterprise OIDs.
Instead, i need to specify the private enterprise OIDs (e.g .1.3.6.1.4.1) on the OID field in order to get those OIDs.

2) My timeout settings remain constant throughout, i placed it to 180 secs.
But sometimes they will return a shorter list.
Doing a snmpwalk from the command line returns the longer list of results.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Configuration Wizard: SNMP Walk no service description

Post by tgriep »

When you ran the snmpwalk from the command line, how long did it take to show the full list?
It could be a timeout issue.

Another thing to try, lets make sure the snmpwalk searches all of the mib files when it runs.
Create this file on the XI server

Code: Select all

/etc/snmp/snmp.conf 
Add this to that file and save it out.

Code: Select all

mibs +ALL
Then run the snmpwalk in XI but put in a larger timeout value and see if that works.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked