view release on metacpan or search on metacpan
ASNMTAP::Asnmtap::Applications::CSV VARIABLES
- UPDATE our @EVENTS = ('catalogID', 'id', 'uKey', 'replicationStatus', 'test', 'title', 'status', 'startDate', 'startTime', 'endDate', 'endTime', 'duration', 'statusMessage', 'perfdata', 'step', 'timeslot', 'instabilit...
views.pl
- added 'Incident Monitoring Window'
Version 3.002.001, 2010/07/28, by Alex Peeters
ASNMTAP
- NEW 'filter-option' to search
- UPDATE cpan module SOAP::Lite to 0.710.08 (reported problems with 0.710.09 and later)
- UPDATE cpan module WSRF::Lite to 0.8.2.7
- UPDATE /applications/tools/mysql/asnmtap-3.002.001-database-schema.png
- UPDATE create_ASNMTAP_jUnit_configuration_for_jUnit.pl
- NEW autoinstall.sh
- UPDATE Applications.cfg
- NEW 'EVENTSDISPLAYDATA eventsDisplayData' between <TABLES>...</TABLES>
- NEW module ASNMTAP::PseudoHash for making perl 5.10 compatibility
replace 'use fields' with 'use ASNMTAP::PseudoHash'
replace 'fields::phash' with 'ASNMTAP::PseudoHash'
- UPDATE comments.pl -> html code optimalisation
- UPDATE display.pl -> debug: toggleDiv(), pop-up: overlib() & pop-down: nd()
- NEW $trigger, to speedup the display generation: fase I
- NEW catalog.pl
- UPDATE rsync 3.06 compatible
- UPDATE autogenerated rsync *.conf with --exclude *.sql
- UPDATE autogenerated 'Collector Start/Stop scripts' optimalisation
- UPDATE runStatusOnDemand.pl with follow up for importDataThroughCatalog.pid
- UPDATE optimalisation display.pl regarding encode html entities for the 'statusMessage'
- UPDATE archive.pl, check_SNMPTT_probe.pl, check_snmptt_traps.pl, check_jUnit.pl & snmptt_traps_remove_pending_and_duplicated.pl
'INSERT INTO' with 'REPLACE INTO' before 'DELETE'
Version 3.001.001, 2009/10/23, by Alex Peeters
- UPDATE /applications/tools/mysql/asnmtap-3.001.001-database-schema.png
- UPDATE TABLE `events` for MySQL
- MySQL 4.x
- SELECT CONCAT('alter table ', TABLE_SCHEMA , '.', table_name, ' MODIFY `test` varchar(254) NOT NULL default \'\';') FROM INFORMATION_SCHEMA.tables WHERE ENGINE = 'MYISAM' AND table_type='BASE TABLE' AND table_name...
- TO GENERATE THE NEXT CODE FOR ALL YEARS
- ALTER TABLE `events_yyyy_01` MODIFY `test` varchar(254) NOT NULL default '';
...
- ALTER TABLE `events_yyyy_12` MODIFY `test` varchar(254) NOT NULL default '';
- MySQL 5.0.x
- SELECT CONCAT('alter table ', TABLE_SCHEMA , '.', table_name, ' MODIFY `test` varchar(512) NOT NULL default \'\';') FROM INFORMATION_SCHEMA.tables WHERE ENGINE = 'MYISAM' AND table_type='BASE TABLE' AND table_name...
- TO GENERATE THE NEXT CODE FOR ALL YEARS
DirectoryIndex index.htm index.html index.html.var index.shtml index.cfm index.pl
<VirtualHost *:80>
ServerName asnmtap.citap.com
ServerAlias asnmtap.citap.be
ServerAdmin webmaster@citap.com
DocumentRoot /opt/asnmtap/applications/htmlroot
ErrorLog /var/log/httpd/asnmtap.citap.com-error.log
CustomLog /var/log/httpd/asnmtap.citap.com-combined.log combined
IndexIgnore *.png *nok.txt *all.txt *.html
IndexOptions NameWidth=* FancyIndexing FoldersFirst SuppressDescription
IndexOrderDefault Ascending Name
# when ASNMTAP is not installed into '/opt/asnmtap/' you need to add SetEnv ASNMTAP_PATH
# SetEnv ASNMTAP_PATH /opt/asnmtap/
Alias /asnmtap "/opt/asnmtap/applications/htmlroot"
<Directory "/opt/asnmtap/applications/htmlroot">
AllowOverride AuthConfig
applications/htmlroot/img/S.gif
applications/htmlroot/img/A.gif
applications/htmlroot/img/T.gif
applications/htmlroot/img/D.gif
applications/htmlroot/img/L.gif
applications/htmlroot/img/1arrowDown.gif
applications/htmlroot/img/1arrowLeft.gif
applications/htmlroot/img/1arrowRight.gif
applications/htmlroot/img/1arrowUp.gif
applications/htmlroot/img/1moveLeft.png
applications/htmlroot/img/1moveRight.png
applications/htmlroot/img/2arrowLeft.gif
applications/htmlroot/img/2arrowRight.gif
applications/htmlroot/img/2moveLeft.png
applications/htmlroot/img/2moveRight.png
applications/htmlroot/img/404.jpg
applications/htmlroot/img/awstats.gif
applications/htmlroot/img/blue.gif
applications/htmlroot/img/blue-ack.gif
applications/htmlroot/img/blue-unstable.gif
applications/htmlroot/img/cal.gif
applications/htmlroot/img/clear.gif
applications/htmlroot/img/clear-ack.gif
applications/htmlroot/img/clear-unstable.gif
applications/htmlroot/img/cupido.gif
applications/htmlroot/img/yellow-ack.gif
applications/htmlroot/img/yellow-unstable.gif
applications/htmlroot/pdf/ApplicationMonitorVersion2.000.xxx.pdf
applications/htmlroot/pdf/CheckDummy.pdf
applications/htmlroot/snmptraps/index.php
applications/htmlroot/snmptraps/etc/config.ini.php
applications/htmlroot/snmptraps/images/kde3/arrow.png
applications/htmlroot/snmptraps/images/kde3/comment.png
applications/htmlroot/snmptraps/images/kde3/delete.png
applications/htmlroot/snmptraps/images/kde3/mark.png
applications/htmlroot/snmptraps/images/kde3/next.png
applications/htmlroot/snmptraps/images/kde3/previous.png
applications/htmlroot/snmptraps/images/nuovo/arrow.png
applications/htmlroot/snmptraps/images/nuovo/comment.png
applications/htmlroot/snmptraps/images/nuovo/delete.png
applications/htmlroot/snmptraps/images/nuovo/mark.png
applications/htmlroot/snmptraps/images/nuovo/next.png
applications/htmlroot/snmptraps/images/nuovo/previous.png
applications/htmlroot/snmptraps/images/nuvola_1/arrow.png
applications/htmlroot/snmptraps/images/nuvola_1/comment.png
applications/htmlroot/snmptraps/images/nuvola_1/delete.png
applications/htmlroot/snmptraps/images/nuvola_1/mark.png
applications/htmlroot/snmptraps/images/nuvola_1/next.png
applications/htmlroot/snmptraps/images/nuvola_1/previous.png
applications/htmlroot/snmptraps/images/nuvola_2/arrow.png
applications/htmlroot/snmptraps/images/nuvola_2/comment.png
applications/htmlroot/snmptraps/images/nuvola_2/delete.png
applications/htmlroot/snmptraps/images/nuvola_2/mark.png
applications/htmlroot/snmptraps/images/nuvola_2/next.png
applications/htmlroot/snmptraps/images/nuvola_2/previous.png
applications/htmlroot/snmptraps/include/classes/class.common.php
applications/htmlroot/snmptraps/include/classes/class.frontend.php
applications/htmlroot/snmptraps/include/classes/class.main.php
applications/htmlroot/snmptraps/include/classes/class.mysqlDB.php
applications/htmlroot/snmptraps/include/css/nagtrap.css
applications/htmlroot/snmptraps/include/css/showlog.css
applications/htmlroot/snmptraps/include/css/status.css
applications/sbin/perfparse_crontab_failed.sh
applications/sbin/perfparse_debug.sh
applications/sbin/purge_table.pl
applications/sbin/sshWrapperASNMTAP.pl
applications/tools/mysql/asnmtap-3.002.003_mysql-v5.0.x.sql
applications/tools/mysql/asnmtap-3.002.003_mysql-v5.0.x-trigger-events.sql
applications/tools/mysql/asnmtap-3.002.003_mysql-v5.0.x-trigger-eventsUpdate.sql
applications/tools/mysql/asnmtap-3.002.003_mysql-v5.0.x-trigger-eventsDisplayData.sql
applications/tools/mysql/asnmtap-3.002.003-distributed_mysql-v5.0.x.sql
applications/tools/mysql/asnmtap-3.002.003-database-schema.png
applications/tools/mysql/MySQLBackup.sh
applications/tools/resources/CalendarPopup-combined-compact.js
applications/tools/resources/CalendarPopup-combined.js
applications/tools/templates/CollectorCT-template.sh
applications/tools/templates/DisplayCT-template.sh
applications/tools/templates/FOOTER.html
applications/tools/templates/HEADER.html
Makefile.PL view on Meta::CPAN
[ 'applications/htmlroot/cgi-bin/*.sh', 'x' ],
[ 'applications/htmlroot/cgi-bin/admin/*.pl', 'x' ],
[ 'applications/htmlroot/cgi-bin/moderator/*.pl', 'x' ],
[ 'applications/htmlroot/cgi-bin/sadmin/*.pl', 'x' ],
[ 'applications/htmlroot/img/*.gif', 'r' ],
[ 'applications/htmlroot/img/*.jpg', 'r' ],
[ 'applications/htmlroot/img/*.png', 'r' ],
[ 'applications/htmlroot/img/fw0/*.gif', 'r' ],
[ 'applications/htmlroot/img/logos/bodyimage.gif', 'R' ],
[ 'applications/htmlroot/pdf/*.pdf', 'r' ],
[ 'applications/htmlroot/sound/*.wav', 'r' ],
[ 'applications/tools/resources/*.js', 'r' ],
[ 'applications/tools/templates/*.sh', 'x' ],
Makefile.PL view on Meta::CPAN
[ 'applications/tools/templates/slave/*.conf', 'r' ],
[ 'applications/tools/templates/slave/*.sh', 'x' ],
[ 'applications/htmlroot/snmptraps/*.php', 'r' ],
[ 'applications/htmlroot/snmptraps/etc/config.ini.php', 'R' ],
[ 'applications/htmlroot/snmptraps/images/kde3/*.db', 'r' ],
[ 'applications/htmlroot/snmptraps/images/kde3/*.png', 'r' ],
[ 'applications/htmlroot/snmptraps/images/nuovo/*.db', 'r' ],
[ 'applications/htmlroot/snmptraps/images/nuovo/*.png', 'r' ],
[ 'applications/htmlroot/snmptraps/images/nuvola_1/*.db', 'r' ],
[ 'applications/htmlroot/snmptraps/images/nuvola_1/*.png', 'r' ],
[ 'applications/htmlroot/snmptraps/images/nuvola_2/*.db', 'r' ],
[ 'applications/htmlroot/snmptraps/images/nuvola_2/*.png', 'r' ],
[ 'applications/htmlroot/snmptraps/include/classes/*.php', 'r' ],
[ 'applications/htmlroot/snmptraps/include/css/*.css', 'r' ],
[ 'applications/htmlroot/snmptraps/include/js/*.js', 'r' ],
[ 'applications/htmlroot/snmptraps/include/xml/language/DE/*.xml', 'r' ],
[ 'applications/htmlroot/snmptraps/include/xml/language/EN/*.xml', 'r' ],
applications/collector-test.pl view on Meta::CPAN
}
# Add a legend box
$c->addLegend(2, $hight - 34, 0, "arial.ttf", 8)->setBackground($perlchartdir::Transparent);
# Add a custom CDML text at the bottom right of the plot area as the logo
$c->addText($width - 3, 92, $APPLICATION . " @ " . $BUSINESS, "arial.ttf", 8, 0x999999, 6, 270);
$c->addText($width - 18, $hight - 21, "Interval: " . $interval . " min, " . $DEPARTMENT . " @ " . $BUSINESS . ", created on: " . scalar(localtime()) . ".", "arial.ttf", 8, 0x000000, 6, 0);
#output the chart
$c->makeChart("$dbiFilename.png");
return $rv;
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sub errorTrapDBIgraphEntry {
my ($error_message, $logger, $debug) = @_;
print 'errorTrapDBIgraphEntry', "\n", $error_message, "\nERROR: $DBI::err ($DBI::errstr)\n";
applications/collector.pl view on Meta::CPAN
}
# Add a legend box
$c->addLegend(2, $hight - 34, 0, "arial.ttf", 8)->setBackground($perlchartdir::Transparent);
# Add a custom CDML text at the bottom right of the plot area as the logo
$c->addText($width - 3, 92, $APPLICATION . " @ " . $BUSINESS, "arial.ttf", 8, 0x999999, 6, 270);
$c->addText($width - 18, $hight - 21, "Interval: " . $interval . " min, " . $DEPARTMENT . " @ " . $BUSINESS . ", created on: " . scalar(localtime()) . ".", "arial.ttf", 8, 0x000000, 6, 0);
#output the chart
$c->makeChart("$dbiFilename.png");
return $rv;
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sub errorTrapDBIgraphEntry {
my ($error_message, $logger, $debug) = @_;
print 'errorTrapDBIgraphEntry', "\n", $error_message, "\nERROR: $DBI::err ($DBI::errstr)\n";
applications/display-test.pl view on Meta::CPAN
<title>$APPLICATION @ $BUSINESS</title>
<META HTTP-EQUIV="Expires" CONTENT="Wed, 10 Dec 2003 00:00:01 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="60">
<link rel="stylesheet" type="text/css" href="$HTTPSURL/asnmtap.css">
</HEAD>
<BODY>
EOM
print PNG '<IMG SRC="', $RESULTSURL, '/', $resultsdir, '/', $command, '-', $catalogID_uniqueKey, '-sql.png"></BODY></HTML>', "\n";
close(PNG);
} else {
print "Cannot create $htmlFilename!\n";
}
}
}
my ($posTokenFrom, $posTokenTo, $groep, $test, $serverID);
$posTokenFrom = index $title, '[';
applications/display.pl view on Meta::CPAN
<title>$APPLICATION @ $BUSINESS</title>
<META HTTP-EQUIV="Expires" CONTENT="Wed, 10 Dec 2003 00:00:01 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="60">
<link rel="stylesheet" type="text/css" href="$HTTPSURL/asnmtap.css">
</HEAD>
<BODY>
EOM
print PNG '<IMG SRC="', $RESULTSURL, '/', $resultsdir, '/', $command, '-', $catalogID_uniqueKey, '-sql.png"></BODY></HTML>', "\n";
close(PNG);
} else {
print "Cannot create $htmlFilename!\n";
}
}
}
my ($posTokenFrom, $posTokenTo, $groep, $test, $serverID);
$posTokenFrom = index $title, '[';
applications/htmlroot/cgi-bin/generateChart.pl view on Meta::CPAN
if ($pf eq 'on') {
$c->addLegend(2, $hight - 32, 0, "arial.ttf", 8)->setBackground($perlchartdir::Transparent);
} else {
$c->addLegend(2, $hight - 32, 0, "arial.ttf", 8)->setFontColor($forGround);
}
}
}
# Output the chart
binmode(STDOUT);
print "Content-type: image/png\n\n";
print $c->makeChart2($perlchartdir::PNG);
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sub getAverage {
my ($number, $dbh, $rv, $uKey, $sqlStartDate, $sqlEndDate, $sqlPeriode, $selChart, $debug) = @_;
my ($sql, $sth, $errorMessage, $dbiErrorCode, $dbiErrorString, $startDate, $hour, $average, @avg, @labels);
if ( $selChart eq "HourlyAverage" ) {
applications/htmlroot/cgi-bin/moderator/comments.pl view on Meta::CPAN
<tr><td><b>Catalog ID: </b></td><td>
<input type="text" name="catalogID" value="$CcatalogID" size="5" maxlength="5" disabled> $catalogIDSelect
</td></tr>
<tr><td><b>Environment: </b></td><td>
$environmentSelect
</td></tr>
<tr><td valign="top"><b>Applications uKey List: </b></td><td>
<table border="0" cellspacing="0" cellpadding="0"><tr><td valign="top">Available:<br>
$unselected_id
</td><td>
<input type="image" src="$IMAGESURL/1moveLeft.png" alt="Move item to left" title="Move item to left" onclick="moveOptions(this.form.selected_id, this.form.unselected_id, false); selectAllOptions('selected_id'); return false;"...
<input type="image" src="$IMAGESURL/1moveRight.png" alt="Move item to right" title="Move item to right" onclick="moveOptions(this.form.unselected_id, this.form.selected_id, false); selectAllOptions('selected_id'); return false;">...
<input type="image" src="$IMAGESURL/2moveLeft.png" alt="Move all items to left" title="Move all items to left" onclick="moveOptions(this.form.selected_id, this.form.unselected_id, true); selectAllOptions('selected_id'); return false;">
<input type="image" src="$IMAGESURL/2moveRight.png" alt="Move all items to right" title="Move all items to right" onclick="moveOptions(this.form.unselected_id, this.form.selected_id, true); selectAllOptions('selected_id'); return false;">...
</td><td valign="top">Selected:<br>
<select name="selected" id="selected_id" size="10" multiple></select>
</td></tr></table>
</td></tr><tr><td><b>Remote User: </b></td><td>
$remoteUsersSelect
</td>
</tr><tr>
<td valign="top"><b>Comment: </b></td>
<td><textarea name=commentData cols=84 rows=10>$CcommentData</textarea></td>
</tr><tr>
applications/htmlroot/cgi-bin/moderator/generateCollectorCrontabSchedulingReport.pl view on Meta::CPAN
if ($pf eq 'on') {
$c->addLegend(2, $hight - 32, 0, "arial.ttf", 8)->setBackground($perlchartdir::Transparent);
} else {
$c->addLegend(2, $hight - 32, 0, "arial.ttf", 8)->setFontColor($forGround);
}
}
# Output the chart
binmode(STDOUT);
print "Content-type: image/png\n\n";
print $c->makeChart2($perlchartdir::PNG);
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
applications/htmlroot/cgi-bin/moderator/generateCollectorDaemonSchedulingReport.pl view on Meta::CPAN
if ($pf eq 'on') {
$c->addLegend(2, $hight - 32, 0, "arial.ttf", 8)->setBackground($perlchartdir::Transparent);
} else {
$c->addLegend(2, $hight - 32, 0, "arial.ttf", 8)->setFontColor($forGround);
}
}
# Output the chart
binmode(STDOUT);
print "Content-type: image/png\n\n";
print $c->makeChart2($perlchartdir::PNG);
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
applications/htmlroot/cgi-bin/moderator/generatePluginCrontabSchedulingReport.pl view on Meta::CPAN
if ($pf eq 'on') {
$c->addLegend(2, $hight - 32, 0, "arial.ttf", 8)->setBackground($perlchartdir::Transparent);
} else {
$c->addLegend(2, $hight - 32, 0, "arial.ttf", 8)->setFontColor($forGround);
}
}
# Output the chart
binmode(STDOUT);
print "Content-type: image/png\n\n";
print $c->makeChart2($perlchartdir::PNG);
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
applications/htmlroot/snmptraps/include/classes/class.common.php view on Meta::CPAN
$page = $site + 1;
$wantedRecordFirst = ($page * $step) + 1;
$TwantedRecordLast = $wantedRecordFirst + ($step - 1);
$wantedRecordLast = ($TwantedRecordLast < $countRecords[0]) ? $TwantedRecordLast : $countRecords[0];
$numberOffRecords = (($wantedRecordLast - 1) % $step) + 1;
$numberOffPagesMax = floor((($countRecords[0] - 1) / $step) + 1);
$this->site[] = '<table border="0" width="100%"><tr><td align="center" width="36"><B>'.$from.'-'.$to.'</B></td><td align="center">';
if ($wantedRecordLast > 1) {
$urlWithAccessParameters = 'index.php?severity='.$_REQUEST['severity'].'&category='.rawurlencode($_REQUEST['category']).'&hostname='.$_REQUEST['hostname'].'&trapOID='.$_REQUEST['trapOID'].'&FQDN='.$_REQUEST['FQDN'];
if ($page > 1) {
$this->site[] = " <a href=\"$urlWithAccessParameters&site=0\"><IMG SRC=\"$ICONSRECORD{first}\" ALT=\"First\" BORDER=0></a> <a href=\"$urlWithAccessParameters&site=". ($site - 1) ."\"><IMG SRC=\"". $configINI['g...
} else {
$this->site[] = ' 1';
}
for ($currentPage = 2; $currentPage < $numberOffPagesMax; $currentPage++) {
if ( $page != $currentPage ) {
$offsetOffRecords = ($step * ($currentPage - 1));
$this->site[] = " <a href=\"$urlWithAccessParameters&site=". ($currentPage - 1) ."\">$currentPage</a>";
} else {
$this->site[] = " $currentPage";
}
}
if ($page < $numberOffPagesMax) {
$this->site[] = " <a href=\"$urlWithAccessParameters&site=". ($numberOffPagesMax - 1) ."\">$numberOffPagesMax</a> <a href=\"$urlWithAccessParameters&site=". ($site + 1) ."\"><IMG SRC=\"". $configINI['glob...
} else {
$this->site[] = " $numberOffPagesMax";
}
$this->site[] = '</td><td align="center" width="36"><B>'. $page .'/'. $numberOffPagesMax .'</B>';
} else {
$this->site[] = ' ';
}
$this->site[] = ' </td></tr></table>';
}
applications/htmlroot/snmptraps/include/classes/class.frontend.php view on Meta::CPAN
global $configINI, $languageXML, $MAIN;
$this->site[] = ' <TR>';
/**
* @author Alex Peeters [alex.peeters@citap.be]
*/
if ($MAIN->checkAction() == "1") {
// Checkbox
$this->site[] = ' <TD CLASS="'.$rowColor.'"><INPUT TYPE="checkbox" NAME="trapIDs[]" VALUE="'.$trap['id'].'" '.$_GET['sel'].'>';
// Mark a trap
$this->site[] = ' <A HREF="./index.php?action=mark&trapID='.$trap['id'].'&severity='.$_REQUEST['severity'].'&category='.rawurlencode($_REQUEST['category']).'&hostname='.$_REQUEST['hostname'].'&trapOID='.$_REQUEST['t...
// Delete a trap
$this->site[] = ' <A HREF="./index.php?action=delete&trapID='.$trap['id'].'&severity='.$_REQUEST['severity'].'&category='.rawurlencode($_REQUEST['category']).'&hostname='.$_REQUEST['hostname'].'&trapOID='.$_REQUEST[...
$this->site[] = ' </TD>';
}
// Select host
$this->site[] = ' <TD CLASS="'.$rowColor.'"><P '.$styleLine.'><A HREF="./index.php?severity='.$_REQUEST['severity'].'&category='.rawurlencode($_REQUEST['category']).'&hostname='.$trap['hostname'].'&FQDN=T">'.$trap['hostname'].'</...
// Select trapOID
$this->site[] = ' <TD CLASS="'.$rowColor.'"><P '.$styleLine.'><A HREF="./index.php?severity='.$_REQUEST['severity'].'&category='.rawurlencode($_REQUEST['category']).'&hostname='.$trap['hostname'].'&trapOID='.$trap['trapoid'].'&am...
$this->site[] = ' <TD CLASS="'.$rowColor.'"><P '.$styleLine.'>'.$trap['traptime'].'</P></TD>';
common::showTrapFields("entry",$trap,$rowColor,$styleLine);
$this->site[] = ' <TD CLASS="'.$rowColor.'"><P '.$styleLine.' '.$this->javaInfoBox($trap['orgFormatline']).'CLASS="formatline">'.htmlentities($trap['formatline']).'</P></TD>';
applications/htmlroot/snmptraps/include/classes/class.frontend.php view on Meta::CPAN
function constructorFooter() {
global $configINI, $languageXML, $MAIN;
$this->site[] = '<TABLE WIDTH="100%" BORDER="0">';
$this->site[] = ' <TR>';
$this->site[] = ' <TD CLASS="linkBox">';
/**
* @author Alex Peeters [alex.peeters@citap.be]
*/
if ($MAIN->checkAction() == "1") {
$this->site[] = ' <IMG SRC="'.$configINI['global']['images'].$configINI['global']['iconStyle'].'/arrow.png" ALT="" BORDER="0">';
$this->site[] = ' <INPUT TYPE="checkbox" NAME="checkbox" VALUE="checkbox" onClick="checkAll(\'yes\'); return true;">(Mark all)';
$this->site[] = ' <INPUT TYPE="image" SRC="'.$configINI['global']['images'].$configINI['global']['iconStyle'].'/mark.png" NAME="markTraps[0]" TITLE="'.$languageXML['LANG']['MAIN']['TRAPTABLEENTRY']['OPTIONREAD'].'">';
$this->site[] = ' <INPUT TYPE="image" SRC="'.$configINI['global']['images'].$configINI['global']['iconStyle'].'/delete.png" NAME="deleteTraps[0]" TITLE="'.$languageXML['LANG']['MAIN']['TRAPTABLEENTRY']['OPTIONDELETE'].'">';
}
$this->site[] = ' <INPUT TYPE="hidden" NAME="oldestfirst" VALUE="'.$_REQUEST['oldestfirst'].'">';
$this->site[] = ' <INPUT TYPE="hidden" NAME="severity" VALUE="'.$_REQUEST['severity'].'">';
$this->site[] = ' <INPUT TYPE="hidden" NAME="category" VALUE="'.$_REQUEST['category'].'">';
$this->site[] = ' <INPUT TYPE="hidden" NAME="hostname" VALUE="'.$_REQUEST['hostname'].'">';
$this->site[] = ' <INPUT TYPE="hidden" NAME="trapOID" VALUE="'.$_REQUEST['trapOID'].'">';
$this->site[] = ' <INPUT TYPE="hidden" NAME="FQDN" VALUE="'.$_REQUEST['FQDN'].'">';
$this->site[] = ' </TD>';
$this->site[] = ' </TR>';
fixRights.sh view on Meta::CPAN
find $AMPATH -type f -exec chmod 644 {} \;
find $AMPATH -type f -name '*.p12' -exec chmod 600 {} \;
find $AMPATH -type f -name '*.cgi' -exec chmod 755 {} \;
find $AMPATH -type f -name '*.js' -exec chmod 755 {} \;
find $AMPATH -type f -name '*.pl' -exec chmod 755 {} \;
find $AMPATH -type f -name '*.php' -exec chmod 755 {} \;
find $AMPATH -type f -name '*.sh' -exec chmod 755 {} \;
find $AMPATH -type f -name 'perf*.png' -exec chmod 755 {} \;
lib/ASNMTAP/Asnmtap/Applications.pod view on Meta::CPAN
DirectoryIndex index.htm index.html index.html.var index.shtml index.cfm index.pl
<VirtualHost *:80>
ServerName asnmtap.citap.com
ServerAlias asnmtap.citap.be
ServerAdmin webmaster@citap.com
DocumentRoot /opt/asnmtap/applications/htmlroot
ErrorLog /var/log/httpd/asnmtap.citap.com-error.log
CustomLog /var/log/httpd/asnmtap.citap.com-combined.log combined
IndexIgnore *.png *nok.txt *all.txt *.html
IndexOptions NameWidth=* FancyIndexing FoldersFirst SuppressDescription
IndexOrderDefault Ascending Name
Alias /asnmtap "/opt/asnmtap/applications/htmlroot"
<Directory "/opt/asnmtap/applications/htmlroot">
AllowOverride AuthConfig
Options FollowSymLinks
Order allow,deny
Allow from all
lib/ASNMTAP/Asnmtap/Applications.pod view on Meta::CPAN
<keyl>
--------
DUMMY-T1
DUMMY-T2
DUMMY-T3
DUMMY-T4
DUMMY-T5
=item run archiver.pl on cygwin
Install libpng... needed, install this now
mount -f -s -b "D:/cygwin/usr/sbin" "/usr/sbin" <-- to update the registry
cygrunsrv --install "CYGWIN crontab" --path /usr/sbin/cron.exe -a '-D' -e CYGWIN=ntsec
cygrunsrv --stop "CYGWIN crontab"
cygrunsrv --start "CYGWIN crontab"
cygrunsrv --remove "CYGWIN crontab"
0 2 * * * cd /opt/asnmtap/applications; ./archive.sh > /dev/null <-- crontab op master server
30 23 * * * cd /opt/asnmtap/applications/bin; ./holidayBundleSetDowntimes.sh > /dev/null <-- crontab op master server
lib/ASNMTAP/Asnmtap/Applications.pod view on Meta::CPAN
rpm -i autoconf-2.60.noarch.rpm
rpm -i automake-1.10.noarch.rpm
rpm -i libtool-1.5.6-4.EL4.1.i386.rpm
rpm -i libtool-libs-1.5.6-4.EL4.1.i386.rpm
rpm -i libstdc++-devel-3.4.5-2.i386.rpm
rpm -i gcc-c++-3.4.6.i386.rpm
rpm -i libpng10-1.0.16-1.i386.rpm
rpm -i libpng10-devel-1.0.16-1.i386.rpm
rpm -i libpng-1.2.16.el4.2.i386.rpm
rpm -i libpng-devel-1.2.16.el4.2.i386.rpm
rpm -i libjpeg-6b-33.i386.rpm
rpm -i libjpeg-devel-6b-33.i386.rpm
rpm -i freetype-2.3.1.i386.rpm
rpm -i freetype-devel-2.3.1.i386.rpm
rpm -i freetype-utils-2.3.1.i386.rpm
rpm -i fontconfig-2.4.2.i386.rpm
rpm -i fontconfig-devel-2.4.2.i386.rpm
lib/ASNMTAP/Asnmtap/Applications.pod view on Meta::CPAN
pkgadd -d fping-2.4b2-sol9-sparc-local
pkgadd -d fontconfig-2.2.98-sol9-sparc-local
pkgadd -d freetype-2.1.9-sol9-sparc-local
pkgadd -d gcc-3.4.2-sol9-sparc-local
pkgadd -d gd-2.0.33-sol9-sparc-local
pkgadd -d gdbm-1.8.3-sol9-sparc-local
pkgadd -d glib-2.6.2-sol9-sparc-local
pkgadd -d jpeg-6b-sol9-sparc-local
pkgadd -d libnet-1.1.1-sol9-sparc-local
pkgadd -d libpcap-0.9.3-sol9-sparc-local
pkgadd -d libpng-1.2.8-sol9-sparc-local
pkgadd -d librsync-0.9.7-sol9-sparc-local
pkgadd -d libtool-1.5-sol9-sparc-local
pkgadd -d libxml2-2.6.16-sol9-sparc-local
pkgadd -d m4-1.4.2-sol9-sparc-local
pkgadd -d make-3.80-sol9-sparc-local
pkgadd -d mrtg-2.10.15-sol9-sparc-local
pkgadd -d openssl-0.9.8b-sol9-sparc-local
pkgadd -d openssl-0.9.7g-sol9-sparc-local
pkgadd -d pkgconfig-0.15.0-sol9-sparc-local
pkgadd -d prngd-0.9.25-sol9-sparc-local
plugins/templates/ssl/key/alex-peeters.key view on Meta::C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----
plugins/tools/GrinderCaptureConverter.pl view on Meta::CPAN
exit(0);
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sub output_webtransact() {
open (OUTFILE, ">$outfile") || die ("Could not open webtransact output file");
print OUTFILE "\@URLS = (\n";
for(my $c = 0, my $t = 1; $c < @urlArray; $c++) {
if (! ($urlArray[$c] =~ /(\.(gif|jpg|png|css|ico|js|bmp)|(robots\.txt))$/i) ) {
my($tUrl, $tParams) = split(/\?/, $urlArray[$c]);
my(undef, $tFilename) = $tUrl =~ m/(.*\/)(.*)$/;
my $Qs_fixed = '';
if (defined $tParams && $tParams ne '') {
my @tArray = split(/&/, $tParams);
$Qs_fixed .= build_QS_fixed(\@tArray);
}
if($postArray[$c] eq 'POST') {
plugins/tools/GrinderCaptureConverter.pl view on Meta::CPAN
$theURL =~ s|\@|\\@|g;
return $theURL;
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sub output_list() {
open (OUTFILE, ">$outfile") || die ("Could not open list output file");
for(my $c = 0; $c < @urlArray; $c++) {
if (! ($urlArray[$c] =~ /(\.(gif|jpg|png|css|ico|js|bmp)|(robots\.txt))$/i) ) {
my $tUrl = URLDecode($urlArray[$c]);
if($postArray[$c] eq "POST") {
if ( defined $dataArray[$c] and $dataArray[$c] ne '') {
print OUTFILE "$postArray[$c]" . " - " . $tUrl . ( ($tUrl =~ /\?/) ? '&' : '?' ) . URLDecode($dataArray[$c]) . "\n";
} else {
print OUTFILE "$postArray[$c]" . " - " . $tUrl . "\n";
}
} else {
print OUTFILE "$postArray[$c]" . " - " . $tUrl . "\n";