mirror/dsa-nagios.git
6 years agoraid/hpssacli: check for cable errors/no batteries
Faidon Liambotis [Mon, 29 May 2017 17:17:26 +0000 (20:17 +0300)]
raid/hpssacli: check for cable errors/no batteries

We had a case in the wild where the following "show status" resulted in an OK:
   Controller Status: OK
   Cache Status: Permanently Disabled

We already fixed the check to emit a WARNING when Cache Status is not
"OK" or "Not Configured" in a previous commit, but it seems there's
another thing we could check: "controller slot=N show detail". This had
a few more values we could check, and specifically:
   Cache Status Details: Cable Error
   Battery/Capacitor Count: 0

Emit CRITICAL for the former, and CRITICAL for the latter if the count
is 0 and the argument --no-battery hasn't been passed to us.

This is untested on systems that have no battery by design -- hopefully,
Cable Error won't be reported on these.

Signed-off-by: Faidon Liambotis <paravoid@debian.org>
6 years agoraid/hpssacli: WARN on permanently disabled cache
Faidon Liambotis [Mon, 29 May 2017 17:17:25 +0000 (20:17 +0300)]
raid/hpssacli: WARN on permanently disabled cache

Commit 2f4db17df6b239dbe91da46779fd0c723bfdc14d skipped the Cache Status
line of "controller slot=N show status", in an effort to make it not
warn on HP SSD Smart Path configurations where Cache Status was set to
"Not Configured". We were checking instead the LD Acceleration Status
for each logical drive, which was indicative in the past.

We have now seen a case out in the wild where Cache Status is set to
"Permanently Disabled", indicative of an issue with the hardware's
battery, but LDs all report "LD Acceleration Status: Controller Cache"
and "Caching:  Enabled".

Change the Cache Status check to explicitly check for "OK" or "Not
Configured" and otherwise emit a WARNING.

Signed-off-by: Faidon Liambotis <paravoid@debian.org>
6 years agodecommission httpredir-csail-01
Julien Cristau [Mon, 29 May 2017 18:48:57 +0000 (20:48 +0200)]
decommission httpredir-csail-01

6 years agodsa-check-dnssec-delegation: Net::DNS::RR::DNSKEY no longer has an is_sep() method...
Peter Palfrader [Mon, 22 May 2017 11:11:47 +0000 (13:11 +0200)]
dsa-check-dnssec-delegation: Net::DNS::RR::DNSKEY no longer has an is_sep() method on stretch

7 years agohier.d.o also does https
Aurelien Jarno [Sun, 21 May 2017 08:29:26 +0000 (10:29 +0200)]
hier.d.o also does https

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agodsa-check_puppet_agent -> dsa-check-puppet_agent
Peter Palfrader [Fri, 19 May 2017 12:19:31 +0000 (14:19 +0200)]
dsa-check_puppet_agent -> dsa-check-puppet_agent

7 years agoNFS client through autofs on hier.d.o
Aurelien Jarno [Tue, 16 May 2017 23:05:13 +0000 (01:05 +0200)]
NFS client through autofs on hier.d.o

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoDo not load Python code from YAML files
Paul Wise [Mon, 15 May 2017 06:43:42 +0000 (14:43 +0800)]
Do not load Python code from YAML files

7 years agoAdd hier.d.o
Aurelien Jarno [Thu, 11 May 2017 19:46:28 +0000 (21:46 +0200)]
Add hier.d.o

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agosibelius is now an nfs-server and sallinen an nfs-client
Aurelien Jarno [Tue, 18 Apr 2017 20:47:25 +0000 (22:47 +0200)]
sibelius is now an nfs-server and sallinen an nfs-client

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoNo xinetd on sechter and mirror-skroutz either
Julien Cristau [Sat, 15 Apr 2017 14:58:42 +0000 (16:58 +0200)]
No xinetd on sechter and mirror-skroutz either

7 years agoMore xinetd cleanup
Julien Cristau [Sat, 15 Apr 2017 10:55:59 +0000 (12:55 +0200)]
More xinetd cleanup

7 years agoStop looking for xinetd on a bunch of hosts
Julien Cristau [Fri, 14 Apr 2017 15:24:25 +0000 (17:24 +0200)]
Stop looking for xinetd on a bunch of hosts

Some ftp and rsync services moved to systemd instead.

7 years agohoiby on stretch (instead of arnold)
Aurelien Jarno [Fri, 14 Apr 2017 06:46:53 +0000 (08:46 +0200)]
hoiby on stretch (instead of arnold)

