Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

OCS agent on Solaris 10/11

Hi,

I was able to install OCS Unix agent 2.1.1 on both Solaris 10 and 11 OS versions, but from the OCS server reports we only see software that related to Oracle/SUN but we do not see any application information that are installed on the server (eg; we have Anti-virus installed on the server but it does not show up in "softwares" tab from reports). Does OCS agent looks for only packages that are installed on the server and not the application that are running on the Solaris server? we do not see the file system usage details as well.

Where as on Windows servers we do see the softwares that are installed on the server from the ocsreports. Is OCS agent compatible with Solaris OS?

Thanks!
in OCS Inventory NG agent for Unix by (140 points)

3 Answers

0 votes
Hi,

Post ocsinventory-agent.log file content.

Regards

Frank
by (88.5k points)
Hi Frank, below are the details and thanks for checking.

Please let me know if you need any more info.

bash-3.2# cat /etc/release
                   Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
                            Assembled 23 August 2011

bash-3.2# cat ocsinventory-agent.cfg
basevardir=/var/opt/ocsinventory-agent
debug=1
tag=itf_doc1
server=http://10.4.3.131/ocsinventory
logfile=/var/opt/ocs-unified.log
bash-3.2# tail -200 /var/opt/ocs-unified.log
      <NAME>SUNWxwrtl</NAME>
      <PUBLISHER>Sun Microsystems, Inc.</PUBLISHER>
      <VERSION>6.6.2.7400,REV=0.2004.12.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>X Window System lint libraries for programmers.</COMMENTS>
      <NAME>SUNWxwslb</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>6.6.2.7400,REV=0.2004.12.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>X Window System example source code for programmers.</COMMENTS>
      <NAME>SUNWxwsrc</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>6.6.2.7400,REV=0.2004.12.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>X Window System Xvfb &amp; Xnest Virtual Display Servers</COMMENTS>
      <NAME>SUNWxwsrv</NAME>
      <PUBLISHER>Sun Microsystems, Inc.</PUBLISHER>
      <VERSION>6.6.2.7400,REV=0.2004.12.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Screen Saver/Locker for X Window System</COMMENTS>
      <NAME>SUNWxwsvr</NAME>
      <PUBLISHER>Sun Microsystems, Inc.</PUBLISHER>
      <VERSION>6.6.2.7400,REV=0.2004.12.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Solaris Trusted Extensions, X Window System support</COMMENTS>
      <NAME>SUNWxwts</NAME>
      <PUBLISHER>Sun Microsystems, Inc.</PUBLISHER>
      <VERSION>6.6.2.4099,REV=0.2006.10.13</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>X Window System XST extension</COMMENTS>
      <NAME>SUNWxwxft</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>6.6.2.7400,REV=0.2004.12.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>X Window System XST extension</COMMENTS>
      <NAME>SUNWxwxst</NAME>
      <PUBLISHER>Sun Microsystems, Inc.</PUBLISHER>
      <VERSION>6.6.2.7400,REV=0.2004.12.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>NIS Server for Solaris 2.6 and up</COMMENTS>
      <NAME>SUNWypr</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.21.15.53</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>NIS Server for Solaris 2.6 and up</COMMENTS>
      <NAME>SUNWypu</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.21.15.53</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Quagga Routing Software 0.99.5</COMMENTS>
      <NAME>SUNWzebrar</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.08.05.16</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Quagga Routing Software 0.99.5</COMMENTS>
      <NAME>SUNWzebrau</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.08.05.16</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>This package contains the root (/etc) component of the ZFS administration application for the Sun Java(TM) Web Console</COMMENTS>
      <NAME>SUNWzfsgr</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>1.0,REV=2006.10.24.22.49</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>This package contains the user (/usr) component of the ZFS administration application for the Sun Java(TM) Web Console</COMMENTS>
      <NAME>SUNWzfsgu</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>1.0,REV=2006.10.24.22.49</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>ZFS kernel root components</COMMENTS>
      <NAME>SUNWzfskr</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2006.05.18.02.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>ZFS root components</COMMENTS>
      <NAME>SUNWzfsr</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2006.05.18.02.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>ZFS libraries and commands</COMMENTS>
      <NAME>SUNWzfsu</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2006.05.18.02.15</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>The Info-Zip (zip) compression utility</COMMENTS>
      <NAME>SUNWzip</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.08.05.16</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>The Zip compression library</COMMENTS>
      <NAME>SUNWzlib</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.08.05.16</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Solaris Zones Configuration Files</COMMENTS>
      <NAME>SUNWzoner</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.21.15.53</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Solaris Zones Configuration and Administration</COMMENTS>
      <NAME>SUNWzoneu</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.21.15.53</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Z shell (zsh)</COMMENTS>
      <NAME>SUNWzsh</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>11.10.0,REV=2005.01.08.05.16</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Configuration software for the Sun XVR-4000 graphics accelerator</COMMENTS>
      <NAME>SUNWzuluc</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>10.0.0,REV=2004.12.10</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>Boot-time device initialization support for the Sun XVR-4000 graphics accelerator</COMMENTS>
      <NAME>SUNWzulur</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>10.0.0,REV=2004.12.10</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>X server loadable module for the Sun XVR-4000 graphics accelerator (64-bit)</COMMENTS>
      <NAME>SUNWzuluw</NAME>
      <PUBLISHER>Oracle Corporation</PUBLISHER>
      <VERSION>10.0.0,REV=2004.12.10</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>X Server loadable module for PGX32 (Raptor GFX) graphics accelerator</COMMENTS>
      <NAME>TSIpgxw</NAME>
      <PUBLISHER>Tech-Source Inc.</PUBLISHER>
      <VERSION>10.0.0,REV=2004.11.18</VERSION>
    </SOFTWARES>
    <SOFTWARES>
      <COMMENTS>NetVault client/server package</COMMENTS>
      <NAME>netvault</NAME>
      <PUBLISHER>Quest Software</PUBLISHER>
      <VERSION>9020</VERSION>
    </SOFTWARES>
    <STORAGES>
      <MANUFACTURER>SUN</MANUFACTURER>
      <MODEL>VDSK</MODEL>
      <NAME>c0d1</NAME>
    </STORAGES>
    <STORAGES>
      <MANUFACTURER>SUN</MANUFACTURER>
      <MODEL>VDSK</MODEL>
      <NAME>c0d0</NAME>
    </STORAGES>
    <STORAGES>
      <MANUFACTURER>SUN</MANUFACTURER>
      <MODEL>VDSK</MODEL>
      <NAME>c0d2</NAME>
    </STORAGES>
    <STORAGES>
      <MANUFACTURER>SUN</MANUFACTURER>
      <MODEL>VDSK</MODEL>
      <NAME>c0d3</NAME>
    </STORAGES>
    <USERS>
      <LOGIN>root</LOGIN>
    </USERS>
    <USERS>
      <LOGIN>wasadmin</LOGIN>
    </USERS>
  </CONTENT>
  <DEVICEID>waivdoc1gen01-2016-07-18-12-43-59</DEVICEID>
  <QUERY>INVENTORY</QUERY>
