How to resolve "Active,Couldn't classify" error while Discovering Network Devices ?

Akshatha3
Kilo Contributor

Hi People!!

I am new to ServiceNow. Please help me with the below query.

What are all the Pre-requisites needed to Discover Network Devices - Switches and Routers apart from SNMP community string and port 161. When I tried Discovering Couple of Network Devices IP's, I am getting "Active,Couldn't classify" error.

Thanks in Advance!!

 

Regards,

Akshatha

5 REPLIES 5

robertgeen
Tera Guru

More then likely the SNMP endpoints need to white list the MID server being used to discover them. Outside of what you outlined here that would be the only other thing (many network devices have a list of IPs that can run SNMP discovery on them and only they will get a response from it when making an SNMP request. Thanks.

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Most important is Access Control list on those Network devices and firewall rules.


Thanks,
Ashutosh

Aquib1
Tera Contributor

Hi Akshatha,

 

You can try with SSH Command.

UNIX and Linux commands requiring root privileges Command Platform.
SSH commands must run with root privileges, either with root credentials or through the use of sudo.

Option 1:

SNMP V1/V2, User Type: Read Only Community String

Option 2: SNMP V3, User Type: SNMP V3 SNMP user name / authentication key.

Note: Sudo commands do not work with private key credentials, because there is no password to supply to the sudo command.

A solution is to add the NOPASSWD option to the sudo configuration.
For example, you might enter: disco ALL=(root)NOPASSWD:/usr/sbin/dmidecode,/usr/sbin/lsof,/sbin/ifconfig.

Here the user name :disco

Access Requirements for Non-Root Credentials

Application

File or Directory

Access Required

Apache

httpd.conf

Read

Hbase

hbase-site.xml

Read

JBoss

jboss-service.xml

Read

JBoss

JBoss home directory

Read

JBoss

web.xml

Read

MySQL

my.cnf

Read

NGINX

nginx.conf

Read

Oracle

oratab

Read

Oracle

Associated (s) pfiles

Read

Oracle Listenerlsnrctl

lsnrctl

Read

Oracle Listenerlsnrctl

istener.ora

Read

Tomcat

catalina.jar

Read

Tomcat

server.xml

Read

Tomcat

web.xml

Read

Unix

/etc/*release

Read

Unix

/etc/bashrc

Read

Unix

/etc/profile

Read

Unix

/proc/cpuinfo

Read

Unix

/proc/vmware/sched/ncpus

Read

Unix

/var/log/dmesg

Read

Unix

APD directory

Read

WebSphere

cell.xml

Read

WebSphere

server.xml

Read

WebSphere

serverindex.xml

Read

These are the possible scenario. Please verify and let me know if it does not work than we need to check the 
the paths for the commands match the paths on the system.

 

 

Regards,

Aquib

Akshatha3
Kilo Contributor

Hi Aquib,

Thanks for the Suggestion.

But we are not allowed to try SSH on n/w devices in our environment. Only SMNP is allowed, so I am using behavior functionality to discover them.

 

Regards,

Akshatha