I upgraded hoiby to stretch, not arnold which I just used to access the
serial console.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoarnold on stretch
Aurelien Jarno [Thu, 13 Apr 2017 12:56:13 +0000 (14:56 +0200)]
arnold on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoMerge branch 'master' of git+ssh://db.debian.org/git/dsa-nagios
Martin Zobel-Helas [Thu, 13 Apr 2017 07:14:01 +0000 (09:14 +0200)]
Merge branch 'master' of git+ssh://db.debian.org/git/dsa-nagios

* 'master' of git+ssh://db.debian.org/git/dsa-nagios:
  beach and wilder used to need xinetd for rsync, now declared through rsyncd-systemd-hosts
  xinetd used to run on danzi, quantz, nono and wuiet without reason
  lw0X used to need xinetd for rsync, now declared through rsyncd-systemd-hosts
  ... except mirror-accumu which still get it through xinetd
  All now get their rsync via systemd
  mipsel-sil-01 on stretch
  arm-arm-01 on stretch
  We don't use rngd anymore for stretch kvm domains
  mips-sil-01 on stretch
  zani on stretch
  x86-csail-02 on stretch
  arm-conova-01 on stretch
  ppc64el-osuosl-01 on stretch
  x86-ubc-01.d.o on stretch

7 years agoadd mirror-skroutz
Martin Zobel-Helas [Thu, 13 Apr 2017 07:13:51 +0000 (09:13 +0200)]
add mirror-skroutz

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
7 years agobeach and wilder used to need xinetd for rsync, now declared through rsyncd-systemd...
Aurelien Jarno [Wed, 12 Apr 2017 21:54:24 +0000 (23:54 +0200)]
beach and wilder used to need xinetd for rsync, now declared through rsyncd-systemd-hosts

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoxinetd used to run on danzi, quantz, nono and wuiet without reason
Aurelien Jarno [Wed, 12 Apr 2017 21:38:28 +0000 (23:38 +0200)]
xinetd used to run on danzi, quantz, nono and wuiet without reason

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agolw0X used to need xinetd for rsync, now declared through rsyncd-systemd-hosts
Aurelien Jarno [Wed, 12 Apr 2017 21:33:50 +0000 (23:33 +0200)]
lw0X used to need xinetd for rsync, now declared through rsyncd-systemd-hosts

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years ago... except mirror-accumu which still get it through xinetd
Aurelien Jarno [Wed, 12 Apr 2017 21:23:46 +0000 (23:23 +0200)]
... except mirror-accumu which still get it through xinetd

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoAll now get their rsync via systemd
Aurelien Jarno [Wed, 12 Apr 2017 21:22:28 +0000 (23:22 +0200)]
All now get their rsync via systemd

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agomipsel-sil-01 on stretch
Aurelien Jarno [Wed, 12 Apr 2017 20:42:53 +0000 (22:42 +0200)]
mipsel-sil-01 on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoarm-arm-01 on stretch
Aurelien Jarno [Sat, 8 Apr 2017 10:13:28 +0000 (12:13 +0200)]
arm-arm-01 on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoWe don't use rngd anymore for stretch kvm domains
Aurelien Jarno [Sat, 8 Apr 2017 09:07:35 +0000 (11:07 +0200)]
We don't use rngd anymore for stretch kvm domains

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agomips-sil-01 on stretch
Aurelien Jarno [Thu, 6 Apr 2017 22:05:15 +0000 (00:05 +0200)]
mips-sil-01 on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agozani on stretch
Aurelien Jarno [Thu, 6 Apr 2017 20:50:42 +0000 (22:50 +0200)]
zani on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agox86-csail-02 on stretch
Aurelien Jarno [Thu, 6 Apr 2017 20:48:18 +0000 (22:48 +0200)]
x86-csail-02 on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoarm-conova-01 on stretch
Aurelien Jarno [Thu, 6 Apr 2017 18:43:54 +0000 (20:43 +0200)]
arm-conova-01 on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoppc64el-osuosl-01 on stretch
Aurelien Jarno [Thu, 6 Apr 2017 09:40:18 +0000 (11:40 +0200)]
ppc64el-osuosl-01 on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agox86-ubc-01.d.o on stretch
Aurelien Jarno [Wed, 5 Apr 2017 18:56:22 +0000 (20:56 +0200)]
x86-ubc-01.d.o on stretch

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
7 years agoRaise limit of icinga processes
Martin Zobel-Helas [Mon, 3 Apr 2017 10:11:05 +0000 (12:11 +0200)]
Raise limit of icinga processes

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
7 years agomirror-accumu is a xinetd-host
Martin Zobel-Helas [Sat, 1 Apr 2017 12:15:07 +0000 (14:15 +0200)]
mirror-accumu is a xinetd-host

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
7 years agomirror-accumu is now on a different gateway
Martin Zobel-Helas [Mon, 27 Mar 2017 18:43:25 +0000 (20:43 +0200)]
mirror-accumu is now on a different gateway

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
7 years agoacker on stretch
Peter Palfrader [Mon, 27 Mar 2017 12:30:41 +0000 (14:30 +0200)]
acker on stretch

