How can I enable or disable the Zeus SNMP support?

Zeus Web Server version 4.1 and above include an SNMP module. SNMP is a global feature, and it is started and stopped by the start-zeus and stop-zeus scripts.

When you install or upgrade to Zeus Web Server version 4.1 or greater, SNMP support is automatically installed.

The installation procedure asks you if you would like to enable the SNMP supportfor the webserver. If you indicate that you would, the installation createsa symlink in the ZEUSHOME/rc.d directory so that the start-zeus, stop-zeus andrestart-zeus start and stop the software as required. The symlinkis named S30snmp, and it points to the SNMP start/stop rc scriptat ../snmp/rc.

After installation, you can enable or disable SNMP by creating ordeleting the symlink in $ZEUSHOME/rc.d as follows:

To enable SNMP:

  \# cd $ZEUSHOME/rc.d  \# ln -s ../snmp/rc S30snmp

To disable SNMP:

  \# cd $ZEUSHOME/rc.d  \# rm S30snmp

The SNMP service listens for SNMP requests on a port. This port isspecified by the "agentaddress" field in the snmpd.conf file inZEUSHOME/snmp/etc/snmpd.conf, and is chosen by zinstall at installtime.

The port number is reported every time the SNMP component of the Zeus Web Server is started:

   Zeus SNMP Agent -- Master (C) 1995-2002 Zeus Technology Ltd   Portions (C) Carnegie Mellon University    INFO:Listening on 1161    INFO:Zeus SNMP Agent -- Master running

If necessary, you can edit the ZEUSHOME/snmp/etc/snmpd.conf file and restart the snmp serviceto change the port number.

You need to import the Zeus Web Server MIB file into your SNMPsoftware in order to monitor your Zeus Web Server by SNMP. The MIB fileis located in ZEUSHOME/snmp/mibs/ZEUS-MIB.txt

Content Manager [Administrator] 19 September 2005  Permalink  
Download Free Trial

Recent Articles

Other Resources



www.zeus.com