blob: 2d91f2d9c6f5883b50a0d8fca86d2e385e0e9c8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
<?xml version="1.0"?>
<!--
Copyright (C) 2002 Stanislav Sinyagin
Copyright (C) 2003 Aaron S. Bush <abush at microelectronics dot com>
File: hpux.xml
Description: HP-UX system monitor example for Torrus.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-->
<!--
This is the example of using the definitions from
"vendor/hp.hpux.xml" configuration file.
Currently the tree structure has to be built by hand, the same way as
the example below. In the future, there will be device discovery
support for this vendor.
-->
<configuration>
<datasources>
<subtree name="SNMP">
<subtree name="HP">
<param name="snmp-community" value="public" />
<param name="domain-name" value="example.com" />
<param name="data-dir" value="/var/snmpcollector" />
<subtree name="hp01">
<param name="legend">
Location: Rack 01;
Contact: John Doe
</param>
<param name="snmp-host" value="hp01" />
<subtree name="stand">
<param name="filesystem-name" value="/stand" />
<param name="filesystem" value="stand" />
<apply-template name="hpux-filesystem" />
</subtree>
<subtree name="root">
<param name="filesystem-name" value="/" />
<param name="filesystem" value="root" />
<apply-template name="hpux-filesystem" />
</subtree>
<subtree name="var">
<param name="filesystem-name" value="/var" />
<param name="filesystem" value="var" />
<apply-template name="hpux-filesystem" />
</subtree>
<subtree name="usr">
<param name="filesystem-name" value="/usr" />
<param name="filesystem" value="usr" />
<apply-template name="hpux-filesystem" />
</subtree>
<subtree name="tmp">
<param name="filesystem-name" value="/tmp" />
<param name="filesystem" value="tmp" />
<apply-template name="hpux-filesystem" />
</subtree>
<subtree name="home">
<param name="filesystem-name" value="/home" />
<param name="filesystem" value="home" />
<apply-template name="hpux-filesystem" />
</subtree>
<subtree name="opt">
<param name="filesystem-name" value="/opt" />
<param name="filesystem" value="opt" />
<apply-template name="hpux-filesystem" />
</subtree>
<apply-template name="hpux-cpu" />
</subtree>
<!-- hp01 -->
</subtree>
</subtree>
</datasources>
</configuration>
|