7 years agomove lindsay to stretch
Peter Palfrader [Sun, 26 Mar 2017 11:32:48 +0000 (13:32 +0200)]
move lindsay to stretch

7 years agono puppet agent on moszumanska
Julien Cristau [Mon, 20 Mar 2017 21:42:28 +0000 (22:42 +0100)]
no puppet agent on moszumanska

7 years agoremove ganeti2
Peter Palfrader [Mon, 20 Mar 2017 21:01:25 +0000 (22:01 +0100)]
remove ganeti2

7 years agopostgres96-hosts on handel
Peter Palfrader [Mon, 20 Mar 2017 20:25:02 +0000 (21:25 +0100)]
postgres96-hosts on handel

7 years agohandel is on stretch
Julien Cristau [Mon, 20 Mar 2017 20:12:45 +0000 (21:12 +0100)]
handel is on stretch

7 years agorun memory and puppet check on all hosts now
Peter Palfrader [Mon, 20 Mar 2017 16:10:12 +0000 (17:10 +0100)]
run memory and puppet check on all hosts now

7 years agoUse the dsa-check-libs from the dsa nagios checks package again
Peter Palfrader [Mon, 20 Mar 2017 16:03:54 +0000 (17:03 +0100)]
Use the dsa-check-libs from the dsa nagios checks package again

7 years agoprepare adding free memory check
Peter Palfrader [Mon, 20 Mar 2017 09:14:48 +0000 (10:14 +0100)]
prepare adding free memory check

7 years agoprepare puppet-agent check
Peter Palfrader [Mon, 20 Mar 2017 09:06:19 +0000 (10:06 +0100)]
prepare puppet-agent check

7 years agodsa-wrap-nagios-check: fix help output (-s -> -S)
Peter Palfrader [Mon, 20 Mar 2017 08:55:23 +0000 (09:55 +0100)]
dsa-wrap-nagios-check: fix help output (-s -> -S)

7 years agostart new version
Peter Palfrader [Mon, 20 Mar 2017 08:47:04 +0000 (09:47 +0100)]
start new version

7 years agorelease
Peter Palfrader [Mon, 20 Mar 2017 08:46:06 +0000 (09:46 +0100)]
release

7 years agoAdd buildinfo file to gitignore
Peter Palfrader [Mon, 20 Mar 2017 08:44:15 +0000 (09:44 +0100)]
Add buildinfo file to gitignore

7 years agoAdd dsa-wrap-nagios-check
Peter Palfrader [Mon, 20 Mar 2017 08:43:40 +0000 (09:43 +0100)]
Add dsa-wrap-nagios-check

7 years agoMove dsa-check-memory to checks/
Peter Palfrader [Mon, 20 Mar 2017 08:29:23 +0000 (09:29 +0100)]
Move dsa-check-memory to checks/

