Changeset 84b424dcdf547a34e263fc6febe927e75d1b1c07

Show
Ignore:
Timestamp:
01/23/08 03:55:20 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1201060520 +0000
git-parent:

[4a0f8e27e18b7e4937e6f050f8f29a5619f55c5a]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1201060520 +0000
Message:

the sample resmon.conf should have a port and use a better status file location (that works with zones) and the SMF should reference a nice zone-local place like /etc/

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • resmon.conf.sample

    r5e9f5b0 r84b424d  
    11INTERVAL 60; 
    2 STATUSFILE /opt/thttpd/www/status.txt; 
     2PORT 81; 
     3STATUSFILE /var/run/resmon-status.txt; 
    34 
    45DATE { 
  • smf/resmon.xml

    rc5d9d08 r84b424d  
    1919                type='path'> 
    2020                        <service_fmri 
    21                                 value='file://localhost/opt/resmon/resmon.conf' /> 
     21                                value='file://localhost/etc/resmon.conf' /> 
    2222        </dependency> 
    2323 
     
    3333            type='method' 
    3434            name='start' 
    35             exec='/opt/resmon/resmon
     35            exec='/opt/resmon/resmon -c /etc/resmon.conf
    3636            timeout_seconds='60' /> 
    3737