</REQUEST>
[Mon Jul 18 12:44:26 2016][debug] =BEGIN=SERVER RET======
[Mon Jul 18 12:44:26 2016][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<REPLY>
  <RESPONSE>NO_ACCOUNT_UPDATE</RESPONSE>
</REPLY>
';
[Mon Jul 18 12:44:26 2016][debug] =END=SERVER RET======
[Mon Jul 18 12:44:26 2016][debug] Calling handlers : `end_handler'
[Mon Jul 18 12:44:26 2016][debug] [snmp] Calling snmp_end_handler
[Mon Jul 18 12:44:26 2016][debug] [download] Calling download_end_handler
bash-3.2#
0 votes
Hi,

If the other softwares are installed in user home directories you can use the option --scan-homedirs but softwares that aren' t be installed with solaris software manager can not be inventoried.

Regards

Frank
by (88.5k points)
0 votes

Hello,

We have more than 200 Solaris 10 with OCS Unix agent 2.1.1 with a custom CPU.pm (you can find it here, if you want).
I'm not the system admin in charge of the solaris (I'm the project manager of OCS) , but I'm sure we don't have problems with files system usage details (on both x86 or Sparc architecture) :

For the software inventory, we deploy some custom scripts with OCS to have a complete software inventory.

Regards,
Bexounet.

by (3.7k points)
 
Powered by Question2Answer
...