Nagios Exchange
  • Home
  • Directory
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
Plugins4387Themes and Skins11Add-ons732Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
VMWare Monitor old snapshot within a VMWare data-center.
0.0 (0)
48.1K
RSS Feed
Newest Listings Updated Listings
Top Contributors
LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More
Home > Theis M. Mønsted
TM

Theis M. Mønsted

@tmoensted

User Stats

Favorites0

Views

Projects0

No Projects Found
Advanced Network Interface Check - check_netint / check_snmp_netint

Really useful

Really nice plugin for monitoring the status and bandwidth of switch ports for instance. One addition i would like is this: You can check the administrative status of an interface with -a, but i would like an option for the check to allways return OK for a port, even though it is down, if the interface is administratively down

Reviewed 12 years ago

check_disk - % used space

Nice plugin

I like the fact that you report how much is used instead of how much is free. A couple of suggestions; Instead of getting details for all devices (df -P | grep -w $device) try just checking the needed device (df -P $device |tail -1) I like to also see the numbers the percentage is based on in nagios - you could consider checking like this; read size used free usedPercent rinting the results: echo "$msg - $device space used=$usedPercent% ($used of $size used) | '$device usage'=$usedPercent%;$warning;$critical;" Just my thoughs :) Best regards Theis M. Mønsted

Reviewed 13 years ago

AIX Check Errpt - 2

Looks ok, but some changes was needed

I had to make some changes, to make this work - if you try this modified version, please remember to delete the tmp files created previously by the script. #!/bin/bash # script that checks for new errpt # errptlast=/tmp/errptlast errpttmp=/tmp/errpttmp admin=root@localhost # # check if first run errpt | egrep -v '^IDENTIFIER' > $errpttmp if [ ! -f $errptlast ] ; then # first run generate a timestamp - 1 hour to fake last run #phour=$((`date +%H` - 2)) phour=$((`date +%k` - 2)) #date +%m%d$phour%M%y > $errptlast date +%m%d%H%M%y > $errptlast fi lastts=`cat $errptlast` count=`errpt -s "$lastts" | egrep -v '^IDENTIFIER' | wc -l` exit1=$? count=`echo $count` countcrit=`errpt -s "$lastts" | egrep -v '^IDENTIFIER' | sed -n 's!.* (P) .*!1!p' | wc -l` exit2=$? countcrit=`echo $countcrit` if [ "$count" -ge 1 ] ; then # determine level errpt -A -D -s "$lastts" | mail -s "$count new error reports of which $countcrit critical on `hostname` since $lastts" $admin #date +%m%d%H%M%y > $errptlast date +%m%d%H%M%y > $errptlast if [ "$countcrit" -ge 1 ] ; then echo "$count new error reports of which $countcrit critical generated since $lastts" exit 2 else echo "$count New error reports generated since $lastts" exit 1 fi fi if [ "$count" == 0 ] && [ "$countcrit" == 0 ] && [ "$exit1" == 0 ] && [ "$exit2" == 0 ] ; then echo "No new Error Reports since $lastts" exit 0 fi echo "Errpt Check failed" exit 3

Reviewed 12 years ago

check_postgres

Get the newest version from github

https://github.com/bucardo/check_postgres/blob/master/check_postgres.pl

Reviewed 9 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks