Whamcloud - gitweb
LU-11546 tests: enable large_dir support for tests
[fs/lustre-release.git] / snmp / lustre-snmp.h
1 /*
2  * GPL HEADER START
3  *
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 only,
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License version 2 for more details (a copy is included
14  * in the LICENSE file that accompanied this code).
15  *
16  * You should have received a copy of the GNU General Public License
17  * version 2 along with this program; If not, see
18  * http://www.gnu.org/licenses/gpl-2.0.html
19  *
20  * GPL HEADER END
21  */
22 /*
23  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
24  * Use is subject to license terms.
25  */
26 /*
27  * This file is part of Lustre, http://www.lustre.org/
28  * Lustre is a trademark of Sun Microsystems, Inc.
29  *
30  * snmp/lustre-snmp.h
31  *
32  * Author: PJ Kirner <pjkirner@clusterfs.com>
33  */
34
35 #ifndef LUSTRE_SNMP_H
36 #define LUSTRE_SNMP_H
37
38 #include "lustre-snmp-util.h"
39 #include "lustre-snmp-trap.h"
40
41 config_require(util_funcs)
42 config_add_mib(LUSTRE-MIB)
43 config_require(lustre/cfs_util)
44 config_require(lustre/cfs_trap)
45
46 /* function prototypes */
47 void   init_cfsNetSNMPPlugin(void);
48 FindVarMethod var_clusterFileSystems;
49 FindVarMethod var_osdTable;
50 FindVarMethod var_oscTable;
51 FindVarMethod var_mdsTable;
52 FindVarMethod var_mdcTable;
53 FindVarMethod var_cliTable;
54 FindVarMethod var_ldlmTable;
55 FindVarMethod var_lovTable;
56 FindVarMethod var_lnetInformation;
57 FindVarMethod var_mdsNbSampledReq;
58 WriteMethod write_sysStatus;
59
60 #endif /* LUSTRE_SNMP_H */