Changeset 3265 for monitoring


Ignore:
Timestamp:
08/06/13 13:48:55 (11 years ago)
Author:
sanmai
Message:
  • Adapt check_clarin_vlo.py to new command line argument processing.
Location:
monitoring/plugins/mpi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • monitoring/plugins/mpi/check_clarin_vlo.py

    r3043 r3265  
    77special_plugin_file_name = os.path.basename(__file__)
    88
    9 def special_main_subroutine(host) :
     9command_line_parameters = [("-h", "host",),
     10                           ("-u", "URL",)]
     11
     12
     13def special_main_subroutine(host, URL) :
    1014    #result = test_case(host);
    1115    #result = check_condition(host)
    1216    #generic_tla_monitoring.nagios_return(result['code'], result['message'])
    1317
    14     UP_URLs = ('/vlo/',) # X- use frozenset
     18    UP_URLs = (URL,) # X- use frozenset
    1519   
    1620    # Check status for all UP_URLs.
  • monitoring/plugins/mpi/generic_tla_monitoring.py

    r3259 r3265  
    2626        return result['code']
    2727
    28     pdb.set_trace()
     28    #pdb.set_trace()
    2929
    3030    # Scan all condition/status check results and create a list of appropriate exit codes.
Note: See TracChangeset for help on using the changeset viewer.