- The operating system with kernel-level threading support. Sun Solaris
- Tcl 8.4.x or higher, built with threads support (--enable-threads).
- Thread 2.6 or higher.
- Tcllib 1.9 or higher.
- RRDTool 1.2.19 or higher, built with Tcl support.
- Tcludp 1.0.8 or higher (required only in case of need to
monitor services running over UDP - DNS, NTP and RADIUS).
- Mysqltcl 3.03 or higher (required only in case of need to monitor
- Oratcl 4.4 or higher (required only in case of need to monitor
Oracle databases or to use Oracle database as data storage).
- fping 2.4b2 or higher (required only in case of need to monitor
reachability of network devices using ICMP ping).
It would also require some additional Tcl libraries:
- Tclsnmp - Thread-safe SNMP library for Tcl.
- Tclsyslog - Thread-safe Syslog library for Tcl.
Download TclMon and Netstate
Download latest TclMon version here
and latest Netstate version here
- Unpack the Tclsnmp and Tclsyslog archives to the directory where Tcl will look for libraries. If necessary, correct
the path to that directory in the pkgIndex.tcl files. The path to this directory can be obtained using the following commands:
% puts $tcl_pkgPath
- Make sure that Tcl can find all required libraries. The following commands should succeed:
% package require Thread
% package require Syslog
% package require Tclsnmp
% package require Rrd
% package require ip
% package require dns
% package require time
- Create user tclmon and unpack the TclMon archive to user's home directory (e.g. /home/tclmon).
- If necessary, change the following TclMon variables:
CONFIG(ROOT_DIR) - path to the installation root
CONFIG(RSH_BINARY) - path to the rsh binary
CONFIG(FPING_BINARY) - path to the fping binary
CONFIG(ALARMS_SERVER_MAIL_NOTIFY_SENDMAIL) - path to sendmail binary with necessary options and flags
- Configure objects (see etc/tclmon.cfg and etc/objects as examples) and e-mail alarm subscriptions (see
- Add the following line to /etc/syslog.conf:
- Create TclMon logfile:
$ touch /home/tclmon/var/log/tclmon.log
- Restart syslogd:
# pkill -1 -x syslogd
- Run TclMon:
# cd /home/tclmon/var && su tclmon -c "/usr/bin/nohup /home/tclmon/bin/tclmon.sh /home/tclmon/etc/tclmon.cfg 6666 > OUT 2> ERR &"
- Try to connect to the TclMon management console:
$ telnet localhost 6666
- Successful connection to the management console and the reaction to the commands help, status, and threads
all, as well as the absence of errors in the log file indicates the successful TclMon launch.
- Unpack the Netstate archive to the selected directory (e.g. C:\Program Files).
- Run netstate.exe from the C:\Program Files\Netstate 2 directory.
- Connect to the TclMon server using the server address and port (default 7777).