You are here: SwitchKit SNMP User’s Guide > 4 System Customization > Editing Fields in Configuration File on Windows®

Editing Fields in Configuration File on Windows®

This procedure describes how to edit values in the SNMP configuration file on a Windows® system.

Before you begin

Open snmpd.cnf with a text editor.

Editing Configuration File on Windows®

The following steps explain how to edit values such as the following in a configuration file:

• sysLocation

• sysContact

• sysName

1 Using the text editor, search for the name of each field you want to change. You will see an entry that looks similar to one of the following:

# Entry type: sysLocation

# Entry format: octetString

# sysLocation "Concord NH"

# Entry type: sysContact

# Entry format: octetString

# sysContact "Joe Smith"

# Entry type: sysName

# Entry format: octetString

# sysName system_74

In the last line of the entry, type the new information that you want to add. Enter character strings inside quotation marks.

2 Save the snmpd.cnf file.

3 Restart the SNMP daemon by opening a Command Prompt window and typing the following:

# net stop snmpdm

After stopping the SNMP daemon, the following messages should be displayed:

# The SNMP EMANATE Master Agent service is stopping.

# The SNMP EMANATE Master Agent service was stopped successfully.

4 From the same Command Prompt window, restart the SNMP daemon by opening a Command Prompt window and typing the following:

# net start snmpdm

After restarting the SNMP daemon, the following message should be displayed:

# The SNMP EMANATE Master Agent service was started successfully.

You do not need to stop and start CSPEventManager and CSPAgent.