3 Copyright (C) 2002 Stanislav Sinyagin
4 Copyright (C) 2003 Aaron S. Bush <abush at microelectronics dot com>
7 Description: HP-UX system monitor example for Torrus.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
25 This is the example of using the definitions from
26 "vendor/hp.hpux.xml" configuration file.
27 Currently the tree structure has to be built by hand, the same way as
28 the example below. In the future, there will be device discovery
29 support for this vendor.
40 <param name="snmp-community" value="public" />
41 <param name="domain-name" value="example.com" />
42 <param name="data-dir" value="/var/snmpcollector" />
49 <param name="snmp-host" value="hp01" />
51 <subtree name="stand">
52 <param name="filesystem-name" value="/stand" />
53 <param name="filesystem" value="stand" />
54 <apply-template name="hpux-filesystem" />
58 <param name="filesystem-name" value="/" />
59 <param name="filesystem" value="root" />
60 <apply-template name="hpux-filesystem" />
64 <param name="filesystem-name" value="/var" />
65 <param name="filesystem" value="var" />
66 <apply-template name="hpux-filesystem" />
70 <param name="filesystem-name" value="/usr" />
71 <param name="filesystem" value="usr" />
72 <apply-template name="hpux-filesystem" />
76 <param name="filesystem-name" value="/tmp" />
77 <param name="filesystem" value="tmp" />
78 <apply-template name="hpux-filesystem" />
82 <param name="filesystem-name" value="/home" />
83 <param name="filesystem" value="home" />
84 <apply-template name="hpux-filesystem" />
88 <param name="filesystem-name" value="/opt" />
89 <param name="filesystem" value="opt" />
90 <apply-template name="hpux-filesystem" />
93 <apply-template name="hpux-cpu" />