and added files
[bcm963xx.git] / userapps / opensource / net-snmp / local / snmpconf.dir / snmpd-data / monitor
1 title Monitor Various Aspects of the Running Host
2 description The following check up on various aspects of a host.
3
4 token proc
5 info Check for processes that should be running.
6 info #  proc NAME [MAX=0] [MIN=0]
7 info #
8 info #  NAME:  the name of the process to check for.  It must match
9 info #         exactly (ie, http will not find httpd processes).
10 info #  MAX:   the maximum number allowed to be running.  Defaults to 0.
11 info #  MIN:   the minimum number to be running.  Defaults to 0.
12 info #
13 info The results are reported in the prTable section of the UCD-SNMP-MIB tree
14 info Special Case:  When the min and max numbers are both 0, it assumes
15 info you want a max of infinity and a min of 1.
16 question 1 Name of the process you want to check on
17 question 2 Maximum number of processes named '$1' that should be running [default = 0]
18 question 3 Minimum number of processes named '$1' that should be running [default = 0]
19
20 token disk
21 info Check for disk space usage of a partition.
22 info The agent can check the amount of available disk space, and make
23 info sure it is above a set limit.  
24 info
25 info # disk PATH [MIN=100000]
26 info #
27 info # PATH:  mount path to the disk in question.
28 info # MIN:   Disks with space below this value will have the Mib's errorFlag set.
29 info #        Can be a raw byte value or a percentage followed by the %
30 info #        symbol.  Default value = 100000.
31 info #
32 info The results are reported in the dskTable section of the UCD-SNMP-MIB tree
33 question 1 Enter the mount point for the disk partion to be checked on
34 question 2 Enter the minimum amount of space that should be available on $1
35
36 token load
37 info Check for unreasonable load average values.
38 info Watch the load average levels on the machine.
39 info
40 info # load [1MAX=12.0] [5MAX=12.0] [15MAX=12.0]
41 info #
42 info # 1MAX:   If the 1 minute load average is above this limit at query
43 info #         time, the errorFlag will be set.
44 info # 5MAX:   Similar, but for 5 min average.
45 info # 15MAX:  Similar, but for 15 min average.
46 info #
47 info The results are reported in the laTable section of the UCD-SNMP-MIB tree
48 question 1 Enter the maximum allowable value for the 1 minute load average
49 question 2 Enter the maximum allowable value for the 5 minute load average
50 question 3 Enter the maximum allowable value for the 15 minute load average
51 validanswer 1 ^[\d\.]+$
52 validanswer 2 ^([\d\.]+|)$
53 validanswer 3 ^([\d\.]+|)$
54
55 token file
56 info Check on the size of a file.
57 info Display a files size statistics.
58 info If it grows to be too large, report an error about it.
59 info
60 info # file /path/to/file [maxsize_in_bytes]
61 info #
62 info #   if maxsize is not specified, assume only size reporting is needed.
63 info #
64 info The results are reported in the fileTable section of the UCD-SNMP-MIB tree
65 question 1 Enter the path to the file you wish to monitor
66 question 2 Enter the maximum size (in bytes) allowable for $1
67
68 group monitoring_services
69 multiple proc Do you want to configure the agents ability to monitor processes?
70 multiple disk Do you want to configure the agents ability to monitor disk space?
71 multiple load Do you want to configure the agents ability to monitor load average?
72 multiple file Do you want to configure the agents ability to monitor file sizes?