Sony SNC-CH140 Security Camera User Manual


 
Others
Using the SNMP
122
Using the SNMP
This unit supports SNMP (Simple Network
Management Protocol). You can read MIB-2 objects
using software such as SNMP manager software. This
unit also supports the coldStart trap which occurs when
the power is turned on or the unit restarts, and the
Authentication failure trap, which informs of any illegal
access using SNMP.
Using CGI commands, you can set the community name
and access limitation, host to send traps, and some MIB-
2 objects. To allow these settings, you need
authentication by the camera administrator.
1. Inquiry Commands
You can check the SNMP Agent settings using the
following CGI commands.
<Method>
GET, POST
<Command>
(JavaScript parameter format)
(standard format)
With the above inquiry, you can obtain the following
setting information. The following explains the setting
information using the inqjs=snmp (JavaScript
parameter) format.
var sysDescr=“SNC-CH240” (or “SNC-CH140”,
“SNC-DH140T”, “SNC-DH240T”, “SNC-DH240”,
“SNC-DH140”, “SNC-CH180”, “SNC-DH180”,
“SNC-CH280”, “SNC-DH280”)
...1
var sysObjectID=“1.3.6.1.4.1.122.8501” ...2
var sysLocation=“” ...3
var sysContact=“” ...4
var sysName=“” ...5
var snmpEnableAuthenTraps=“1” ...6
var community=“1,r,public,0.0.0.0,v2c” ...7
var community=“2,r,private,192.168.0.101,v2c” ...8
var trap=“1,public,192.168.0.101,v2c” ...9
1 Describes the case of “mib-2.system. sysDescr.0”.
You cannot change this parameter.
2 Describes the case of “mib-2.system.
sysObjectID.0”. You cannot change this parameter.
3 Describes the case of “mib-2.system.
sysLocation.0”. This field is used to describe
information on the location of this camera. Nothing
is set at the factory.
4 Describes the case of “mib-2.system.
sysContact.0”. This field is used to describe
information on the administrator of this camera.
Nothing is set at the factory.
5 Describes the case of “mib-2.system. sysName.0”.
This field is used to describe the administration
node of this camera. Nothing is set at the factory.
6 Describes the case of “mib-2.snmpEnable
AuthenTraps.0”. This example shows when “1”
(enable) is set. In this setting, a trap occurs when
there is an authentication failure. When “2”
(disable) is set, no authentication failure trap
occurs.
7 Describes the community attributes. This example
shows the identification number “ID=1”, the
community name “public”, and enables read from
any IP address (0.0.0.0).
8 Describes the community attributes, similar to 7.
This example shows the identification number
ID=2, the community name “private”, and enables
reading by SNMP request packet from the host
“192.168.0.101”.
9 Describes the attributes to send a trap. This example
shows the identification number “ID=1”, the
community name “public”, and enables sending of
traps to the host having the IP address
“192.168.0.101”.
2. Setting Commands
The unit supports the following SNMP setting
commands.
<Method>
GET, POST
<Command>
First, perform the settings of the following parameters.
1) sysLocation=<string>
Set the case of “mib-2.system.sysLocation.0” in the
<string> position. The maximum length of <string>
is 255 characters.
2) sysContact=<string>
Set the case of “mib-2.system.sysContact.0” in the
<string> position. The maximum length of <string>
is 255 characters.