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 Skins12Add-ons742Documentation283Graphics 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
Other Tutorials And HOWTOs Setting Up Severity-Based Alerting with the Nagios API
0.0 (0)
44.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Claudio Kuenzler (2)
See More
Newest Contributors
sowoii (1)Nitatemic (1)cjdepaul (1)ixs (1)messefreeze (2)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Wolvverine
W

Wolvverine

@wolvverine

User Stats

Member Since: March 4, 2010

Favorites0

Views1069

Projects1

check_snmp_esx_snapshots – under construction
VMWare
check_snmp_esx_snapshots – under construction
Inspired by "jacob"'s and "lahrcm" script check_snmp_snapshot.sh. Nagios check script for vmware snapshots sizes add the following to your ESX server in the /etc/snmp/snmpd.conf and…
1.0 (1)
94.4K
0
Wolvverine
Openldap Syncrepl

patch

Error: 2011-08-30 14:36:31,013 - check_syncrepl.py - DEBUG - Retrieving Provider contextCSN 2011-08-30 14:36:31,014 - check_syncrepl.py - DEBUG - contextCSN = 20110830123045.-981247Z#000000#000#000000 2011-08-30 14:36:31,015 - check_syncrepl.py - DEBUG - Retrieving Consumer contextCSN 2011-08-30 14:36:31,015 - check_syncrepl.py - DEBUG - contextCSN = 20110830123044.-999530Z#000000#000#000000 Traceback (most recent call last): File "/usr/lib64/nagios/plugins/check_syncrepl.py", line 286, in ? main() File "/usr/lib64/nagios/plugins/check_syncrepl.py", line 272, in main IsInSync = IsInSync and is_insynch(ldapprov, ldapcons, options.basedn, options.threshold, logger) File "/usr/lib64/nagios/plugins/check_syncrepl.py", line 193, in is_insynch delta = contextCSN_to_datetime(provcontextCSN) - contextCSN_to_datetime(conscontextCSN) File "/usr/lib64/nagios/plugins/check_syncrepl.py", line 159, in contextCSN_to_datetime return datetime.datetime.fromtimestamp(time.mktime(time.strptime(gentime,"%Y%m%d%H%M%S"))) File "/usr/lib64/python2.4/_strptime.py", line 296, in strptime raise ValueError("unconverted data remains: %s" % ValueError: unconverted data remains: .-981247 Patch: --- /usr/lib64/nagios/plugins/check_syncrepl.py.orig 2011-08-04 11:59:15.000000000 +0200 +++ /usr/lib64/nagios/plugins/check_syncrepl.py 2011-08-30 14:42:04.000000000 +0200 @@ -155,7 +155,7 @@ This function returns a datetime object instance """ - gentime = re.sub('(.d{6})?Z.*$','',contextCSN) + gentime = re.sub('(.-?d{6})?Z.*$','',contextCSN) return datetime.datetime.fromtimestamp(time.mktime(time.strptime(gentime,"%Y%m%d%H%M%S"))) def threshold_to_datetime(threshold):

Reviewed 14 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile