NAME

tgctl - SNMP data gatherer daemon


SYNOPSIS

  tgctl [options] command arguments...


DESCRIPTION

tgctl allows to control and setup the ToGather applications togatherd (statistic tool) and MIBB (mib browser).


OPTIONS

-h|--help

Displays a short usage information and exits.

-v|--verbose

Be verbose. Will tell you sometimes what it's doing. Accepts a number for the verbosity level (useful: 1-3).


COMMANDS

stat

Check if a daemon is running for the specified config files. This is default if no command is given.

stop

Stop the daemons running for the specified config files.

reload

Tell the daemons running on the specified config files to reload these config files.

threshstat

Prints information about the status of threshold checking, i.e. whether a limit was exceeded and when. The printed information can be some seconds old because tgctl reads the config cache file of the ToGather daemon and the daemon does not write any changes immediately to disk. The 'lag' depends on the DBM implementation used.

addmib

Add the specified MIB modules to the mibbase of the mib browser tgmib(1). Rebuilds the index after successfully compiling the module.

recompile index

Rebuild the index for the mib browser tgmib(1).

recompile mibs [mib...]

Recompile the given mib modules or all installed if no one is given and rebuild the index for the mib browser tgmib(1).


EXAMPLES

Check if togatherd is running on a config file:

  tgctl stat /var/netstat/togather.cfg

Add a SNMP MIB definition module to the mib browser:

  tgctl addmib SOURCE-ROUTING-MIB


NOTES

tgctl is the successor of build_mibbaseinf, mibcompiler, compile_all_mibs, insert_mib, list_mibbaseinf and the previous non-existent togatherd control program. It combines the functionality in one utility.


SEE ALSO

ToGather(1), togatherd(1), tgweb(1), tgmibb(1).


AUTHOR

 Rainer Bawidamann, Rainer.Bawidamann@rz.uni-ulm.de
 University of Ulm, University Computer Centre


COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA