view · edit · attach · print · history

The contents of this website are Copyright (c)2007 by Brian Manning <brian at antlinux dot com>. Please do not reuse any of the content on this website without permission from the author.

Todos

  1. Get a SNMP MIB translator working
  2. Parse incoming SNMP data from one or more hosts
  3. Reformat the data to make it ready to be pulled by devices
  4. Have the device display the data when the client puller application is running on the device
  5. Integration with Nagios? (dump Nagios data and parse into phone's format)

Templates

The template would describe the data that will be downloaded by the mobile device. Maybe two kinds of templates, a host template and a site template. Site template would describe general or common settings, and a host template would describe things that are specific to one host. Each new packet that the mobile device sees, it will have the epoch date of the latest template used to pack the data. If the template date in the incoming packet is newer than the template date stored on the device, the device queues that packet and goes to retrieve the new/updated template.

Notes

  • Good SNMP setup tutorial on linuxhomenetworking
  • hipcheck already does SNMP management on phones (SCO product)
  • Push/pull SNMP data to/from phones using RSS feeds? (as per Milo)
  • Use JSON over HTML to propagate data?
  • Use Java app on a server somewhere to aggregate data and prepare the RSS feed to distribute to clients.
  • Or maybe use a pure Perl app server; is Net::SNMP pure Perl, or is it compiled against the net-snmp libraries?
    • Portamon
    • Portawatcher
  • Once you have snmpd set up, use snmpwalk on the system and interface tables to verify that things are working the way you expect
    • snmpwalk -v2c -c COMMUNITY hostname [system|interface]
  • When a specific machine's data is displayed, change the background/theme of the screen to match that machine's local time
    • sunrise/sunset/twilight
    • moonrise/moonset

Fun MIBs

  • .1.3.6.1.2.1.25.2 HOST-RESOURCES-MIB::hrStorage
  • SNMPv2-MIB::sysUpTime
  • .1.3.6.1.2.1.1.3.0 SNMPv2-MIB::sysUpTime.0
  • .1.3.6.1.2.1.1.4.0 SNMPv2-MIB::sysContact.0
  • .1.3.6.1.2.1.25.2.2.0 HOST-RESOURCES-MIB::hrMemorySize.0
  • .1.3.6.1.2.1.25.2 HOST-RESOURCES-MIB::hrStorage
  • .1.3.6.1.2.1.25.2.3 HOST-RESOURCES-MIB::hrStorageTable
  • .1.3.6.1.2.1.2.2 IF-MIB::ifTable

SNMP::Translate

  • test: can it find the snmptranslate binary?
  • test: is the version of snmptranslate compatable with the module (print the version number as part of the test output)
  • test: translate basic items
    • OID to string
    • string to OID
    • short string to long string
    • long string to short string

SNMP::MIBTranslate

Ideas for external commands

Create a library of external SNMP commands that read program versions, using that programs --version command or similar; this would allow you to create and easily update a database of program versions

  • Apache
    • the apachectl script accepts other arguments besides start/stop/configtest; the -v switch shows a short version string, and -V shows a longer version string; -h will show you all options
  • SSH
  • NetSNMP
  • Operating System and version?
  • S.M.A.R.T. hard drive monitoring tool
  • Other application software versions
view · edit · attach · print · history
Page last modified on April 02, 2008, at 12:41 AM