A new Flexera Community experience is coming on November 25th. Click here for more information.

cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 

Discovery Error

I am getting the error below for a large number of servers. Could you shed some light on what might be going on?

The user registered in the tool is a member of the "Sudoers" group

===================================

OVERALL STATUS: FAILURE

FAILURE DESCRIPTION

INVENTORY FAILURES

Reason  Command Failure

Result  FAILURE

Command

 

sudo /sbin/ip -json address

 

Exit Code

 

255

 

Standard Output

 

Standard Error

 

Option "-json" is unknown, try "ip -help".

 

PERFORMANCE FAILURES

 

Reason  Command Failure

Result  FAILURE

Command

 

sudo /sbin/ip -json address

 

Exit Code

 

255

 

Standard Output

 

Standard Error

 

Option "-json" is unknown, try "ip -help".

 

DISCOVERY

 

ICMP    SUCCESS

Protocols

SSH (TCP 22)

 

INVENTORY

 

Connect SUCCESS

Supported OS   SUCCESS (Linux)

Distribution   SUCCESS (Oracle Linux Server 7.7)

Privileged Access      SUCCESS

 

INVENTORY COMMANDS

 

uname -s       SUCCESS

cat /etc/os-release    SUCCESS

uname -a       SUCCESS

uname -r       SUCCESS

uname -p       SUCCESS

sudo true      SUCCESS

cat /proc/uptime       SUCCESS

uname -n       SUCCESS

w -h    SUCCESS

ls /sys/devices/virtual/dmi/id SUCCESS

cat /sys/devices/virtual/dmi/id/sys_vendor    SUCCESS

cat /sys/devices/virtual/dmi/id/product_name  SUCCESS

cat /sys/devices/virtual/dmi/id/product_version      SUCCESS

sudo cat /sys/devices/virtual/dmi/id/product_serial  SUCCESS

sudo cat /sys/devices/virtual/dmi/id/product_uuid    SUCCESS

cat /sys/devices/virtual/dmi/id/chassis_vendor       SUCCESS

cat /sys/devices/virtual/dmi/id/chassis_version      SUCCESS

sudo cat /sys/devices/virtual/dmi/id/chassis_serial  SUCCESS

cat /sys/devices/virtual/dmi/id/bios_vendor   SUCCESS

cat /sys/devices/virtual/dmi/id/bios_version  SUCCESS

cat /sys/devices/virtual/dmi/id/bios_date     SUCCESS

cat /proc/meminfo      SUCCESS

ps axwww --no-headers -o pid,cputime,rsz,command     SUCCESS

cat /proc/cpuinfo      SUCCESS

sudo LC_ALL=C ifconfig -a      FALLBACK

sudo LC_ALL=C /sbin/ifconfig -a       FALLBACK

sudo ip -json address  FALLBACK

sudo /sbin/ip -json address    FAILURE

lsblk -dnb --output NAME,MAJ:MIN,TYPE,SIZE,MODEL     SUCCESS

cat /proc/partitions   SUCCESS

mount   SUCCESS

sudo df -P     SUCCESS

sh -c "(rpm -qf /bin/sh >>/dev/null 2>&1 && echo rpm) || (dpkg -S /bin/sh >>/dev/null 2>&1 && echo dpkg) || echo none"      SUCCESS

rpm -qa --queryformat "META^|^%{NAME}^|^%{EPOCH}^|^%{VERSION}^|^%{RELEASE}^|^%{SUMMARY}\n[%{FILENAMES}\n]/ / /\n"|grep -E '^META\^\|\^|^/ / /$|^/.*bin/'  SUCCESS

HTTP GET /     EXPLORATORY

 

PERFORMANCE

 

Connect SUCCESS

Supported OS   SUCCESS (Linux)

 

PERFORMANCE COMMANDS

 

uname -s       SUCCESS

cat /etc/os-release    SUCCESS

uname -a       SUCCESS

uname -r       SUCCESS

uname -p       SUCCESS

vmstat -w -S K 1 2     SUCCESS

cat /proc/meminfo      SUCCESS

sudo df -P     SUCCESS

cat /proc/diskstats    SUCCESS

sudo netstat --inet --inet6 -n -p -a -t       FALLBACK

sudo ss -n -p -t state established state listening   SUCCESS

ps axwww --no-headers -o pid,cputime,rsz,command     SUCCESS

cat /proc/uptime       SUCCESS

sudo LC_ALL=C ifconfig -a      FALLBACK

sudo LC_ALL=C /sbin/ifconfig -a       FALLBACK

sudo ip -json address  FALLBACK

sudo /sbin/ip -json address    FAILURE

cat /proc/net/dev      SUCCESS

(1) Solution
ChrisG
By Community Manager Community Manager
Community Manager

This looks to be the same problem as discussed in the following thread: Centos 7 iproute.

Does the discussion there help?

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)

View solution in original post

(2) Replies
ChrisG
By Community Manager Community Manager
Community Manager

This looks to be the same problem as discussed in the following thread: Centos 7 iproute.

Does the discussion there help?

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)