/[pdpsoft]/trunk/nagios/ees/check_ees
ViewVC logotype

Diff of /trunk/nagios/ees/check_ees

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2458 by msalle, Tue Dec 6 10:20:04 2011 UTC revision 2459 by msalle, Tue Dec 6 10:27:45 2011 UTC
# Line 23  Line 23 
23  # Nagios probe to test functioning of EES  # Nagios probe to test functioning of EES
24  #  #
25  # Nagios state can be one of the following:  # Nagios state can be one of the following:
26    #   OK:
27    #          EES is up and running and responds correctly to SAML2-XACML2-request
28    #   WARNING:
29    #          EES is running and responds, but either slowly or not with 200 OK
30    #   CRITICAL:
31    #          EES does not respond or not in time
32    #   UNKNOWN
33  #  #
34  ########################################################################  ########################################################################
35    
# Line 32  my $probeversion=0.1; Line 39  my $probeversion=0.1;
39  # Note the following defaults can be overridden using cmdline options  # Note the following defaults can be overridden using cmdline options
40  my $deftimeout=10;      # Overall timeout for probe  my $deftimeout=10;      # Overall timeout for probe
41  my $defwarning=1;       # When to warn about slow running  my $defwarning=1;       # When to warn about slow running
42  my $defhost="localhost";  my $defhost="localhost";# Default hostname for EES service
43  my $defport=6217;  my $defport=6217;       # Default portnumber for EES service
44    
45  ########################################################################  ########################################################################
46  # Logging package  # Logging package
# Line 204  my $port;      # EES portnumber Line 211  my $port;      # EES portnumber
211  my $verbose;    # Verbosity level  my $verbose;    # Verbosity level
212    
213  my $sock;       # socket to EES  my $sock;       # socket to EES
214    
215  # Define different stages, such that e.g. the sighandlers know where we are  # Define different stages, such that e.g. the sighandlers know where we are
216  my %stages=(  my %stages=(
217      'presock'   => 0,      'presock'   => 0,
# Line 431  getopts(); Line 439  getopts();
439  # Initialize logger and set loglevel  # Initialize logger and set loglevel
440  logger->new($verbose);  logger->new($verbose);
441    
442  # Initialize objects  # Initialize nagios status logger
443  nagstat->new();  nagstat->new();
444    
445  # Initialize signal handling  # Initialize signal handling

Legend:
Removed from v.2458  
changed lines
  Added in v.2459

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28