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

Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now

Plugins4379Themes and Skins11Addons732Documentation283Graphics 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
Java Applications and Servers check_jmx4perl
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (4)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)TcoUpLoad (1)
See More
Newest Contributors
Community Member (51)Davide Lemma (4)Alarig Le Lay (1)Penn Rabb (1)Sean Falzon (1)
See More
Home > Owen Marinas
OM

Owen Marinas

@owenmarinas

User Stats

Favorites0

Views

Projects0

No Projects Found
check_memcached III

no need of except

no need of except changing the get_stats function to ... thx OWen get_stats() { RESULT=`echo "stats" | nc $2 $3` STATS=`echo "$RESULT" | grep "${1}"|sed -e 's/r//'` printf "%sn" "$STATS" return $__RET }

Reviewed 14 years ago

check_conntrack.sh

pnp4 template

Hi, this bug https://bugzilla.redhat.com/show_bug.cgi?id=552522 force me to graph not only the usage but also the MAX. this is the diff with the original diff check_conn2 check_conntrack.sh 42c42 echo "OK - $COUNT |con=$COUNT" 48c48 echo "WARNING - $COUNT |con=$COUNT" 53c53 echo "CRITICAL - $COUNT |con=$COUNT" and this is the template for nagios cat /usr/share/nagios/html/pnp4nagios/templates/check_conntrack.php DS; $opt[$i] = "--vertical-label "ip-conntrack " -l 0 -r --title "ip-conntrack metrics for $hostname / $servicedesc" "; $def[$i] = ''; $color1 = '#028482'; $color3 = '#B5FF6C'; $def[$i] .= rrd::def ("ipconn-now", $DS[0]['RRDFILE'], $DS[0]['DS'], "AVERAGE") ; $def[$i] .= rrd::def ("ipconn-max", $DS[1]['RRDFILE'], $DS[1]['DS'], "AVERAGE") ; $def[$i] .= rrd::area ("ipconn-max", $color3, 'Total' ); $def[$i] .= rrd::gprint ("ipconn-max", array("LAST","MAX","AVERAGE"), "%4.3lf %S".$DS[0]['UNIT']); $def[$i] .= rrd::line1 ("ipconn-now", $color1, "LastMin " ); $def[$i] .= rrd::gprint ("ipconn-now", array("LAST","MAX","AVERAGE"), "%4.3lf %S".$DS[1]['UNIT']); ?> regards Owenmarinas [at] gmail com

Reviewed 13 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks