devel:database
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devel:database [2010/06/18 13:21] – faltin | devel:database [2012/05/07 11:22] (current) – fix url morten | ||
|---|---|---|---|
| Line 243: | Line 243: | ||
| This [[http:// | This [[http:// | ||
| + | |||
| + | The role of the OID database has changed with NAV 3.6. ipdevpoll (that replaces getDeviceData) does not depend | ||
| + | on the OID database. Cricket still does and getBoksMacs still uses the oid database to figure out device | ||
| + | capabilities. | ||
| ==== snmpoid ==== | ==== snmpoid ==== | ||
| Line 321: | Line 325: | ||
| netboxid | netboxid | ||
| key if relevant, which part of the netbox the rrd file has statistics for, i.e. | key if relevant, which part of the netbox the rrd file has statistics for, i.e. | ||
| - | which table; service / swport or gwport | + | which table; service / interface |
| - | value i.e. which serviceid / swportid / gwportid | + | value i.e. which serviceid / interfaceid |
| </ | </ | ||
| Line 334: | Line 338: | ||
| rrd_fileid | rrd_fileid | ||
| name name of the source (ds0, | name name of the source (ds0, | ||
| - | descr | + | descr |
| dstype | dstype | ||
| units units used on y-axis (seconds, bytes, etc) | units units used on y-axis (seconds, bytes, etc) | ||
| Line 358: | Line 362: | ||
| New table in v3.6. General interface table, combines the old gwport and swport in one. | New table in v3.6. General interface table, combines the old gwport and swport in one. | ||
| + | In cases where attribute starts with if* it is the exact equivalent of the IF-MIB (RFC 1229) instance. | ||
| < | < | ||
| Line 428: | Line 432: | ||
| < | < | ||
| - | gwportid | + | interfaceid |
| prefixid | prefixid | ||
| gwip ip address defines on the router port | gwip ip address defines on the router port | ||
| Line 543: | Line 547: | ||
| < | < | ||
| swportvlanid | swportvlanid | ||
| - | swportid | + | interfaceid |
| vlanid | vlanid | ||
| direction | direction | ||
| - | ' | + | ' |
| </ | </ | ||
| Line 561: | Line 565: | ||
| < | < | ||
| - | swportid | + | interfaceid |
| hexstring | hexstring | ||
| </ | </ | ||
| Line 570: | Line 574: | ||
| < | < | ||
| - | swportid | + | interfaceid |
| vlan vlan value | vlan vlan value | ||
| </ | </ | ||
| Line 585: | Line 589: | ||
| ifindex | ifindex | ||
| to_netboxid | to_netboxid | ||
| - | to_swportid | + | to_interfaceid |
| misscnt | misscnt | ||
| </ | </ | ||
| Line 647: | Line 651: | ||
| < | < | ||
| patchid | patchid | ||
| - | swportid | + | interfaceid |
| cablingid | cablingid | ||
| split If a split cable is used in the jack end, specify type and leaf. | split If a split cable is used in the jack end, specify type and leaf. | ||
| Line 665: | Line 669: | ||
| Different subsystem (specified in source) post events on the event queue. | Different subsystem (specified in source) post events on the event queue. | ||
| Normally event engine is the target and will take the event off the event | Normally event engine is the target and will take the event off the event | ||
| - | queue and process it. getDeviceData | + | queue and process it (getDeviceData |
| < | < | ||
| Line 754: | Line 758: | ||
| </ | </ | ||
| - | ==== alertmsg | + | ==== alertqmsg |
| Event engine will, based on alertmsg.conf, | Event engine will, based on alertmsg.conf, | ||
| one message for each configured alert channel (email, sms), one message for | one message for each configured alert channel (email, sms), one message for | ||
| - | each configured language. The data are stored in the alertmsg | + | each configured language. The data are stored in the alertqmsg |
| < | < | ||
| Line 824: | Line 828: | ||
| </ | </ | ||
| - | ==== alertengine ==== | ||
| - | Used by alert engine to keep track of processed alerts. | ||
| - | |||
| - | < | ||
| - | lastalertqid | ||
| - | </ | ||
| ===== Messages ===== | ===== Messages ===== | ||
| Line 923: | Line 921: | ||
| - | ===== Traffic map ===== | ||
| - | |||
| - | The traffic map (vlanplot) uses three tables to store values on positioning of | ||
| - | routers in the graph and on the use of containers. | ||
| - | This [[http:// | ||
| - | traffic map tables. | ||
| - | |||
| - | Also, see more documentation on the TrafficMap. | ||
| - | |||
| - | ==== vp_netbox_xy ==== | ||
| - | |||
| - | The table is used for positioning nodes (routers) on the traffic map. | ||
| - | A netbox may be positioned in more than one container (because we show the | ||
| - | other side of the link, the netboxes themself always only belong to one container). | ||
| - | |||
| - | < | ||
| - | vp_netbox_xyid | ||
| - | pnetboxid | ||
| - | x the X coordinate | ||
| - | y the Y coordinate | ||
| - | vp_netbox_grp_infoid | ||
| - | </ | ||
| - | |||
| - | ==== vp_netbox_grp_info ==== | ||
| - | |||
| - | The table keeps information on all containers used by the traffic map. | ||
| - | Editing containers is done in Edit Database. | ||
| - | |||
| - | < | ||
| - | vp_netbox_grp_infoid | ||
| - | name name of the container. The top container is named _Top. | ||
| - | hideicons | ||
| - | iconname | ||
| - | directory this will be used. | ||
| - | x the X coordinate of the container placement on _Top. | ||
| - | y the Y coordinate of the container placement on _Top. | ||
| - | </ | ||
| - | |||
| - | ==== vp_netbox_grp ==== | ||
| - | |||
| - | The table maps netboxes to containers. This information is maintained by Edit Database. | ||
| - | |||
| - | < | ||
| - | vp_netbox_grp_infoid | ||
| - | pnetboxid | ||
| - | </ | ||
| Line 1011: | Line 963: | ||
| ==== identity ==== | ==== identity ==== | ||
| + | |||
| + | :!: Not up to date! | ||
| < | < | ||
| Line 1017: | Line 971: | ||
| blocked_status | blocked_status | ||
| blocked_reasonid | blocked_reasonid | ||
| - | swportid | + | swportid |
| We find sysname, | We find sysname, | ||
| swsysname | swsysname | ||
| Line 1088: | Line 1042: | ||
| version...). | version...). | ||
| - | See [[http://metanav.uninett.no/ | + | See [[http://nav.uninett.no/ |
| the NAV Cisco syslog analyzer tool. The chapter also includes a database figure, almost uptodate; the system table no longer exists and there is a newpriority reference from message to priority. For an explanation of the front-end tool, see [[..sysloganalyzer|here]]. | the NAV Cisco syslog analyzer tool. The chapter also includes a database figure, almost uptodate; the system table no longer exists and there is a newpriority reference from message to priority. For an explanation of the front-end tool, see [[..sysloganalyzer|here]]. | ||
devel/database.1276867305.txt.gz · Last modified: by faltin
