]> git.pld-linux.org Git - packages/net-snmp.git/blob - net-snmp-defaultconfig.patch
Provide hrMIB data via librpm for rpm 4.16
[packages/net-snmp.git] / net-snmp-defaultconfig.patch
1 --- net-snmp-5.5/EXAMPLE.conf.def.org   2009-06-01 15:11:07.000000000 +0200
2 +++ net-snmp-5.5/EXAMPLE.conf.def       2010-06-05 20:02:19.658299931 +0200
3 @@ -74,8 +74,8 @@
4  
5  #  Note that setting these values here, results in the corresponding MIB objects being 'read-only'
6  #  See snmpd.conf(5) for more details
7 -sysLocation    Sitting on the Dock of the Bay
8 -sysContact     Me <me@example.org>
9 +sysLocation    Unknown (configure /etc/snmp/snmpd.local.conf)
10 +sysContact     Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
11                                                   # Application + End-to-End layers
12  sysServices    72
13  
14 @@ -84,11 +84,11 @@
15  #  Process Monitoring
16  #
17                                 # At least one  'mountd' process
18 -proc  mountd
19 +#proc  mountd
20                                 # No more than 4 'ntalkd' processes - 0 is OK
21 -proc  ntalkd    4
22 +#proc  ntalkd    4
23                                 # At least one 'sendmail' process, but no more than 10
24 -proc  sendmail 10 1
25 +#proc  sendmail 10 1
26  
27  #  Walk the UCD-SNMP-MIB::prTable to see the resulting output
28  #  Note that this table will be empty if there are no "proc" entries in the snmpd.conf file
29 @@ -98,9 +98,9 @@
30  #  Disk Monitoring
31  #
32                                 # 10MBs required on root disk, 5% free on /var, 10% free on all other disks
33 -disk       /     10000
34 -disk       /var  5%
35 -includeAllDisks  10%
36 +#disk       /     10000
37 +#disk       /var  5%
38 +#includeAllDisks  10%
39  
40  #  Walk the UCD-SNMP-MIB::dskTable to see the resulting output
41  #  Note that this table will be empty if there are no "disk" entries in the snmpd.conf file
42 @@ -110,7 +110,7 @@
43  #  System Load
44  #
45                                 # Unacceptable 1-, 5-, and 15-minute load averages
46 -load   12 10 5
47 +#load   12 10 5
48  
49  #  Walk the UCD-SNMP-MIB::laTable to see the resulting output
50  #  Note that this table *will* be populated, even without a "load" entry in the snmpd.conf file
51 @@ -154,8 +154,8 @@
52  #
53  #  Arbitrary extension commands
54  #
55 - extend    test1   /bin/echo  Hello, world!
56 - extend-sh test2   echo Hello, world! ; echo Hi there ; exit 35
57 +#extend    test1   /bin/echo  Hello, world!
58 +#extend-sh test2   echo Hello, world! ; echo Hi there ; exit 35
59  #extend-sh test3   /bin/sh /tmp/shtest
60  
61  #  Note that this last entry requires the script '/tmp/shtest' to be created first,
This page took 0.080541 seconds and 3 git commands to generate.