HOW TO GET THE LOGIC OF A LINUX HOST DISKS, TO CREATE RULE

I need to create a rule to monitor some logic to a linux host, not all discs.

Thank you!!!

You can use a scope query something like this:

LogicalDisk where name = '/ etc '.

or

LogicalDisk name in {' / ', '/ etc', "foglight"}

or

LogicalDisk where name match '. * tc.*'

or

LogicalDisk where name like '% tc % '.

You can extend this to only certain hosts with something like this:

LogicalDisk where name = '/ etc' and monitoredHost.name = 'abcdef1234.domain.com. '

Tags: Dell Tech

Similar Questions

  • How to get the logical tab in the main area of 4.1.2 Data Modeler?

    Data Modeler.jpgI just installed Oracle Developer Data Modeler: Version 4.1.2.895.

    I was following section 2.1 development of the logic model

    http://docs.Oracle.com/CD/E48219_01/doc.40/e48205/tut_data_modeling.htm#DMDUG36169

    I used the example of library. I added the areas.

    Then I tried to create the books.

    The document says:

    1. In the main area (right) of the Data Modeler window, click the logical tab.
    2. Click the icon of the new entity.

    But I don't see the logical TAB on the right side at all.

    I see the Start Page. On the far right is the browser window. Basically, I see Messages - Log.

    On the left side, I have the browser window.

    Can someone tell me please how to get the logical TAB in the main area?

    Thanks in advance.

    Hello!

    In the browser with the right button on the logic model and select view.

    I hope this helps!

    Heli

  • How to get the logical CPUs on host VMware in c#

    I need to get the number of logical processors with a VMware host, the number of processor sockets, and the number of cores per socket in a c# program.  I don't see this information in the HostSystem managed objects or all objects associated with it.  This information is displayed by the VMware Infrastructure Client tab in Configuration/hardware/processors, but I need to capture programmatically.  Thank you in advanced for your help.

    Take a look under HostSystem-> material for this information: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.host.HardwareInfo.html

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

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

  • How to get the Installation of Vista from Toshiba disk?

    I work with Microsoft technical support to solve a security problem on my Satellite Pro A210 and were now required to use a Vista installation disc.

    Microsoft says that I am entitled to an installation of the original provider of my kit disc - Toshiba. But we're not happened with my laptop - only a recovery disc has been provided.

    How can I go on the acquisition of an installation of Vista from Toshiba disk?

    Kind regards

    Kevin C.

    With Toshiba laptop, you'll get the Toshiba CD/DVD facilities only.
    This recovery media is designed for your laptop only.

    Installations from Microsoft Vista disc is not given and there is no way to get it from Toshiba.

    Microsoft can offer that you support if you only use Microsoft installations CD. Using this disk, you can install and repair Vista on each portable office/computer option. Unfortunately with the restore disc it will not work.

  • How to get the material status of ESXi host of external surveillance system?

    Hello!

    I've got hardware ESXi host information (for example, CPU, disk, etc.)

    that I want back outside a vCenter/ESXi for an external monitoring system.

    I really really slighty possible via Powershell saw...

    Thanks for your help!

    Hello

    the link that I commented, explian how to monitor the status of the ESXi hardware by using the cmdlets for powershell CIM 3.0.

    Not the virtual machines

    This, will you?

    Check this code from the link, you should notice that connects to an esxi host, not virtual machines:

    import-moduleCimCmdlets
    2 $ipaddress="10.20.177.15"
    3 $HostUsername="root"
    4 $CIOpt= New-CimSessionOption-SkipCACheck -SkipCNCheck -SkipRevocationCheck -EncodingUtf8-UseSsl
    5 $Session= New-CimSession-Authentication Basic -Credential $HostUsername -ComputerName $Ipaddress -port 443-SessionOption$CIOpt
    6 Get-CimInstance-CimSession$Session-ClassNameCIM_Fan

    Best regards

    Pablo

  • How to get the real serial number of hard disk in a form

    Dear all,

    Can I get the serial number of the disk hard real in a form?

    Help, please


    Thank you

    It seems that HOST() set some environment variables, then the path to the wmic.exe is not found. The following works for me:

    host('cmd /c "c:\windows\system32\wbem\wmic path win32_physicalmedia get serialnumber"'||' > '||'c:\AA.TXT',NO_SCREEN);
    

    François

  • How to get the logical processing Page to run?

    I'm a newbie struggling to overcome the learning curve. I created a very simple page that consists of an element (which do not refer to a database object) and a button. After the user enters a value and click on the button, I want to a PL/SQL code block always fire. I created a new anonymous PL/SQL block in the section of the process. See hierarchy of Application Builder below.

    The page definition
    Page processing
    Treatment
    Process

    The code is very simple.

    Start
    HTP.p ("in the custom code. The htp.p message');
    dbms_output.put_line (' in the custom code.) Dbms_output message');
    insert into PT_ERR_LOG (RUN_UNIT_ACTVTY_TXT) values ('in the custom code.");
    end;

    It was designed simply to let me know that the code is accessed. When I run the page, however, I'm not either of the messages from the code or y at - it a line written in PT_ERR_LOG (I created this table).

    The question is: "why isn't the enforcement code?

    In the area of process Point, to the point of process article is set to "On submit - after calculations" and Validations
    The enforcement process is defined on ' once per visit or when Reset.

    In the region of Conditions, Type of Condition is "point value / column in Expression 1 is NOT NULL.
    The value of Expression1 is: P6_PGNT_ID, which is the name of the lonely field on the page.

    I tried different combinations of values of the Apex in and around the page in the Page processing. What I am doing wrong?

    Thank you
    Kim
    In the Conditions region, Condition Type is set to "Value of Item / Column In Expression 1 Is NOT NULL".
    The value of Expression1 is :P6_PGNT_ID, which is the name of the lone field on the page.
    

    That's the problem. The value must not be P6_PGNT_ID: P6_PGNT_ID (remove the colon)

    P.S. Please configure a user name other than 952822.

    Robert
    http://apexjscss.blogspot.com

  • How to get the VM with or without thin disk in VC Server

    I need to get my Vm list all in my server VC who have the fine disc and one of them is not a thin disk.

    I do not understand it can be done in CLI power and I have Vmware Vsphere CLI installed power. I also find some scripts on the net, but I don't know how to use them

    Please suggest step by step how to run these scripts and where console as well?

    Thank you

    Deepak

    If you have the names of these servers in a CSV file with this provision.

    Name
    server1
    server2
    ....
    

    You can use a script like this

    $report = @()
    Import-Csv "C:\My-Csv-file.csv" | %{
         $vm = Get-VM $_.Name
         $vm | Get-HardDisk | %{
              $row = "" | Select VMname, Folder, HDname, HDformat
              $row.VMname = $vm.Name
              $row.Folder = (Get-View $vm.FolderId).Name
              $row.HDname = $_.Name
              $row.HDformat = $_.StorageFormat
              $report += $row
         }
    }
    $report | Export-Csv "C:\VM-disk.csv" -NoTypeInformation -UseCulture
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • How to get the IP address of a host in c#

    Hello

    If I iterate on my data centers and get all their hosts in ManagedObjectReference (GPR), how can I get each host ip address of their jaws in c#?

    Thanks in advance.

    You are very close, however.  If you can pull the vm and accessories summary there should be no reason you can't pull config.  And once you have config everything is within walking distance.

  • How can I get the logic of sql from the catalog or the obiee Manager

    I try to get the logic sql behind a report. Can someone help me how to get sql obiee presentation services or from Catalog Manager

    Hello

    Addition to the response of Srini, you know that there is a new view in g 11 responses to display SQL logic? Just choose in the analysis-> results-> new view-> other-> SQL-> Standard SQL logic views.

    I hope this helps.

    Diakité

  • How to get the DBCA in Linux environment

    Hello

    I hv installed Oracle 10 g on SuSe Linux and works very well with the web console
    (http://machine-name:1158 / em /)

    but I hv problems to get the oracle tools that appear in the start menu in the windows installation.
    (DBCA, Net Manager, isqlplus etc..)

    So, how to get the DBCA and other oracle 10g tools in the Linux environment.

    thanx

    Set your path env variable in your .bashrc or .bash_profile file

    export PATH = $ORACLE_HOME/bin: $PATH

    Then just issue the command at the command prompt

    dbca Linux]
    netmgr Linux]

    NB: If you are on a remote computer, you must set the DISPLAY variable too

    or you can directly in your bin folder where you can see all the utilities... you can run it as

    Linux]. / dbca

    Concerning
    Nishant

  • How to get the value of a variant as a string

    I have an existing codebase, which transmits the values of the user interface to business logic as variants. I was prompted to connect all values passed in this way in a text file. I'm trying to figure out how to get the data as a string to a Variant value without having to deal on the type for the data descriptor. The flag variant the fact, so I think I can, too.

    Anyone know how?

    Thank you, all! I decided to use the XML approach:

  • How to get the MAC address of the additional 10G NIC with command-line ILO

    How to get the MAC address of the additional 10G NIC with ILO command line?

    Thank you.

    Hi Bruce,.

    Out of what I can find on this network card is not available for the Mac without an operating system. I recommend get/burning a live CD/DVD of Ubuntu/Linux and run an Ifconfig in there.

    Hope this helps you.

  • How to get the 'DAY' based on the territory of current account held a number between

    Hi all

    Looks like I'm at the end of my intelligence here but how to get the 'DAY' based on the territory of current account with a number between 1 and 7? Oracle has functions to extract the day of the week, but I can't find the other way around.
    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    
    SQL> alter session set nls_territory=AMERICA;
    
    Session altered.
    
    SQL> select to_char (sysdate, 'D') from dual;
    
    T
    -
    3
    
    SQL> alter session set nls_territory=GERMANY;
    
    Session altered.
    
    SQL> select to_char (sysdate, 'D') from dual;
    
    T
    -
    2
    I need a way to know that the number '3' on the database with NLS_TERRITORY = AMERICA means a 'Tuesday' or the number '2' on a database with NLS_TERRITORY = GERMANY means "Tuesday" as well.

    Hope I am clear enough.

    And wish you all a happy new year :)

    Kind regards
    Smail

    Use the format "IW" to get the date of Monday and the format "DAY" to get the "first day of the week. Then compare dates to see if they are identical.

    ALTER SESSION SET NLS_TERRITORY = 'AMERICA';
    
    SELECT TRUNC(SYSDATE-LEVEL, 'IW') "Monday",
    TRUNC(SYSDATE-LEVEL, 'DAY') "NLS First day of week",
    MOD(TRUNC(SYSDATE-LEVEL, 'IW') - TRUNC(SYSDATE-LEVEL, 'DAY') + 7, 7) "1 if day 1 = SUN, 0 if MON"
    FROM DUAL CONNECT BY LEVEL <= 7;
    
    Monday    NLS First day of week 1 if day 1 = SUN, 0 if MON
    --------- --------------------- --------------------------
    31-DEC-12 30-DEC-12                                      1
    24-DEC-12 30-DEC-12                                      1
    24-DEC-12 23-DEC-12                                      1
    24-DEC-12 23-DEC-12                                      1
    24-DEC-12 23-DEC-12                                      1
    24-DEC-12 23-DEC-12                                      1
    24-DEC-12 23-DEC-12                                      1
    
    alter session set nls_territory = 'FRANCE';
    
    SELECT TRUNC(SYSDATE-LEVEL, 'IW') "Monday",
    TRUNC(SYSDATE-LEVEL, 'DAY') "NLS First day of week",
    MOD(TRUNC(SYSDATE-LEVEL, 'IW') - TRUNC(SYSDATE-LEVEL, 'DAY') + 7, 7) "1 if day 1 = SUN, 0 if MON"
    FROM DUAL CONNECT BY LEVEL <= 7;
    
    Monday   NLS First day of week 1 if day 1 = SUN, 0 if MON
    -------- --------------------- --------------------------
    31/12/12 31/12/12                                       0
    24/12/12 24/12/12                                       0
    24/12/12 24/12/12                                       0
    24/12/12 24/12/12                                       0
    24/12/12 24/12/12                                       0
    24/12/12 24/12/12                                       0
    24/12/12 24/12/12                                       0
    

    Or it could be simpler:

    ALTER SESSION SET NLS_TERRITORY = 'AMERICA';
    
    WITH DATA AS (SELECT LEVEL INPUT_DAY FROM DUAL CONNECT BY LEVEL <= 7)
    SELECT INPUT_DAY,
    TO_CHAR(TRUNC(SYSDATE, 'Day')+INPUT_DAY-1, 'DAY') "Day label"
    from data;
    
    INPUT_DAY Day label
    --------- ------------------------------------
            1 SUNDAY
            2 MONDAY
            3 TUESDAY
            4 WEDNESDAY
            5 THURSDAY
            6 FRIDAY
            7 SATURDAY
    
    alter session set nls_territory = 'FRANCE';
    
    WITH DATA AS (SELECT LEVEL INPUT_DAY FROM DUAL CONNECT BY LEVEL <= 7)
    SELECT INPUT_DAY,
    TO_CHAR(TRUNC(SYSDATE, 'Day')+INPUT_DAY-1, 'DAY') "Day label"
    from data;
    
    INPUT_DAY Day label
    --------- ------------------------------------
            1 MONDAY
            2 TUESDAY
            3 WEDNESDAY
            4 THURSDAY
            5 FRIDAY
            6 SATURDAY
            7 SUNDAY
    
  • How to get the ip address of the data storage device

    Hi all

    I developed a project now and you need to distinguish a virtual machine is saved to the device local ESX or remote network storage device.

    I found the data store object in which the virtual machine resides by vi sdk, but could not find the address of the device that includes this data store.

    How to get the ip address of the coding data storage device, which includes the virtual machine? I need your help.

    Thank you in advance.

    How do you try to make a query. Storage devices provides a logic unit number no, there is no IP address for it.

    You can check the same for the storage on vCenter view

Maybe you are looking for