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

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4401Themes and Skins13Add-ons756Graphics 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 Network Monitoring with Nagios
0.0 (0)
64.8K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (4)deskwork_itunes142 (4)Sam N (3)Davide Lemma (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)smolinux (1)juanfertor (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Florent G.
FG

Florent G.

@fgilain

User Stats

Member Since: May 20, 2014

Favorites0

Views

Projects0

No Projects Found
Nag Small Screen

variable declaration problem corrected

Hi, when using this script, i had an error message at the bottom of the page : Traceback (most recent call last): File "/usr/local/nagios/sbin/nss.py", line 97, in ? app = Nag() File "/usr/local/nagios/sbin/nss.py", line 39, in __init__ self.service() File "/usr/local/nagios/sbin/nss.py", line 94, in service if current_state != "0": UnboundLocalError: local variable 'current_state' referenced before assignment i just added that line (line 56 and 77) to avoid that error to be displayed : global current_state hope it will help other users of this usefull script. Florent

Reviewed 12 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile