Changeset 0e27b574ddb7a1031255e5a67ccfb16507ec22ae

Show
Ignore:
Timestamp:
05/12/10 21:43:44 (4 years ago)
Author:
Eric Sproul <esproul@omniti.com>
git-committer:
Eric Sproul <esproul@omniti.com> 1273700624 +0000
git-parent:

[7e0ba214b368aaa51cfd76539288e6cf536a29ea]

git-author:
Eric Sproul <esproul@omniti.com> 1273700624 +0000
Message:

Fix docs on Zoneinfo module

git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@378 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Core/Zoneinfo.pm

    r7e0ba21 r0e27b57  
    2121 
    2222 Core::Zoneinfo { 
    23      zoneinfo : zonecfg_path = '/usr/sbin/zonecfg' 
    24  } 
    25  
    26  Core::Zoneinfo { 
    27      zoneinfo : zoneadm_path = '/usr/sbin/zoneadm' 
    28  } 
    29  
    30  Core::Zoneinfo { 
    31      zoneinfo : zfs_path = '/usr/sbin/zfs' 
     23     zoneinfo : zonecfg_path => /usr/sbin/zonecfg 
    3224 } 
    3325 
     
    4436The check name is descriptive only in this check. It is not used for anything. 
    4537 
     38=item zonecfg_path 
     39 
     40Optional.  Specifies the path to the zonecfg command. 
     41 
     42=item zoneadm_path 
     43 
     44Optional.  Specifies the path to the zoneadm command. 
     45 
     46=item zfs_path 
     47 
     48Optional.  Specifies the path to the zfs command. 
     49 
    4650=back 
    4751 
     
    5054=over 
    5155 
    52 =item check_name 
     56=item path 
    5357 
    54 The name of the current check. You wouldn't normally return this, but it is 
    55 here to show how to access the check name, and for testing purposes
     58The path to the root of the zone.  This corresponds to the 'zonepath' config 
     59option to zonecfg(1M)
    5660 
    57 =item arg1 
     61=item dataset 
    5862 
    59 The contents of what you put in the arg1 configuration variable. 
     63The ZFS dataset that provides the zone root, if the zone is on its own ZFS 
     64filesystem.  If the zone is not on its own ZFS filesystem, this will return 
     65'Not a mountpoint'. 
    6066 
    61 =item arg2 
     67=item creation 
    6268 
    63 The contents of what you put in the arg2 configuration variable. 
    64  
    65 =item date 
    66  
    67 Todays date. It only shows the actual date of the month as an example of an 
    68 integer (type "i") metric. 
     69The creation date of the zone's ZFS filesystem.  If the zone is not on its own 
     70ZFS filesystem, this metric is not returned. 
    6971 
    7072=back