You are here: Administration > Man Pages > lk_configsnmp(8)

lk_configsnmp(8)

NAME

lk_configsnmp(1M)-- configure LifeKeeper to send SNMP traps

SYNOPSIS

$LKROOT/bin/lk_configsnmp IP | d[isable] | q[uery]

DESCRIPTION

The  lk_configsnmp command allows  you to specify the IP address of the network management system that will receive SNMP traps  for certain LifeKeeper events.  It edits the file /etc/default/LifeKeeper and sets the environment  variable LK_TRAP_MGR. If the disable option is given on the command line, the LK_TRAP_MGR variable is set to null.  This action will disable event notification via SNMP traps.  The query option displays the current setting of the environment variable.

The following are examples of the lk_configsnmp command:

# $LKROOT/bin/lk_configsnmp 123.45.100.90

/etc/default/LifeKeeper has been edited to change

LK_TRAP_MGR=123.45.100.90

 

# $LKROOT/bin/lk_configsnmp q

LK_TRAP_MGR=123.45.100.90

Trap generation for LifeKeeper events is enabled.

 

# $LKROOT/bin/lk_configsnmp d

/etc/default/LifeKeeper has  been  edited  to change

LK_TRAP_MGR=

EXIT CODES

The lk_configsnmp command exits with zero upon success and non-zero on failure.

NOTES

The location of this utility, $LKROOT, is defined  in  the default file /etc/default/LifeKeeper.

 A message is logged to the SNMP log file for each invocation.

This functionality is only available from the command line on each server.  It is not included in the LifeKeeper GUI.

FILES

/etc/default/LifeKeeper

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.