SCOM for linux : can not monitor the mount point free space

Answered SCOM for linux : can not monitor the mount point free space

  • Tuesday, November 01, 2011 9:11 AM
     
     
    anyone can help?

    # ./scxcimcli -n root/scx xq "select name from SCX_FileSystem"
    #  tail /var/opt/microsoft/scx/log/scx.log
    2011-11-01T01:55:25,388Z Info       [scx.core.providers.diskprovider:10936:4102024080] BaseProvider::EnumInstances() - Invalid class - //xxxxxxxx/root/scx:SCX_FileSystem
    2011-11-01T01:55:52,389Z Info       [scx.core.providers.diskprovider:10936:4102024080] BaseProvider::EnumInstances() - Invalid class - //xxxxxxxx/root/scx:SCX_FileSystem
    2011-11-01T02:03:54,663Z Info       [scx.core.providers.diskprovider:10936:4102024080] BaseProvider::EnumInstances() - Invalid class - //xxxxxxxx/root/scx:SCX_FileSystem

All Replies

  • Tuesday, November 01, 2011 6:38 PM
    Moderator
     
     

    Hmm, I'm not seeing what you're seeing:

    root@scxcrd-sle10-03  # cd /opt/microsoft/scx/bin/tools/

    root@scxcrd-sle10-03  # source setup.sh

    root@scxcrd-sle10-03  # ./scxcimcli -n root/scx xq "select name from SCX_FileSystem"
    path= //scxcrd-sle10-03/root/scx:SCX_FileSystem.CreationClassName="SCX_FileSystem",CSCreationClassName="SCX_ComputerSystem",CSName="scxcrd-sle10-03.scx.com",Name="/"

    //Instance of SCX_FileSystem
    instance of SCX_FileSystem
    {
    Name = "/";
    };

    root@scxcrd-sle10-03  # tail /var/opt/microsoft/scx/log/scx.log
    *
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.1.0-313 Labeled_Build
    * Process id: 27345
    * Process started: 2011-11-01T05:24:54,297Z
    * Log file number: 3
    *
    * Log format: <date> <severity>     [<code module>:<process id>:<thread id>] <message>
    *
    2011-11-01T17:09:30,277Z Info       [scx.core.providers:27345:3078593440] Log rotation complete

    root@scxcrd-sle10-03  # rpm -q scx
    scx-1.1.0-313

    root@scxcrd-sle10-03  #

     

    What version of the agent are you running?  Can you upgrade to latest CU and retry?

     

    /Jeff

  • Wednesday, November 02, 2011 2:37 PM
    Moderator
     
     
    Can you check you have the latest CU level (CU5) and the latest management packs?
    Bob Cornelissen - BICTT (My BICTT Blog) - Microsoft Community Contributor 2011 Recipient
  • Wednesday, November 02, 2011 6:07 PM
     
      Has Code

    let us know what this command outputs:

    stat /opt/microsoft/scx/bin/scxcimprovagt
    "Access" should be equal to 755.

     

  • Thursday, November 03, 2011 7:31 AM
     
     

    Here you are.

     

    ./scxadmin -version
    Version: 1.0.4-258 (Labeled_Build - 20100125L)

    -rwxr-xr-x 1 root root  6068 Jan 26  2010 scxcimservera
    -rwxr-xr-x 1 root root 40520 Jan 26  2010 scxcimprovagt
    -rwxr-xr-x 1 root root 84880 Jan 26  2010 scxcimprovider
    -rwxr-xr-x 1 root root 28116 Jan 26  2010 scxcimserver
    -rw-r--r-- 1 root root   226 Jan 26  2010 setup.sh
    drwxr-xr-x 2 root root  4096 Jul 21  2010 tools

  • Thursday, November 03, 2011 3:05 PM
    Moderator
     
     
    the agent version is CPCU2 (1.0.4-258). the scom CU5 will bring you to .265 for the agent. doesnt say that is the problem of course, but its not the latest version of the agent as far as I can see.
    Bob Cornelissen - BICTT (My BICTT Blog) - Microsoft Community Contributor 2011 Recipient
  • Thursday, November 03, 2011 4:21 PM
    Moderator
     
     

    Here's another thought:

    You're running a pegasus utility directly.  Did you source the setup script in that directory prior to executing that command?

    I'm sort of taking a wild stab (I'd expect to see error output if not, and I wouldn't except to see anything in scx.log).  But given that I could do this myself, I'm unsure what the problem is right now without more details.

  • Tuesday, November 15, 2011 8:38 AM
    Moderator
     
     
    Any update on this mspeople?
    Bob Cornelissen - BICTT (My BICTT Blog) - Microsoft Community Contributor 2011 Recipient
  • Thursday, November 17, 2011 6:39 AM
     
     
    The issue not resolved.
    The agent can not be updated in this moment.
    we use same version agent in other RH machine, it's can show the free space of the mount point, so i dun think it's related to agent version.
  • Friday, January 06, 2012 8:52 PM
     
     
    Anyone got an answer on this?  We are seeing this sporadically across multiple platforms in our environment.  We are at CU3.  The SCX_FileSystem suddenly stops returning data and we see that "invalid class" error in the logs.  Turning up debug doesn't provide more info. 
  • Friday, January 06, 2012 11:03 PM
    Moderator
     
     Answered

    I responded to this a while back.

    I can't replicate your problem.  I had asked if you sourced the setup scripts prior to using the scxcimcli tool.  I don't see a response to this.  I also suggested that you update to CU5, and I didn't receive any confirmation that you tried that.

    Additionally, we don't test the tools as much as we test the OM interface (via winrm).  Do you get this error via winrm?

    In any case, if you could give me complete details on how to replicate the problem, I'd be happy to try and look at this further.  If you can't replicate at will, then I'd suggest that you open a ticket with our support group and get additional advice from them.

    Thanks,

    /Jeff

  • Thursday, March 29, 2012 7:36 AM
    Moderator
     
     
    Hi,
    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as "Answered" as the previous steps should be helpful for many similar scenarios.
    In addition, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems.
    Thanks,

    Bob Cornelissen - BICTT (My Blog about SCOM) - MVP 2012 and Microsoft Community Contributor 2011 Recipient