Whamcloud - gitweb
LU-14797 sec: add projid to nodemap
[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  *
29  * snmp/lustre-snmp.h
30  *
31  * Author: PJ Kirner <pjkirner@clusterfs.com>
32  */
33
34 #ifndef LUSTRE_SNMP_H
35 #define LUSTRE_SNMP_H
36
37 #include "lustre-snmp-util.h"
38 #include "lustre-snmp-trap.h"
39
40 config_require(util_funcs)
41 config_add_mib(LUSTRE-MIB)
42 config_require(lustre/cfs_util)
43 config_require(lustre/cfs_trap)
44
45 /* function prototypes */
46 void   init_cfsNetSNMPPlugin(void);
47 FindVarMethod var_clusterFileSystems;
48 FindVarMethod var_osdTable;
49 FindVarMethod var_oscTable;
50 FindVarMethod var_mdsTable;
51 FindVarMethod var_mdcTable;
52 FindVarMethod var_cliTable;
53 FindVarMethod var_ldlmTable;
54 FindVarMethod var_lovTable;
55 FindVarMethod var_lnetInformation;
56 FindVarMethod var_mdsNbSampledReq;
57 WriteMethod write_sysStatus;
58
59 #endif /* LUSTRE_SNMP_H */