User Tools

Site Tools


devel:database

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devel:database [2010/06/18 13:45]
faltin
devel:database [2012/05/07 11:22] (current)
morten fix url
Line 243: Line 243:
  
 This [[http://​domen.uninett.no/​~faltin/​nav/​navdb/​netbox_related.png|diagram]] shows OID database (and more). This [[http://​domen.uninett.no/​~faltin/​nav/​navdb/​netbox_related.png|diagram]] shows OID database (and more).
 +
 +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 334: Line 338:
 rrd_fileid ​      the rrd file the data source is within rrd_fileid ​      the rrd file the data source is within
 name             name of the source (ds0,​ds1,​RESPONSE TIME etc) name             name of the source (ds0,​ds1,​RESPONSE TIME etc)
-descr            ​further description+descr            ​type of datasource, i.e. ifInOctets, ifInErrors, cpu5min, etc
 dstype ​          type (DERIVE / GAUGE) dstype ​          type (DERIVE / GAUGE)
 units            units used on y-axis (seconds, bytes, etc) units            units used on y-axis (seconds, bytes, etc)
Line 546: Line 550:
 vlanid ​         vlan id (foreign key ref to vlan table, not an actual vlan number) vlanid ​         vlan id (foreign key ref to vlan table, not an actual vlan number)
 direction ​      ​Direction of the link, seen from the root of the topology (the vlan's router). direction ​      ​Direction of the link, seen from the root of the topology (the vlan's router).
-                '​o'​ = '​Up',​ '​n'​ = '​Down',​ '​x'​ = ???+                '​o'​ = '​Up',​ '​n'​ = 'Down', '​b'​ = '​Blocked', '​x'​ = Unknown
 </​code>​ </​code>​
  
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 itgetDeviceData ​are in some cases the target.+queue and process it (getDeviceData ​was in some cases the target, not anymore).
  
 <​code>​ <​code>​
Line 824: Line 828:
 </​code>​ </​code>​
  
-==== alertengine ==== 
  
-Used by alert engine to keep track of processed alerts. 
- 
-<​code>​ 
-lastalertqid ​   value of the last alertqid that alert engine has processed. 
-</​code>​ 
  
 ===== Messages ===== ===== Messages =====
Line 965: Line 963:
  
 ==== identity ==== ==== identity ====
 +
 +:!: Not up to date!
  
 <​code>​ <​code>​
Line 971: Line 971:
 blocked_status ​       boolean blocked_status ​       boolean
 blocked_reasonid ​     reason of the block, reference to the blocked_reason table blocked_reasonid ​     reason of the block, reference to the blocked_reason table
-swportid ​             reference to the switch port found in the manage.swport ​table.+swportid ​             reference to the switch port found in the interface ​table.
                       We find sysname,​ip,​module and port from this                       We find sysname,​ip,​module and port from this
 swsysname ​            ​current sysname of switch, kept for consistency check swsysname ​            ​current sysname of switch, kept for consistency check
Line 1042: Line 1042:
 version...). ​ version...). ​
  
-See [[http://metanav.uninett.no/​static/​reports/​NAVMore.pdf|NAVMore report ch 2.4]] (in Norwegian) for a further explaination of+See [[http://nav.uninett.no/​static/​reports/​NAVMore.pdf|NAVMore report ch 2.4]] (in Norwegian) for a further explaination of
 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.1276868737.txt.gz ยท Last modified: 2010/06/18 13:45 by faltin