diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-03-04 13:56:51 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-03-04 13:56:51 +0000 |
commit | 07deff774cf1a5445ae091ec8a6c99b3c5e44eba (patch) | |
tree | 4c821ba6be50b98eb9cb4e8340b650ba7c4a4f29 | |
parent | 78fb326be62816fa0a0eeda0d62532cf0eb6e734 (diff) | |
download | mangemanche-07deff774cf1a5445ae091ec8a6c99b3c5e44eba.tar.gz mangemanche-07deff774cf1a5445ae091ec8a6c99b3c5e44eba.tar.bz2 |
Add README.
-rw-r--r-- | README | 84 | ||||
-rw-r--r-- | lib/App/Mangemanche/Command/nagios.pm | 10 |
2 files changed, 94 insertions, 0 deletions
@@ -0,0 +1,84 @@ | |||
1 | * Overview | ||
2 | |||
3 | Mangemange is a remote management system for Ping903. It allows the user | ||
4 | to inspect configuration of the running server, add or remove IP | ||
5 | addresses, synchronize the monitored IP list with the Nagios | ||
6 | configuration or an SQL database etc. | ||
7 | |||
8 | * Examples | ||
9 | |||
10 | ** Identify the running serever | ||
11 | |||
12 | $ mangemanche ident | ||
13 | package ping903 | ||
14 | pid 3864 | ||
15 | version 0.4.90 | ||
16 | |||
17 | ** Inspect the server configuration | ||
18 | |||
19 | $ mangemanche inspect | ||
20 | |||
21 | ** Inspect a particular configuration setting | ||
22 | |||
23 | $ mangemanche inspect ip-list | ||
24 | |||
25 | ** Add an IP address to monitoring | ||
26 | |||
27 | $ mangemanche ipadd 198.51.100.2 | ||
28 | |||
29 | ** Import IP addresses from the Nagios configuration | ||
30 | |||
31 | $ mangemanche nagios | ||
32 | |||
33 | * Installation | ||
34 | |||
35 | The usual incantations apply: | ||
36 | |||
37 | perl Makefile.PL | ||
38 | make install | ||
39 | |||
40 | * Documentation | ||
41 | |||
42 | Run "mangemanche --help" for a detailed help. | ||
43 | Run "mangemanche -?" for a list of available subcommands. | ||
44 | Run "mangemanche COMMAND --help" for a detailed help for a particular | ||
45 | COMMAND. | ||
46 | |||
47 | Manual pages are also installed, so "man mangemanche" will give you | ||
48 | the manual for the tool, and, e.g. "man inspect" will give you a | ||
49 | manpage for the "mangemanche inspect" subcommand. | ||
50 | |||
51 | * Notes | ||
52 | |||
53 | If you plan to use "mangemanche nagios" and your Nagios configuration | ||
54 | makes use of multiple template inheritance[1], you will need a modified | ||
55 | version of the Nagios::Config module, available from [2]. The authors | ||
56 | of the module have been informed about a proposed change[3], so | ||
57 | hopefully it will be included in the next release. | ||
58 | |||
59 | * References | ||
60 | |||
61 | [1] https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectinheritance.html | ||
62 | [2] https://github.com/graygnuorg/perl-nagios-object | ||
63 | [3] https://rt.cpan.org/Ticket/Display.html?id=132053 | ||
64 | |||
65 | |||
66 | * Copyright information: | ||
67 | |||
68 | Copyright (C) 2020 Sergey Poznyakoff | ||
69 | |||
70 | Permission is granted to anyone to make or distribute verbatim copies | ||
71 | of this document as received, in any medium, provided that the | ||
72 | copyright notice and this permission notice are preserved, | ||
73 | thus giving the recipient permission to redistribute in turn. | ||
74 | |||
75 | Permission is granted to distribute modified versions | ||
76 | of this document, or of portions of it, | ||
77 | under the above conditions, provided also that they | ||
78 | carry prominent notices stating who last changed them. | ||
79 | |||
80 | Local Variables: | ||
81 | mode: outline | ||
82 | paragraph-separate: "[ ]*$" | ||
83 | version-control: never | ||
84 | End: | ||
diff --git a/lib/App/Mangemanche/Command/nagios.pm b/lib/App/Mangemanche/Command/nagios.pm index d3ad347..690f33a 100644 --- a/lib/App/Mangemanche/Command/nagios.pm +++ b/lib/App/Mangemanche/Command/nagios.pm | |||
@@ -94,6 +94,16 @@ Look for I<PROG> in addition to B<ping903q>. | |||
94 | 94 | ||
95 | =back | 95 | =back |
96 | 96 | ||
97 | =head1 NOTES | ||
98 | |||
99 | If your Nagios configuration makes use of multiple template inheritance, | ||
100 | you would need a modified version of Nagios::Config, available from | ||
101 | |||
102 | L<https://github.com/graygnuorg/perl-nagios-object>. | ||
103 | |||
104 | The bug was reported to the upstream. See | ||
105 | L<https://rt.cpan.org/Ticket/Display.html?id=132053>. | ||
106 | |||
97 | =head1 SEE ALSO | 107 | =head1 SEE ALSO |
98 | 108 | ||
99 | L<ping903>, | 109 | L<ping903>, |