7 years agowhitespace cleanup (turn the remaining tabs into spaces
Peter Palfrader [Mon, 20 Mar 2017 08:29:11 +0000 (09:29 +0100)]
whitespace cleanup (turn the remaining tabs into spaces

7 years agoAdd copyright/license header to dsa-check-memory. acked on IRC by sgran
Peter Palfrader [Mon, 20 Mar 2017 08:28:40 +0000 (09:28 +0100)]
Add copyright/license header to dsa-check-memory.  acked on IRC by sgran

7 years agoAdd dsa-check_puppet_agent
Peter Palfrader [Mon, 20 Mar 2017 08:26:05 +0000 (09:26 +0100)]
Add dsa-check_puppet_agent

7 years agoit is now network stuff in general, not just mikrotik
Peter Palfrader [Sat, 18 Mar 2017 11:56:43 +0000 (12:56 +0100)]
it is now network stuff in general, not just mikrotik

7 years agodsa-check-running-kernel: meta package version check, also work on 4.x kernels and...
Peter Palfrader [Sun, 12 Mar 2017 23:05:41 +0000 (00:05 +0100)]
dsa-check-running-kernel: meta package version check, also work on 4.x kernels and later

7 years agoretire glinka
Peter Palfrader [Sat, 11 Mar 2017 20:56:27 +0000 (21:56 +0100)]
retire glinka

7 years agomonitor mikrotik backup age
Peter Palfrader [Thu, 9 Mar 2017 09:56:39 +0000 (10:56 +0100)]
monitor mikrotik backup age

7 years agoand fix quotes
Peter Palfrader [Thu, 9 Mar 2017 09:49:15 +0000 (10:49 +0100)]
and fix quotes

7 years agowhitespace change
Peter Palfrader [Thu, 9 Mar 2017 09:46:30 +0000 (10:46 +0100)]
whitespace change

7 years agodsa-check-file_age: support multiple files
Peter Palfrader [Thu, 9 Mar 2017 09:46:04 +0000 (10:46 +0100)]
dsa-check-file_age: support multiple files

7 years agodsa-check-file_age: support following symlinks and warning on empty files
Peter Palfrader [Thu, 9 Mar 2017 09:31:01 +0000 (10:31 +0100)]
dsa-check-file_age: support following symlinks and warning on empty files

7 years agodsa-check-backuppg: warn if backups for a database configured in dsa-check-backuppg...
Peter Palfrader [Tue, 28 Feb 2017 07:42:58 +0000 (08:42 +0100)]
dsa-check-backuppg: warn if backups for a database configured in dsa-check-backuppg.conf are missing entirely.

7 years agowider irqbalance check
Peter Palfrader [Mon, 27 Feb 2017 16:53:38 +0000 (17:53 +0100)]
wider irqbalance check

7 years agoAnd check it runs (on casulana only for now)
Peter Palfrader [Sun, 26 Feb 2017 08:22:51 +0000 (09:22 +0100)]
And check it runs (on casulana only for now)

7 years agodo not complain about irqbalance anymore
Peter Palfrader [Sun, 26 Feb 2017 08:21:44 +0000 (09:21 +0100)]
do not complain about irqbalance anymore

7 years agotimesyncd at ubc
Peter Palfrader [Sat, 25 Feb 2017 17:33:43 +0000 (18:33 +0100)]
timesyncd at ubc

7 years agoAdd piu-slave-ubc-01
Peter Palfrader [Sat, 25 Feb 2017 17:29:02 +0000 (18:29 +0100)]
Add piu-slave-ubc-01

7 years agoftp for security is provided on mirror-umn2 and mirror-isc2, not the base host
Peter Palfrader [Fri, 24 Feb 2017 11:50:39 +0000 (12:50 +0100)]
ftp for security is provided on mirror-umn2 and mirror-isc2, not the base host

7 years agoand another xinetd
Peter Palfrader [Thu, 23 Feb 2017 22:25:00 +0000 (23:25 +0100)]
and another xinetd

7 years agoadd secondary IP addresses and xinetd
Peter Palfrader [Thu, 23 Feb 2017 22:20:48 +0000 (23:20 +0100)]
add secondary IP addresses and xinetd

7 years agorename boman to mirror-accumu
Peter Palfrader [Thu, 23 Feb 2017 21:44:49 +0000 (22:44 +0100)]
rename boman to mirror-accumu

7 years agorename bilbao to mirror-bytemark
Peter Palfrader [Thu, 23 Feb 2017 18:34:07 +0000 (19:34 +0100)]
rename bilbao to mirror-bytemark

7 years agoRetire poulenc: hardware died
Peter Palfrader [Thu, 23 Feb 2017 17:08:26 +0000 (18:08 +0100)]
Retire poulenc: hardware died

7 years agoapache on mirror-conova
Peter Palfrader [Tue, 21 Feb 2017 18:55:08 +0000 (19:55 +0100)]
apache on mirror-conova

7 years agoUpdate upstream of mirror-isc as it moved
Paul Wise [Tue, 21 Feb 2017 13:54:02 +0000 (21:54 +0800)]
Update upstream of mirror-isc as it moved

7 years agopg96 on melartin
Peter Palfrader [Tue, 21 Feb 2017 10:39:18 +0000 (11:39 +0100)]
pg96 on melartin

7 years agogretchaninov now does https
Julien Cristau [Sun, 19 Feb 2017 17:27:27 +0000 (18:27 +0100)]
gretchaninov now does https

7 years agoclean locales for timedatectl call
Peter Palfrader [Fri, 17 Feb 2017 15:54:19 +0000 (16:54 +0100)]
clean locales for timedatectl call

7 years agoupdate busoni ip address
Peter Palfrader [Thu, 16 Feb 2017 21:28:53 +0000 (22:28 +0100)]
update busoni ip address

7 years agoAdd mirror-master static check
Peter Palfrader [Sat, 11 Feb 2017 16:10:07 +0000 (17:10 +0100)]
Add mirror-master static check

7 years agosibelius, seger, fasolo do their rsync via systemd
Peter Palfrader [Fri, 10 Feb 2017 20:57:20 +0000 (21:57 +0100)]
sibelius, seger, fasolo do their rsync via systemd

7 years agono more xinetd on fasolo and sibelius
Peter Palfrader [Fri, 10 Feb 2017 20:42:05 +0000 (21:42 +0100)]
no more xinetd on fasolo and sibelius

7 years agofix syntax
Martin Zobel-Helas [Thu, 9 Feb 2017 11:48:42 +0000 (12:48 +0100)]
fix syntax

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
7 years agoMerge branch 'master' of git+ssh://db.debian.org/git/dsa-nagios
Martin Zobel-Helas [Thu, 9 Feb 2017 11:45:52 +0000 (12:45 +0100)]
Merge branch 'master' of git+ssh://db.debian.org/git/dsa-nagios

* 'master' of git+ssh://db.debian.org/git/dsa-nagios:
  sallinen fan#1 and fan#2 are absent
  porta and kaufmann get their rsync via systemd
  retry_check_interval is deprecated.  Replace with retry_interval.
  no more xinetd on kaufmann
  add sallinen

7 years agoadd mirror-conova
Martin Zobel-Helas [Thu, 9 Feb 2017 11:44:57 +0000 (12:44 +0100)]
add mirror-conova

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
7 years agosallinen fan#1 and fan#2 are absent
Julien Cristau [Wed, 8 Feb 2017 14:55:26 +0000 (15:55 +0100)]
sallinen fan#1 and fan#2 are absent

7 years agoporta and kaufmann get their rsync via systemd
Peter Palfrader [Wed, 8 Feb 2017 10:59:30 +0000 (11:59 +0100)]
porta and kaufmann get their rsync via systemd

7 years agoretry_check_interval is deprecated. Replace with retry_interval.
Peter Palfrader [Wed, 8 Feb 2017 10:56:06 +0000 (11:56 +0100)]
retry_check_interval is deprecated.  Replace with retry_interval.

7 years agono more xinetd on kaufmann
Peter Palfrader [Wed, 8 Feb 2017 10:46:04 +0000 (11:46 +0100)]
no more xinetd on kaufmann

7 years agoadd sallinen
Julien Cristau [Wed, 8 Feb 2017 09:05:11 +0000 (10:05 +0100)]
add sallinen

7 years agoremove autofs and nfs-client from bilbao
Martin Zobel-Helas [Mon, 6 Feb 2017 22:12:41 +0000 (23:12 +0100)]
remove autofs and nfs-client from bilbao

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
7 years agoAnd fix boman hostgroups
Peter Palfrader [Fri, 3 Feb 2017 08:15:04 +0000 (09:15 +0100)]
And fix boman hostgroups

7 years agofix boman parent
Peter Palfrader [Thu, 2 Feb 2017 15:56:58 +0000 (16:56 +0100)]
fix boman parent

7 years agonote that boman and bilbao have /srv filesystems
Peter Palfrader [Thu, 2 Feb 2017 15:12:54 +0000 (16:12 +0100)]
note that boman and bilbao have /srv filesystems

7 years agoadd boman
Martin Zobel-Helas [Tue, 31 Jan 2017 21:40:32 +0000 (22:40 +0100)]
add boman

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
7 years agocasulana has many processes
Julien Cristau [Sun, 29 Jan 2017 13:43:13 +0000 (14:43 +0100)]
casulana has many processes

7 years agoFix nrpe process check for stretch
Julien Cristau [Sun, 29 Jan 2017 13:40:53 +0000 (14:40 +0100)]
Fix nrpe process check for stretch

7 years agoAdd casulana
Julien Cristau [Sun, 29 Jan 2017 12:35:50 +0000 (13:35 +0100)]
Add casulana

7 years agostatic sync check for manpages
Peter Palfrader [Sun, 29 Jan 2017 09:55:07 +0000 (10:55 +0100)]
static sync check for manpages

7 years agoFix debconf staticsync check
Julien Cristau [Fri, 27 Jan 2017 22:21:00 +0000 (23:21 +0100)]
Fix debconf staticsync check

debconf1 was duplicated, one of them should be 16