vCenter

 View Only
  • 1.  Monitoring Switches with SNMP

    Posted Jun 29, 2006 05:40 PM
    Hi folks,

    because of the very good support I received here until now, I dare to ask another question. :-)

    I added a "Network Host Interface" for a already monitored switch. Port-monitoring is done by default based on SNMP-value "ifDescr". Unfortunately my switches (all Allied Telesyn) send "IF-MIB::ifDescr.1 = STRING: Allied Telesyn Ethernet Switch".
    I can customize port-descriptions but they are listed under "IF-MIB::ifName.1 = STRING: Port 2". Watch the difference of ifDescr and ifName !
    How can I modify hyperic to use ifName instead of ifDescr to recognize each port?
    Might there be another solution?

    TIA

    Tobias


  • 2.  RE: Monitoring Switches with SNMP

    Broadcom Employee
    Posted Jun 29, 2006 10:11 PM
    We use ifDescr because ifName is only available if the device
    implements the ifXTable (not all do). I have changed the plugin so
    you can choose between ifDescr, ifName, ifAlias and ifIndex:

    http://jira.hyperic.com/browse/HHQ-112

    The interfaces should be auto-discovered, but you can also create
    them by hand if you wish.




  • 3.  RE: Monitoring Switches with SNMP

    Posted Jul 20, 2006 03:33 PM
    I copied the plugin mentioned in HHQ-112 to the two directions mentioned. I tried to restart the agent in vain. I then restarted the server and crashed hypericHQ

    Would like some suggestions...

    [chathfr@nick /]$ /usr/local/hyperic/server-2.7.0/bin/hq-server.sh start
    Starting HQ server...
    Initializing HQ server configuration...
    \WARNING: file was not writeable: /usr/local/hyperic/server-2.7.0/hq-install.log
    Logs will be written to /tmp instead.
    --------------------------------------------------------------------------------
    An ERROR occurred, the installation cannot continue.
    FATAL EXCEPTION at /usr/local/hyperic/server-2.7.0/data/server.xml:74: : Error preparing HQ engine: /usr/local/hyperic/server-2.7.0/hq-engine/server/default/deploy/jbossweb-tomcat55.sar/server.xml (Permission denied)
    --------------------------------------------------------------------------------
    Starting HQ built-in database...
    pg_ctl: could not open PID file "/usr/local/hyperic/server-2.7.0/hqdb/data/postmaster.pid": Permission denied
    cat: /usr/local/hyperic/server-2.7.0/hqdb/data/postgresql.conf: Permission denied
    /usr/local/hyperic/server-2.7.0/bin/hq-server.sh: line 29: /usr/local/hyperic/server-2.7.0/hqdb/data/.postgresql.conf.tmp: Permission denied
    /usr/local/hyperic/server-2.7.0/bin/hq-server.sh: line 30: /usr/local/hyperic/server-2.7.0/hqdb/data/.postgresql.conf.tmp: Permission denied


  • 4.  RE: Monitoring Switches with SNMP

    Posted Jul 20, 2006 05:24 PM
    You're having permissions problems. Looks like you installed HQ as one
    user and are trying to start it as another user that has no perms on the
    necessary files. Check the ownership of all the installed HQ files.