summaryrefslogtreecommitdiffstats
path: root/web/input/doc/faq/nagiosmib.md
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-01-11 16:38:18 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-01-11 16:38:18 (GMT)
commit7b0fa5d642466e7cdd0d326658c3c06c27f8a1ec (patch)
tree1bd1fe366d4063f29ed6930b0750c6bd7a72b7e9 /web/input/doc/faq/nagiosmib.md
parent16bf58546355690e0d9cf4e7d181255aac73b5c6 (diff)
downloadsite-7b0fa5d642466e7cdd0d326658c3c06c27f8a1ec.tar.gz
Import most FAQ items from old web site
Import most of the FAQ entries from our old web site. A few outdated questions have been omitted, many of the imported ones were updated in one way or another, and the order of the development-related questions has been changed. Also, the phrasing of some questions has been modified (just to make the headings shorter). For the record, this is the original list of questions from the old web site: General ------- * Who controls the Nagios Plugins project? * What license is Nagios Plugins distributed under? * Who owns the copyright for the Nagios Plugin code? * Can I submit a patch to this project? * Do you accept donations? Compiling --------- * ./configure appears to hang * check_ldap, check_radius or check_pgsql don't compile even though configure output says the required libraries are present * How come check_http/check_tcp doesn't work with --ssl? * How do I compile the Nagios::Plugin perl module? * I can't compile check_mysql on solaris * I get '":types" is not exported by the Params::Validate module' when running tests * Why does Solaris use pst3 for check_procs? Installing ---------- * Some of the root plugins (check_dhcp and check_icmp) haven't been installed. What's happening? * Why aren't my plugins installed as the nagios user? And what about root plugins? Development ----------- * How do I use Git? * Can I add extra tests to the C routines? * Can I use the Nagios Plugins in my own project? * How can I find out more about writing a plugin? * How do I make changes on nagiosmib? * How do I prove the C routines work? * How do I use and update Gnulib? * How do I use the Nagios::Plugin perl module? * How do the test parameters in NPTest.pm work? * Private C APIs
Diffstat (limited to 'web/input/doc/faq/nagiosmib.md')
-rw-r--r--web/input/doc/faq/nagiosmib.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/web/input/doc/faq/nagiosmib.md b/web/input/doc/faq/nagiosmib.md
new file mode 100644
index 0000000..b2f34ae
--- /dev/null
+++ b/web/input/doc/faq/nagiosmib.md
@@ -0,0 +1,45 @@
1title: Modifying NagiosMIB
2parent: FAQ
3---
4
5# How do I modify NagiosMIB?
6
7Nagiosmib is a set of MIBs for Nagios to allow traps sent from Nagios to be
8recognized by other NMSes.
9
10To develop, the requirements are:
11
12* make
13* smistrip and smilint, part of the [libsmi project][libsmi]
14
15On Debian, you'd run:
16
17 apt-get install smistrip smitools
18
19If you get errors like:
20
21 ./MIB/NAGIOS-ROOT-MIB:4: failed to locate MIB module `SNMPv2-SMI'
22 ./MIB/NAGIOS-ROOT-MIB:6: failed to locate MIB module `SNMPv2-TC'
23
24then you are missing some prerequisite MIBs. These need to be installed from
25the libsmi project.
26
27Currently there are some warnings such as:
28
29 ./MIB/NAGIOS-ROOT-MIB:35: warning: current type `NotifyType' is not referenced in this module
30 ./MIB/NAGIOS-NOTIFY-MIB:153: warning: use Integer32 instead of INTEGER in SMIv2
31
32These are probably okay.
33
34To change the MIB information, update the `src-mib` directory and run `make`
35to generate the MIBs. Run `make` `test` to check.
36
37Update the `CHANGES` file and commit.
38
39To release, change the version number in the `Makefile` and run `make`
40`tarball`. Publish the tarball and md5sum. Create a news story on this site.
41Link back to here from the tarball release.
42
43[libsmi]: http://www.ibr.cs.tu-bs.de/projects/libsmi/ "libsmi"
44
45<!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %-->