Changeset 0e27b574ddb7a1031255e5a67ccfb16507ec22ae
- Timestamp:
- 05/12/10 21:43:44
(3 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
| r7e0ba21 |
r0e27b57 |
|
| 21 | 21 | |
|---|
| 22 | 22 | 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 |
|---|
| 32 | 24 | } |
|---|
| 33 | 25 | |
|---|
| … | … | |
| 44 | 36 | The check name is descriptive only in this check. It is not used for anything. |
|---|
| 45 | 37 | |
|---|
| | 38 | =item zonecfg_path |
|---|
| | 39 | |
|---|
| | 40 | Optional. Specifies the path to the zonecfg command. |
|---|
| | 41 | |
|---|
| | 42 | =item zoneadm_path |
|---|
| | 43 | |
|---|
| | 44 | Optional. Specifies the path to the zoneadm command. |
|---|
| | 45 | |
|---|
| | 46 | =item zfs_path |
|---|
| | 47 | |
|---|
| | 48 | Optional. Specifies the path to the zfs command. |
|---|
| | 49 | |
|---|
| 46 | 50 | =back |
|---|
| 47 | 51 | |
|---|
| … | … | |
| 50 | 54 | =over |
|---|
| 51 | 55 | |
|---|
| 52 | | =item check_name |
|---|
| | 56 | =item path |
|---|
| 53 | 57 | |
|---|
| 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. |
|---|
| | 58 | The path to the root of the zone. This corresponds to the 'zonepath' config |
|---|
| | 59 | option to zonecfg(1M). |
|---|
| 56 | 60 | |
|---|
| 57 | | =item arg1 |
|---|
| | 61 | =item dataset |
|---|
| 58 | 62 | |
|---|
| 59 | | The contents of what you put in the arg1 configuration variable. |
|---|
| | 63 | The ZFS dataset that provides the zone root, if the zone is on its own ZFS |
|---|
| | 64 | filesystem. If the zone is not on its own ZFS filesystem, this will return |
|---|
| | 65 | 'Not a mountpoint'. |
|---|
| 60 | 66 | |
|---|
| 61 | | =item arg2 |
|---|
| | 67 | =item creation |
|---|
| 62 | 68 | |
|---|
| 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. |
|---|
| | 69 | The creation date of the zone's ZFS filesystem. If the zone is not on its own |
|---|
| | 70 | ZFS filesystem, this metric is not returned. |
|---|
| 69 | 71 | |
|---|
| 70 | 72 | =back |
|---|