logo

NJP

lsof is causing errors for Solaris 11 discovery

Import · Sep 08, 2020 · article

Solaris 11 onwards doesn't come with lsof preinstalled and according to the admins, "lsof" is not a native command to Solaris. An alternative is the "dtrace" command to be used in the discovery but not all customers would prefer that. Anyway during the Discovery, OOTB, We first try lsof, and if that doesn’t return results we fall back to trying dtrace.

The lsof and dtrace commands are enabled by default, and can be disabled via the MID property -

  • mid.servicewatch.solaris.dtrace
  • “mid.sa.solaris.lsof”

Solution:

If lsof returns results, then dtrace won’t run. If the customer is getting no results, then he could check to ensure that dtrace wasn’t disabled in the MID properties.

Also, lsof can be installed in the respective Solaris server.

View original source

https://www.servicenow.com/community/itom-articles/lsof-is-causing-errors-for-solaris-11-discovery/ta-p/2324384