Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Monitoring system may include the following elements:

  • Analog sensors;
  • Discrete sensors;
  • Virtual sensors (elements);
  • Notifications;
  • Units;

All the available elements of the system are given in table ctlAllElementsTable

Example. View available system elements:

$ snmptable -Ci -Cb -v2c -cread 192.168.0.193 SKYCONTROL-SYSTEM-MIB::ctlAllElementsTable 
SNMP table: SKYCONTROL-SYSTEM-MIB::ctlAllElementsTable

index  ID GroupID ModuleID             Type                   Name           State
   10  10       0        1    "temperature"    "Int. Module Temp."         "alarm"
   11  11       0        1 "analog voltage" "Int. Module +12V ch."       "warning"
   12  12       0        1        "usb-cam"      "Web Camera(USB)"        "normal"
   13  13       0        1         "reader"          "S/N iButton" "not connected"
   14  14       0        1      "GSM modem"            "GSM Modem" "not connected"
   20  20       0        2         "magnet"             "Analog-1"         "alarm"
   21  21       0        2          "smoke"             "Analog-2"        "normal"
   22  22       0        2    "temperature"             "Analog-3"         "alarm"
   23  23       0        2        "unknown"             "Analog-4" "not connected"
   24  24       0        2        "unknown"             "Analog-5" "not connected"
   25  25       0        2        "unknown"             "Analog-6" "not connected"
   26  26       0        2        "unknown"             "Analog-7" "not connected"
   27  27       0        2        "unknown"             "Analog-8" "not connected"
   28  28       0        2   "induct relay"      "A-Sensors Power"            "on"
   31  31       0        3   "induct relay"              "Relay-1"           "off"
   32  32       0        3   "induct relay"              "Relay-2"           "off"
   33  33       0        3   "induct relay"              "Relay-3"           "off"
   34  34       0        3   "induct relay"              "Relay-4"           "off"
   40  40       0        4     "pushbutton"                "Dry-1" "not connected"
   41  41       0        4     "pushbutton"                "Dry-2" "not connected"
   42  42       0        4     "pushbutton"                "Dry-3" "not connected"
   43  43       0        4     "pushbutton"                "Dry-4" "not connected"
   44  44       0        4     "pushbutton"                "Dry-5" "not connected"
   45  45       0        4     "pushbutton"                "Dry-6" "not connected"
   46  46       0        4     "pushbutton"                "Dry-7" "not connected"
   47  47       0        4     "pushbutton"                "Dry-8" "not connected"
   48  48       0        4     "pushbutton"                "Dry-9" "not connected"
   49  49       0        4     "pushbutton"               "Dry-10" "not connected"
   50  50       0        4     "pushbutton"               "Dry-11" "not connected"
   51  51       0        4     "pushbutton"               "Dry-12" "not connected"
   52  52       0        4     "pushbutton"               "Dry-13" "not connected"
   53  53       0        4     "pushbutton"               "Dry-14" "not connected"
   54  54       0        4     "pushbutton"               "Dry-15" "not connected"
   55  55       0        4     "pushbutton"               "Dry-16" "not connected"
  300 300       0        0          "timer"               "Timer-1"          "off"

 

Example. Changing the name of the element with ID=20:

$ snmpset -v2c -cwrite 192.168.0.193 SKYCONTROL-SYSTEM-MIB::ctlAllElementName.20 s "Magnet sensor"
SKYCONTROL-SYSTEM-MIB::ctlAllElementName.20 = STRING: "Magnet sensor"
  • No labels