Configuring remote monitoring of Solaris OS
This topic provides information about how to configure remote monitoring of the Solaris operating system by using the TrueSight or the Central Monitoring Administration console.
Configuration video
Click to view a short video (4.19) of how to configure Solaris OS for local and remote monitoring.
Configuration details
To configure remote monitoring of Solaris hosts, set the following preferences on the Add Monitoring Configuration dialog.
Monitoring Solution | Version | Monitor Profile | Monitor Type |
---|---|---|---|
Solaris | 1.0.00 | Solaris Monitoring | Solaris Infrastructure |
Click Add to configure a new host for monitoring.
Field | Description |
---|---|
Host Details | |
Device configuration | |
Device Input Type | Select the type of input that you want to provide.
|
Device Input |
|
Connection Settings | |
Port number | Enter the remote host SSH port number. By default, the port number is set to 22. |
User Name | Enter the username to connect to the remote host. If this field is left blank the KM uses PATROL Agent default account credentials to connect to the remote host. Password based authentication will be used for verifying the credentials. |
Authentication | Choose the authentication mode to add remote host:
|
Password Based Authentication | |
Password | Enter the common credentials of the hosts added in the Device Input field. |
Key Based Authentication | |
Public Key File Path | Specify the entire path of the public key file. |
Private Key File Path | Specify the entire pathname of the private key file. |
Passphrase | Specify the passphrase to access public and private keys. |
Field | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Monitor Type Configuration | |||||||||||||||||||||||||||||
* indicates you can configure filters for this monitor type. |
In Virtualization, you can create filters for Logical Domains and Zones.
Logical Domain filtering
Field | Description |
---|---|
LDom Filters | |
Exclude LDom | Enter the logical domain name or a regular expression to filter logical domains that you want to exclude from monitoring. To exclude multiple logical domains, enter a comma-separated list of regular expressions. |
Include LDom | Enter the guest name or a regular expression to filter guests that you want to include for monitoring. To include multiple logical domains, enter a comma-separated list of regular expressions. By default all the logical domains are included for monitoring. |
Zone filtering
Field | Description |
---|---|
Exclude Local Zones | Enter the zone name or a regular expression to filter zones that you want to exclude from monitoring. To exclude multiple zones, enter a comma-separated list of regular expressions. |
Include Local Zones | Enter the zone name or a regular expression to filter zones that you want to include for monitoring. To include multiple zones, enter a comma-separated list of regular expressions. By default all the zones are included for monitoring. |
In Services filters you can include or exclude Services based on the Service status or on Service name.
Field | Description |
---|---|
Exclude Service State | Select or clear these fields to exclude Services based on their status.
|
Include/Exclude Service | |
Include Service | Enter the service name or a regular expression to include multiple services for monitoring. Multiple regular expressions can be separated by using a pipe separator. By default, all the services are included for monitoring. |
Exclude Service | Enter the service name or a regular expression to exclude multiple services from monitoring. Multiple regular expressions can be separated by using a pipe separator. |
In process monitoring, you can monitor the Solaris non-global zone processes from a Solaris global zone.
Field | Description |
---|---|
Process Label | Enter a display name (process label) for processes to be monitored. The display name cannot contain special characters ( . [ ! @ # $ % ? { } ^ \ \ / | + = & * ( ) ) ; ] ) and blank spaces. The label can contain a maximum of 100 characters. If you want to monitor a process running inside a non-global zone from a global zone, the process label must be in the following format: |
Process Name String | Enter a string that matches names of processes to be monitored. Input may also be a regular expression pattern.
Note: PATROL monitors all processes that match the string you type in this field. When you enter text in this field, you may end up monitoring multiple processes. For example, if you type vi in this field, PATROL monitors processes named vi, view, and previous. |
Minimum Count | Select a value to set the minimum number of process instances that may be running on the local computer or in the host group. To monitor multiple instances of the same process, this value must be set to 2 or greater. If the number of running process instances falls below this value, PATROL issues an alert. |
Maximum Count | Select a value to set the maximum number of process instances that may be running on the local computer or in the host group. If the number of running process instances exceeds this value, PATROL issues an alert. Note: The value in the Maximum Count field must be equal to or greater than the value in the Minimum Count field. |
Acceptable process owner | Enter the user IDs for the accounts that may own the process. Separate multiple user IDs with spaces. Regular expressions are supported. |
Use Process Owners for Filtering | Select this check box to filter processes based on the process owners. Note: Because the process filtering for the processes is based on owners, the owner of the processes is always a subset of the provided owner set. Thereby, the Process ownership check (OwnerCheck) parameter is deactivated when the Use Process Owners for Filtering check box is selected. |
Parent Process ID Must Be 1 |
Select this check box if the processes should have their parent process id as 1. A process with a PPID of 1 is owned by init, or the UNIX scheduler. |
Filter Processes with Parent Process ID 1 | If you select this check box, only the processes having parent process ID as 1 are filtered. If you do not select the check box, the processes are filtered irrespective of their parent process ID. The processes are not filtered by parent process ID 1 if the Parent Process ID Must Be 1 check box is cleared. If you select the Parent Process ID Must Be 1 check box, and if you filter processes with parent process ID 1, the Parent PID is 1 (ParentPID1) parameter is deactivated. |
Process Alert Options | |
Alert Delay Count | Select a value to set the number of collection intervals that this host will defer an alert while it waits for the process count to be reestablished across the host or group. If you delay the alert, the system has time to detect that a process has died and restart it automatically before PATROL issues an alarm. |
Alert State | Click the drop-down list button in the Alert State field and select the state change (ALARM or WARNING) that occurs when the minimum or maximum process count is exceeded and the alert delay count reaches 0. The state change applies to the following attributes: Note: The alert thresholds for Process count check (CountCheck) must not be modified for the product to work as designed. Alerts for process presence monitoring are generated based on the Process count check (CountCheck) parameter, which has the following thresholds defined:
|
Process configuration examples
The following table demonstrates how specific filters are processed by the filter rules:
Scenario | Example | Comments |
---|---|---|
To receive an alert if the process count drops below |
Process Label: bash Process Name String: bash.* Minimum count: 5 Maximum count: 15 |
None |
To monitor processes started by authorized users and |
Process Label: bash Process Name String: bash.* Minimum count: 5 Maximum count: 15 Acceptable process owner: abc |
If "xyz" user starts bash process Process ownership check (OwnerCheck) attribute raises an alarm. |
To monitor process started by a specific user and exclude processes started by other users |
Process Label: bash Process Name String: bash.* Minimum count: 5 Maximum count: 15 Acceptable process owner: abc|pqr|xyz Use Process Owners for Filtering?: Select the checkbox |
A pipe-separated list or a regular expression of Here, abc, pqr and xyz are acceptable process owners. |
To monitor processes whose Parent Process ID is one | Process Label: bash Process Name String: bash.* Minimum count: 5 Maximum count: 15 Parent Process ID must be 1: Select the checkbox Filter Processes with Parent Process ID 1: Do not select the checkbox |
This configuration is suitable for system processes with parent process ID 1. If for some process, the parent PID is not 1, ProcessParentPID1 would be in WARN/ALARM state. |
To filter processes whose Parent Process ID is one | Process Label: bash Process Name String: bash.* Minimum count: 5 Maximum count: 15 Parent Process ID must be 1: Select checkbox Filter Processes with Parent Process ID 1: Select checkbox |
Exclude all processes which match the Process Name String criteria but whose parent PID is not 1 |
To delay alert by 'N' number of collections | Process Label: bash Process Name String: bash.* Minimum count: 5 Maximum count: 15 Alert Delay Count: 3 Alert State: Warning or Alarm |
This delays an alert if some process violates the set minimum or maximum limit. |
To avoid delay and get immediate alert if a process violates configured minimum or maximum thresholds |
Process Label: bash Process Name String: bash.* Minimum count: 5 Maximum count: 15 Alert Delay Count: 0 Alert State: Warning or Alarm |
None |
To monitor processes that begin with /usr/sbin | Process Label: bash sys_processes Process Name String: bash.* ^/usr/sbin |
Monitors all the processes that Monitor processes like: /usr/sbin/sshd /usr/sbin/syslogd /usr/sbin/inetd |
In FileSystem filtering you can include or exclude FileSystems based on the FileSystem name or type.
Field | Description |
---|---|
Exclude Filesystem | Enter the filesystem name or a regular expression to exclude filesystems from monitoring. To exclude multiple filesystems, enter a comma-separated list of regular expressions. To exclude the root filesystem use the If the rules are equally specific (if you exclude a file, and include the same file) then exclude takes precedence over include. |
Include Filesystem | Enter the filesystem name or a regular expression to include filesystems for monitoring. To include multiple filesystems, enter a comma-separated list of regular expressions. To include the root filesystem use the |
Type Based Filters | |
FileSystem types to filter | Enter the FileSystem type that you want to filter. FileSystem types are: DEV, FD, DEVFS, PROC, LOFSPROCFS, CTFS, FIFOFS, FDFS, MNTFS, NAMEFS, OBJFS, SHAREFS, SPECFS, SWAPFS |
Instance Persistence (Type Based) | |
Ignore Persistence | Enter the FileSystem types for which persistence monitoring must be denied. The corresponding filesystem instances are destroyed from PATROL Agent. The Mount status (MountStatus) attribute is not set to alarm if the filesystem is unmounted. If such filesystems are mounted again, the instances are rediscovered. Multiple FileSystems can be separated by using a space character. |
In Zpool filtering, you can include or exclude one or multiple Zpools from monitoring.
Field | Description |
---|---|
Zpool Filters | |
Exclude Zpool | Enter the Zpool name or a regular expression to exclude Zpools from monitoring. To exclude multiple Zpools, enter a comma-separated list of regular expressions. |
Include Zpool | Enter the Zpool name or a regular expression to include Zpools for monitoring. To include multiple Zpools, enter a comma-separated list of regular expressions. By default, all the discovered Zpools are included for monitoring. |
Field | Description |
---|---|
Disk Filters | |
Exclude Disk | Enter the disk name or a regular expression to filter disks that you want to exclude from monitoring. To exclude multiple disks, enter a comma-separated list of regular expressions. If the rules are equally specific (if you exclude a disk, and include the same disk) then exclude takes precedence over include. |
Include Disk | Enter the disk name or a regular expression to filter disks that you want to include for monitoring. To include multiple disks, enter a comma-separated list of regular expressions. By default all the disks are included for monitoring. |
Comments
Which is the list of Solaris OS supported by remote monitoring? is it different than the list of Solaris OS supported locally? for instance, is OpenSolaris supported remotely? (we don't see OpenSolaris supported locally)
Thank you for your comment, Javier. Will take this up with the product team and get back to you.
Log in or register to comment.