Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • 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
  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4391Themes and Skins11Add-ons738Documentation283Graphics 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
Configuration Wizards Postgres Database Monitoring Wizard
0.0 (0)
103.6K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)
See More
Newest Contributors
messefreeze (2)apham (1)mngvn (2)Georg2Korger2 (1)Guillaume8723 (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Rahul
R

Rahul

@amaramrahul

User Stats

Member Since: February 6, 2012

Favorites0

Views

Projects0

No Projects Found
check_memcached.pl

Memcached Timeout

It is possible that while connecting to memcached server, connect timeout might occur. To overcome this, modify check_memcached.pl to increase the connect timeout from its default value of 0.25 seconds as below: $memd = new Cache::Memcached { 'servers' => [ $dsn ], 'connect_timeout' => 1 }; Ref: http://search.cpan.org/~dormando/Cache-Memcached-1.30/lib/Cache/Memcached.pm#CONSTRUCTOR

Reviewed 12 years ago

check_email_delivery

Minor bug

Great plugin. However in check_smtp_send, I noticed a small bug because of which the date timestamp was not being set properly. Here is the fix for it - In check_smtp_send on line 349, change "gmtime" to "localtime". This will set the correct timestamp in the sent mails.

Reviewed 14 years ago

check_kdc

Patch for kerberos password authentication

Here is a patch to make it authenticate using Kerberos password as well and not just keytab. I have also hard-coded the path for utils.sh as it was in a different location from where I stored this plugin. So modify utils.sh path according to your environment. 4a5 > # Modified by Rahul Amaram 12d12 . /usr/lib/nagios/plugins/utils.sh 23a25 > -w, --password=PASSWORD Password for the principal 54a57 > -w|--password) shift; password=$1; shift;; 61c64 if [ -z "$kdc" -o -z "$principal" ] || [ -z "$keytab" -a -z "$password" ]; then 92c95,99 &1` --- > if [ -n "$password" ]; then > err=`KRB5_CONFIG=$conf expect -c "log_user 0; spawn kinit -c "$cc" "$principal"; expect -re "Password for .*: "; send "$passwordr"; expect eof; send_user "\$expect_out(buffer)"; catch wait result; exit [lindex \$result 3]"` > else > err=`KRB5_CONFIG=$conf kinit -c "$cc" -k -t "$keytab" "$principal" 2>&1` > fi 98c105 echo "CRITICAL Getting Kerberos ticket: `echo $err | sed -r 's/^.*?kinit:s*//' | head -n 1`"

Reviewed 14 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile