Commit Graph

49 Commits

Author SHA1 Message Date
Pierre Schweitzer
a4d2dd4c97 [NAGIOS]
Add a PNP4Nagios template for the check_syn plugin

svn path=/trunk/nagios-templates/; revision=2217
2015-06-27 11:51:11 +00:00
Pierre Schweitzer
8e360b48cc [NAGIOS]
Add a plugin to check SYN_SENT connections status

svn path=/trunk/nagios/; revision=2216
2015-06-26 16:22:34 +00:00
Pierre Schweitzer
b6c0f8cb2f [NAGIOS]
Remove useless control file

svn path=/trunk/nagios/; revision=2198
2015-03-13 15:01:39 +00:00
Pierre Schweitzer
1ef00f85b5 [NAGIOS]
Add an old (& forgotten) plugin wrapper

svn path=/trunk/nagios/; revision=2197
2015-03-13 14:55:05 +00:00
Pierre Schweitzer
2c7908e5e2 [NAGIOS]
Add a wrapper for check_procs to get performance data

svn path=/trunk/nagios/; revision=2126
2014-07-14 13:16:13 +00:00
Pierre Schweitzer
bbefee16e9 [NAGIOS]
Welcome packaging :-)

svn path=/trunk/nagios/; revision=2122
2014-06-25 19:33:53 +00:00
Pierre Schweitzer
59cfca3ecc [NAGIOS]
- Fix install rule
- Also install build-free plugins

svn path=/trunk/nagios/; revision=2121
2014-06-25 18:50:09 +00:00
Pierre Schweitzer
726eb6ebf2 [NAGIOS]
Move PNP4Nagios templates to their own directory

svn path=/trunk/nagios-templates/; revision=2120
2014-06-25 18:19:13 +00:00
Pierre Schweitzer
60a276d8f8 [NAGIOS]
Add support for standard DESTDIR var on install

svn path=/trunk/nagios/; revision=2119
2014-06-25 16:47:32 +00:00
Pierre Schweitzer
411c42d5a8 [NAGIOS]
Add install rule

svn path=/trunk/nagios/; revision=2118
2014-06-25 13:56:37 +00:00
Pierre Schweitzer
936d57bbeb [NAGIOS]
Add a makefile

svn path=/trunk/nagios/; revision=2117
2014-06-25 09:23:07 +00:00
Pierre Schweitzer
00aaae2568 [NAGIOS]
Fix a warning

svn path=/trunk/nagios/; revision=2116
2014-06-25 09:21:52 +00:00
Pierre Schweitzer
ebd4220e21 [NAGIOS]
Simply check_ram plugin on OpenBSD

svn path=/trunk/nagios/; revision=2106
2014-04-29 12:03:23 +00:00
Pierre Schweitzer
c6ac03b58c [NAGIOS]
Port check_ram plugin to OpenBSD.
Likely not optimal nor that accurate. Patches are welcome

svn path=/trunk/nagios/; revision=2105
2014-04-28 13:44:23 +00:00
Pierre Schweitzer
60599b17ee [NAGIOS]
Fix VMware modules check...
How did it work till now?!

svn path=/trunk/nagios/; revision=2103
2014-04-10 12:46:56 +00:00
Pierre Schweitzer
7e5738e8f8 [NAGIOS]
Greatly improve OpenVPN check (read rewrite).
Now, instead of only checking for status file, it also reads status file to check whether it has been recently updated.
This has been tested in production and it properly catches a disconnection (while previous one wasn't).

Added a FIXME to the plugin that will have to fixed once our 3 last Debian 6 servers will have been upgraded to Debian 7.

svn path=/trunk/nagios/; revision=2086
2014-01-14 12:56:46 +00:00
Pierre Schweitzer
275c39474e [NAGIOS]
Add support for devices that don't provide "standard" health information nor temperature information.
Degraded SMART check can then be done when asked with -ignore-details=1.
Read this commit as: "Add support for HP Smart Array P420i controller logical drives" 

svn path=/trunk/nagios/; revision=2066
2013-10-22 13:14:53 +00:00
Pierre Schweitzer
5c7a619f50 [NAGIOS]
Add the event handler script to be used with check_buildmaster_freeze check.

See r2050 for more information


svn path=/trunk/nagios/; revision=2051
2013-08-27 13:51:24 +00:00
Pierre Schweitzer
d28071128b [NAGIOS]
Add a plugin to check if we have buildbot master in weird state, with likely infinite build status running (for instance, the trigger).

Addition from Christophe Haen <christophe.haen at cern.ch>: This plugin CANNOT be used as it. You should use it with an event handler that disables
the check when it goes to critical state (so that you keep that state). Then, when you fix the buildmaster issue, you can reenable the plugin and it goes back
to OK. This is needed, because the plugin cannot check whether the found log line really leads to an issue, and cannot know when the issue is fixed.

svn path=/trunk/nagios/; revision=2050
2013-08-27 12:48:10 +00:00
Pierre Schweitzer
c19e8cf93d [NAGIOS]
Add a module to monitor VMware modules. These are not using DKMS, so it helps knowing when we are running without them.
Will help preventing failures on VMware Player testbot

svn path=/trunk/nagios/; revision=2048
2013-08-16 15:11:25 +00:00
Pierre Schweitzer
45fbf9a46a [MUNIN]
Switch to a different representation for total storage in state file.
This allows having a server named "total" in the VPN

svn path=/trunk/munin/; revision=2014
2013-04-10 16:18:20 +00:00
Pierre Schweitzer
c05a5abb44 [NAGIOS]
Add a plugin to check OpenVPN client connection status

svn path=/trunk/nagios/; revision=1986
2013-03-24 20:08:56 +00:00
Pierre Schweitzer
ce51f70e95 [MUNIN]
Add a plugin to monitor OpenVPN connections traffic

svn path=/trunk/munin/; revision=1980
2013-03-22 18:14:28 +00:00
Pierre Schweitzer
17f77fb7e6 [NAGIOS]
Add a modified version of the check_serveraid plugin that allows monitoring ServeRAID raids.
It has been modified to remove any SSH nor sudo usage. It will be accessed through NRPE.

svn path=/trunk/nagios/; revision=1968
2013-02-14 13:28:41 +00:00
Pierre Schweitzer
560c10e11c [NAGIOS]
Properly handle failing devices that smartctl can still half-read

svn path=/trunk/nagios/; revision=1943
2013-01-21 06:21:29 +00:00
Pierre Schweitzer
20b2da7b2d [NAGIOS]
Add a plugin to check mailman mail queue

YES, we have an issue with mailman (and its queue ;-))

svn path=/trunk/nagios/; revision=1941
2013-01-13 20:19:50 +00:00
Pierre Schweitzer
ec927de60f [NAGIOS]
Add a plugin to check for real disk space (it counts reserved blocks as used space instead of free space).

svn path=/trunk/nagios/; revision=1429
2012-07-22 20:28:32 +00:00
Pierre Schweitzer
ded19e79db [NAGIOS]
Use stat instead of open to effectively catch stale mount points.
Patch by Christophe Haen <christophe.haen at cern.ch>

svn path=/trunk/nagios/; revision=1423
2012-07-15 15:50:44 +00:00
Pierre Schweitzer
16febfc5a2 [NAGIOS]
Don't reinvent the weel. Use getopt().
Should be used everywhere else

svn path=/trunk/nagios/; revision=1422
2012-07-15 15:45:09 +00:00
Pierre Schweitzer
2cb50a1a29 [NAGIOS]
Add a pnp4nagios template for check_snort TRA

svn path=/trunk/nagios/; revision=1421
2012-06-28 18:24:35 +00:00
Pierre Schweitzer
ae10353542 [NAGIOS]
Implement option to check traffic and alerts in check_snort plugin

svn path=/trunk/nagios/; revision=1420
2012-06-28 18:22:23 +00:00
Pierre Schweitzer
c2fbec5967 [NAGIOS]
Add the Icinga slave script. This script (to run as cron task) checks for Icinga master status.
If it's not OK twice, then the failover instance is enabled.
On the other hand, while failover is running, if master goes back to life, failover is disabled again.
This allows auto recovery of Icinga monitoring.


svn path=/trunk/nagios/; revision=1417
2012-06-18 19:19:07 +00:00
Pierre Schweitzer
91dac8c7aa [NAGIOS]
Use "git ls-remote" instead of "git-ls-remote" for compatibility reasons

svn path=/trunk/nagios/; revision=1416
2012-06-18 18:50:17 +00:00
Pierre Schweitzer
24e8995c8f [NAGIOS]
Add a simple plugin to check for git status

svn path=/trunk/nagios/; revision=1415
2012-06-14 19:28:28 +00:00
Pierre Schweitzer
6eec4eb7e6 [NAGIOS]
Add a template for pnp4nagios graphs for check_snort SES

svn path=/trunk/nagios/; revision=1414
2012-06-05 20:07:02 +00:00
Pierre Schweitzer
20b386533f [NAGIOS]
Add copyright headers (and use same format everywhere)

svn path=/trunk/nagios/; revision=1407
2012-05-24 21:22:40 +00:00
Pierre Schweitzer
29f8f0b5d2 [NAGIOS]
Add a template for pnp4nagios graphs for check_snort SYN

svn path=/trunk/nagios/; revision=1406
2012-05-24 21:19:40 +00:00
Pierre Schweitzer
f253a3c130 [NAGIOS]
Also send max in perfdata for later use

svn path=/trunk/nagios/; revision=1405
2012-05-24 21:19:10 +00:00
Pierre Schweitzer
d1acd3079b [NAGIOS]
Fix perfdata

svn path=/trunk/nagios/; revision=1399
2012-05-19 16:34:52 +00:00
Pierre Schweitzer
2fa9ebc490 [NAGIOS]
Add a new plugin to check Snort status, plus some data regarding the network monitored by Snort.
For the moment, it does not raise any alert on suspicious outputs

svn path=/trunk/nagios/; revision=1398
2012-05-19 14:06:55 +00:00
Pierre Schweitzer
0254b6556d [NAGIOS]
Add support in the check_smart plugin for our RAID controler so that we can check individually the SMART status of the disks in the array

svn path=/trunk/nagios/; revision=1392
2012-03-16 21:25:28 +00:00
Pierre Schweitzer
16cc58942f [NAGIOS]
Import the check_smart plugin from fuller <fuller@daemogorgon.net>.
It can be found at: http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_smartmon/details

svn path=/trunk/nagios/; revision=1391
2012-03-16 21:24:05 +00:00
Pierre Schweitzer
40975ff28f [NAGIOS]
Add the EOF workaround in all plugins.
Fix warnings

svn path=/trunk/nagios/; revision=1390
2012-03-11 10:41:52 +00:00
Pierre Schweitzer
f13589e0fb [NAGIOS]
Let be ISO C90 compliant

svn path=/trunk/nagios/; revision=1378
2012-02-25 09:50:16 +00:00
Pierre Schweitzer
10a7291ca8 [NAGIOS]
Addendum to last rev

svn path=/trunk/nagios/; revision=1377
2012-02-25 09:44:26 +00:00
Pierre Schweitzer
dbded4a8ec [NAGIOS]
Add missing header
Add missing licence directive

svn path=/trunk/nagios/; revision=1376
2012-02-25 09:43:23 +00:00
Pierre Schweitzer
073db61c97 [NAGIOS]
Add a plugin to check mount points, and more specifically NFS mount points. Like the previous (python) one, this one compare /etc/fstab and /proc/mounts to ensure all mount points are populated.
Unlike the previous one, the plugin also attempts to open the mount points, to ensure those aren't stale. In case they are, it reports an error.

svn path=/trunk/nagios/; revision=1375
2012-02-25 09:39:53 +00:00
Pierre Schweitzer
68625cdc5c [NAGIOS]
Add a plugin to check APC UPS status. This one reproduces behaviour of the one we used previously, but with the following change:
This one only handles the stuff our UPSes actually support.
This one relies on status file written by apcupsd instead of querying the UPS. This will prevent the issues we have on mothership.
Only issue is that this plugin might not be as reactive as the previous one depending on the refresh delay of apcupsd. But, that's only a matter of configuration.

svn path=/trunk/nagios/; revision=1374
2012-02-23 21:22:45 +00:00
Pierre Schweitzer
b82ef23d70 [NAGIOS]
Create a directory to store our Nagios/Icinga internally developed plugins.
Add a check_ram plugin, developed in C, faster (~ +20%) than the bash one we were using previously. Servers will use this new one.
All our scripts should be converted to C programs.

svn path=/trunk/nagios/; revision=1373
2012-02-23 14:20:22 +00:00