ASNMTAP

 view release on metacpan or  search on metacpan

lib/ASNMTAP/Asnmtap/Applications.pod  view on Meta::CPAN

You must first check all the slaves with SHOW SLAVE STATUS to see which log they are reading, then do a listing of the logs on the master with SHOW MASTER LOGS, find the earliest log among all the slaves (if all the slaves are up to date, this will b...

=item RESET MASTER

Deletes all binary logs listed in the index file, resetting the binlog index file to be empty

=item RESET SLAVE

Makes the slave forget its replication position in the master's binlogs. This statement is meant to be used for a clean start: it deletes the `master.info' and `relay-log.info' files, all the relay logs, and starts a new relay log. 

Note: All relay logs are deleted, even if they had not been totally executed by the slave SQL thread. (This is a condition likely to exist on a replication slave that is highly loaded, or if you have issued a STOP SLAVE statement.) Connection informa...

=item How do I configure a slave if the master is already running and I do not want to stop it?

There are several options. If you have taken a backup of the master at some point and recorded the binlog name and offset ( from the output of SHOW MASTER STATUS ) corresponding to the snapshot, do the following:

Make sure the slave is assigned a unique server ID. 

Execute the following statement on the slave, filling in appropriate values for each parameter: 

 mysql> CHANGE MASTER TO

plugins/templates/snmptt/create_weblogic_configuration_database_with_SNMP-3.002.003_mysql-v5.0.x.SQL  view on Meta::CPAN

  `CURRENT_TIMESTAMP` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `action_on_65` varchar(255) default NULL,
  PRIMARY KEY  (`trapMBeanType`,`trapAttributeName`,`trapMonitorType`,`trapLogSeverity`,`trapLogMessage`,`event_name`,`category`,`sources_list`,`mode`,`trapMBeanType_MATCH`)
) ENGINE=MyISAM;

#
# Data for the table `wls_snmptt_CONFIG`
#

insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`,`trapMBeanType_MATCH`,`trapAttributeName`,`trapAttributeName_MATCH`,`trapMonitorType`,`trapMonitorType_MATCH`,`trapLogSeverity`,`trapLogSeverity_MATCH`,`trapLogMessage`,`trapLogMessage_MATCH`,`severity`...

insert into `wls_snmptt_CONFIG`(`trapMBeanType`, `trapMBeanType_MATCH`, `trapAttributeName`, `trapAttributeName_MATCH`, `trapMonitorType`, `trapMonitorType_MATCH`, `trapLogSeverity`, `trapLogSeverity_MATCH`, `trapLogMessage`, `trapLogMessage_MATCH`, ...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`, `trapMBeanType_MATCH`, `trapAttributeName`, `trapAttributeName_MATCH`, `trapMonitorType`, `trapMonitorType_MATCH`, `trapLogSeverity`, `trapLogSeverity_MATCH`, `trapLogMessage`, `trapLogMessage_MATCH`, ...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`, `trapMBeanType_MATCH`, `trapAttributeName`, `trapAttributeName_MATCH`, `trapMonitorType`, `trapMonitorType_MATCH`, `trapLogSeverity`, `trapLogSeverity_MATCH`, `trapLogMessage`, `trapLogMessage_MATCH`, ...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`, `trapMBeanType_MATCH`, `trapAttributeName`, `trapAttributeName_MATCH`, `trapMonitorType`, `trapMonitorType_MATCH`, `trapLogSeverity`, `trapLogSeverity_MATCH`, `trapLogMessage`, `trapLogMessage_MATCH`, ...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`, `trapMBeanType_MATCH`, `trapAttributeName`, `trapAttributeName_MATCH`, `trapMonitorType`, `trapMonitorType_MATCH`, `trapLogSeverity`, `trapLogSeverity_MATCH`, `trapLogMessage`, `trapLogMessage_MATCH`, ...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`, `trapMBeanType_MATCH`, `trapAttributeName`, `trapAttributeName_MATCH`, `trapMonitorType`, `trapMonitorType_MATCH`, `trapLogSeverity`, `trapLogSeverity_MATCH`, `trapLogMessage`, `trapLogMessage_MATCH`, ...
insert into `wls_snmptt_CONFIG`(`trapMBeanType`, `trapMBeanType_MATCH`, `trapAttributeName`, `trapAttributeName_MATCH`, `trapMonitorType`, `trapMonitorType_MATCH`, `trapLogSeverity`, `trapLogSeverity_MATCH`, `trapLogMessage`, `trapLogMessage_MATCH`, ...

plugins/templates/snmptt/snmptt-bea-weblogic.conf  view on Meta::CPAN

     Syntax="OCTETSTR"
     Descr=" A string that indicates the time"
  2: trapServerName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the server which generated the trap"
  3: trapMachineName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the machine where the trap is generated"
  4: trapLogThreadId
     Syntax="OCTETSTR"
     Descr=" An integer that indicates the if of the thread in which the trap is generated"
  5: trapLogTransactionId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the transactions from which the trap is generated"
  6: trapLogUserId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the user id from which the trap is generated"
  7: trapLogSubsystem
     Syntax="OCTETSTR"
     Descr=" A string that indicates the subsystem from which the trap is generated"
  8: trapLogMsgId

plugins/templates/snmptt/snmptt-bea-weblogic.conf  view on Meta::CPAN

     Syntax="OCTETSTR"
     Descr=" A string that indicates the time"
  2: trapServerName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the server which generated the trap"
  3: trapMachineName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the machine where the trap is generated"
  4: trapLogThreadId
     Syntax="OCTETSTR"
     Descr=" An integer that indicates the if of the thread in which the trap is generated"
  5: trapLogTransactionId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the transactions from which the trap is generated"
  6: trapLogUserId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the user id from which the trap is generated"
  7: trapLogSubsystem
     Syntax="OCTETSTR"
     Descr=" A string that indicates the subsystem from which the trap is generated"
  8: trapLogMsgId

plugins/templates/snmptt/snmptt-bea-weblogic.conf  view on Meta::CPAN

     Syntax="OCTETSTR"
     Descr=" A string that indicates the time"
  2: trapServerName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the server which generated the trap"
  3: trapMachineName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the machine where the trap is generated"
  4: trapLogThreadId
     Syntax="OCTETSTR"
     Descr=" An integer that indicates the if of the thread in which the trap is generated"
  5: trapLogTransactionId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the transactions from which the trap is generated"
  6: trapLogUserId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the user id from which the trap is generated"
  7: trapLogSubsystem
     Syntax="OCTETSTR"
     Descr=" A string that indicates the subsystem from which the trap is generated"
  8: trapLogMsgId

plugins/templates/snmptt/snmptt-bea-weblogic.conf  view on Meta::CPAN

     Syntax="OCTETSTR"
     Descr=" A string that indicates the time"
  2: trapServerName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the server which generated the trap"
  3: trapMachineName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the machine where the trap is generated"
  4: trapLogThreadId
     Syntax="OCTETSTR"
     Descr=" An integer that indicates the if of the thread in which the trap is generated"
  5: trapLogTransactionId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the transactions from which the trap is generated"
  6: trapLogUserId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the user id from which the trap is generated"
  7: trapLogSubsystem
     Syntax="OCTETSTR"
     Descr=" A string that indicates the subsystem from which the trap is generated"
  8: trapLogMsgId

plugins/templates/snmptt/snmptt-bea-weblogic.conf  view on Meta::CPAN

     Syntax="OCTETSTR"
     Descr=" A string that indicates the time"
  2: trapServerName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the server which generated the trap"
  3: trapMachineName
     Syntax="OCTETSTR"
     Descr=" A string that indicates the machine where the trap is generated"
  4: trapLogThreadId
     Syntax="OCTETSTR"
     Descr=" An integer that indicates the if of the thread in which the trap is generated"
  5: trapLogTransactionId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the transactions from which the trap is generated"
  6: trapLogUserId
     Syntax="OCTETSTR"
     Descr=" A string that indicates the user id from which the trap is generated"
  7: trapLogSubsystem
     Syntax="OCTETSTR"
     Descr=" A string that indicates the subsystem from which the trap is generated"
  8: trapLogMsgId

plugins/templates/snmptt/snmptt.ini  view on Meta::CPAN

#  description from the MIB files.  This enables the UCD-SNMP / NET-SNMP Perl 
#  module save_descriptions variable.  Enabling this option can greatly 
#  increase the amount of memory used by the Net-SNMP SNMP Perl module, which 
#  will result in an increase of memory usage by SNMPTT.
description_mode = 0

# Set to 1 to remove any white space at the start of each line from the MIB
# or SNMPTT.CONF description when description_mode is set to 1 or 2.
description_clean = 1

# Set to 1 to enable threads (ithreads) in Perl 5.6.0 or higher.  If enabled,
# EXEC will launch in a thread to allow SNMPTT to continue processing other
# traps.  See also threads_max.
# Set to 0 to disable threads (ithreads).
# Defaults to 0
threads_enable = 0

# This option allows you to set the maximum number of threads that will 
# execute at once.  Defaults to 10
threads_max = 10

# The date format for $x in strftime() format.  If not defined, defaults 
# to %a %b %e %Y.
#date_format = %a %b %e %Y

# The time format for $X in strftime() format.  If not defined, defaults 
# to %H:%M:%S.
#time_format = %H:%M:%S 

# The date time format in strftime() format for the date/time when logging 



( run in 0.411 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )