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
Plugins4394Themes and Skins11Add-ons744Documentation283Graphics 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
IBM San Volume Controller IBM StorWize V3700 / V7000 check
0.0 (0)
8.3K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (6)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Marius (2)
See More
Newest Contributors
zsoltaire (1)RavuAlHemio (1)sowoii (1)Nitatemic (1)cjdepaul (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Adam Radovits
AR

Adam Radovits

@aradovits

User Stats

Member Since: July 8, 2016

Favorites0

Views

Projects0

No Projects Found
check_apache2.py

Optimization needed

Optimization: No tmp file needed In retrieve_status_page() function change this: retrPage = urllib.urlretrieve(statusPage, '/tmp/server-status.log') to this one: return urllib.urlopen(statusPage) and modidy parse_status_page() function to parse_status_page(data): # file = open('/tmp/server-status.log', 'r') line = data.readline() ... line = data.readline() and finally in the main function add this line: resParse = parse_status_page(retrieve_status_page()) so comment this lines: #retrieve_status_page() #resParse = parse_status_page() Or you can see it: https://gist.github.com/kajla/bf94e9c520f5cc706eb2e831af17129c

Reviewed 9 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile