SNMP
Jump to navigation
Jump to search
Noisebridge has an IANA-assigned private enterprise number, 33792. This is used as the root of a private enterprises MIB which is available for use by any project which would like to use SNMP or a similar protocol which requires a PEN. The authoritative copy of the MIB rooted at this PEN is this wiki page.
Example usage:
snmpget -m +NOISEBRIDGE-MIB -M +. -c REDACTED -v2c 172.30.0.1 noisebridge-door-status NOISEBRIDGE-MIB::noisebridge-door-status.0 = INTEGER: 0
-- -- NOISEBRIDGE-MIB module definition -- See https://www.noisebridge.net/wiki/SNMP for details. -- Send bug reports to the Noisebridge Discuss List <noisebridge-discuss@lists.noisebridge.net> -- Copyright (C) 2009, Noisebridge -- NOISEBRIDGE-MIB DEFINITIONS ::= BEGIN IMPORTS enterprises FROM RFC1155-SMI; noisebridge OBJECT IDENTIFIER ::= { enterprises 33792 } noisebridge-door OBJECT IDENTIFIER ::= { noisebridge 1 } noisebridge-door-status OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The status of the door at noisebridge: either open(1) or closed(0)." REFERENCE "The door probe on voltron" ::= { noisebridge-door 1 } noisebridge-traps OBJECT IDENTIFIER ::= { noisebridge 100 } noisebridge-door-trap TRAP-TYPE ENTERPRISE noisebridge-traps VARIABLES { noisebridge-door-status } DESCRIPTION "This trap means the status of the door at noisebridge has changed." REFERENCE "CoS via the door probe on voltron" ::= 1 END