5 =head1 NAME $RCSfile: alertlog.cgi,v $
15 Andrew DeFaria <Andrew@ClearSCM.com>
23 Mon Oct 25 11:10:47 PDT 2008
27 $Date: 2011/01/29 23:33:04 $
33 Usage alertlog.cgi: [-u|sage] [-ve|rbose] [-d|ebug]
36 -u|sage: Displays usage
38 -d|ebug: Output debug messages
42 This script displays the alert log
51 use CGI qw (:standard :cgi-lib *table start_Tr end_Tr);
52 use CGI::Carp 'fatalsToBrowser';
54 use lib "$FindBin::Bin/lib", "$FindBin::Bin/../lib";
61 my $VERSION = '$Revision: 1.9 $';
62 ($VERSION) = ($VERSION =~ /\$Revision: (.*) /);
73 usage => sub { Usage },
74 verbose => sub { set_verbose },
75 debug => sub { set_debug },
76 ) or Usage 'Invalid parameter';
79 if $opts{alert} and $opts{alert} eq 'All';
81 if $opts{system} and $opts{system} eq 'All';
82 undef $opts{notification}
83 if $opts{notification} and $opts{notification} eq 'All';
86 verbose "$FindBin::Script v$VERSION";
88 $clearadm = Clearadm->new;
90 my $title = 'Alert Log';
94 display h1 {class => 'center'}, $title;
96 displayAlertlog (%opts);
102 =head1 CONFIGURATION AND ENVIRONMENT
104 DEBUG: If set then $debug is set to this level.
106 VERBOSE: If set then $verbose is set to this level.
108 TRACE: If set then $trace is set to this level.
116 L<CGI::Carp|CGI::Carp>
120 L<Getopt::Long|Getopt::Long>
122 =head2 ClearSCM Perl Modules
136 <a href="http://clearscm.com/php/scm_man.php?file=clearadm/lib/Clearadm.pm">Clearadm</a><br>
137 <a href="http://clearscm.com/php/scm_man.php?file=clearadm/lib/ClearadmWeb.pm">ClearadmWeb</a><br>
138 <a href="http://clearscm.com/php/scm_man.php?file=lib/Display.pm">Display</a><br>
139 <a href="http://clearscm.com/php/scm_man.php?file=lib/Utils.pm">Utils</a><br>
144 =head1 BUGS AND LIMITATIONS
146 There are no known bugs in this script
148 Please report problems to Andrew DeFaria <Andrew@ClearSCM.com>.
150 =head1 LICENSE AND COPYRIGHT
152 Copyright (c) 2010, ClearSCM, Inc. All rights reserved.