Robert Drake | 1 May 01:13 2009

Re: snmp ipaddrtable buggy packets


Tom Higgins(tom <at> epochlabs.com.au) <at> 2009-05-01 08:34:40 +1000:
>    Hi guys...
>    Seeing that I can reproduce this across 5 different servers I am sure that
>    I am not the only one having this issue.
>    The machines are all running Ubuntu 8.04 server and net-snmp 5.4.1

I'm running a couple of Ubuntu machines and a bunch of debian, the only
problem I've had with making net-snmp work is that it's not properly
detecting interface speed, so it's falling back to 10Mb on all of them.

#com2sec paranoid  default         public
com2sec readonly  default         hithere

Thats the only change I make to the stock snmpd.conf. Are you doing
anything more extensive?

Thanks,
Robert

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

(Continue reading)

Tom Higgins | 1 May 02:01 2009
Picon

Re: snmp ipaddrtable buggy packets

Hi Robert,
I'm actually making it even more simple than that...
here is my /etc/snmp/snmpd.conf file and /etc/default/snmp file... it's all very strange :S

rocommunity epoch 172.10.239.0/24

disk /
root <at> draco:/etc/snmp# cat /etc/default/snmpd
# This file controls the activity of snmpd and snmptrapd

# MIB directories.  /usr/share/snmp/mibs is the default, but
# including it here avoids some strange problems.
export MIBDIRS=/usr/share/snmp/mibs

# snmpd control (yes means start daemon).
SNMPDRUN=yes

# snmpd options (use syslog, close stdin/out/err).
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'
# 127.0.0.1'

# snmptrapd control (yes means start daemon).  As of net-snmp version
# 5.0, master agentx support must be enabled in snmpd before snmptrapd
# can be run.  See snmpd.conf(5) for how to do this.
TRAPDRUN=no

# snmptrapd options (use syslog).
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'

# create symlink on Debian legacy location to official RFC path
SNMPDCOMPAT=yes


Tom Higgins
Epoch Labs
p: 03 8320 1000
w: www.epochlabs.com.au


----- Original Message -----
From: "Robert Drake" <rdrake <at> direcpath.com>
To: "General OpenNMS Discussion" <opennms-discuss <at> lists.sourceforge.net>
Sent: Friday, 1 May, 2009 9:13:15 AM GMT +10:00 Canberra / Melbourne / Sydney
Subject: Re: [opennms-discuss] snmp ipaddrtable buggy packets



Tom Higgins(tom <at> epochlabs.com.au) <at> 2009-05-01 08:34:40 +1000:
>    Hi guys...
>    Seeing that I can reproduce this across 5 different servers I am sure that
>    I am not the only one having this issue.
>    The machines are all running Ubuntu 8.04 server and net-snmp 5.4.1

I'm running a couple of Ubuntu machines and a bunch of debian, the only
problem I've had with making net-snmp work is that it's not properly
detecting interface speed, so it's falling back to 10Mb on all of them.

#com2sec paranoid  default         public
com2sec readonly  default         hithere

Thats the only change I make to the stock snmpd.conf. Are you doing
anything more extensive?

Thanks,
Robert

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Denis Jedig | 1 May 12:14 2009
Picon

How to deal with dynamic interfaces

Hi list,

while configuring data collection for linux-based devices with net-snmpd, I
noticed that dynamic interfaces like the ones created by pppd tend to go
down and reappear with a different interface number and a different IP
address (if no static IP adressing has been negotiated with the ISP) on
each connection re-establishment. This leads to "new" interfaces discovered
and the "old" ones being reported as down / outage.

Is there any easy way to deal with this? Even when I exclude the interfaces
from data collection and "unmanage" all the services they are rediscovered
on the "new" interface after the next reconnect.

-- 
Denis Jedig
syneticon networks GbR             http://syneticon.net/service/

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Robert Drake | 1 May 12:38 2009

Re: Cisco 6509s not being properly linked

Sean Carolan(scarolan <at> gmail.com) <at> 2009-04-30 11:12:55 -0500:
> 
> No, the management interface that we use to poll the device is on a
> completely different vlan.  I know the data is in there though,
> because when I poll with SNMP I am able to see some MAC addresses
> associated with various ports.  I've tried both "public" and
> "public <at> 200" for the community string but no luck either way.
> 

Mine was blank too, so I started wondering how this got built and looked
for it.

Here are the SQL queries:

SELECT * FROM DATALINKINTERFACE WHERE NODEID = ? AND STATUS != 'D' AND
IFINDEX = ?
SELECT * FROM DATALINKINTERFACE WHERE NODEPARENTID = ? AND PARENTIFINDEX
= ? AND STATUS != 'D' 

So I checked my database and datalinkinterface is completely blank.  I'm
seeing the same thing on 1.7.  It appears that I just never configured
it.

Looking further, all this is handled by linkd.

The configuration for it looks like this:

       <vendor vendor_name="cisco" sysoidRootMask=".1.3.6.1.4.1.9"
                class-name="org.opennms.netmgt.linkd.snmp.CiscoVlanTable">
	    <!-- This is the oid for 6509 and should already be in your file -->
            <specific>1.283</specific>

Later in the file:

    <package name="LAN" use-ip-route-discovery="false">
                <filter>IPADDR != '0.0.0.0'</filter>
                <include-range begin="10.1.1.1" end="10.1.1.254"/>
    </package>
        <!-- here is a configuration valid on WAN where linkd try to get
             links using cisco discovery protolol first and then routers
ip route tables -->
         <!--
    <package name="WAN" use-bridge-discovery="false">
                <filter>IPADDR != '0.0.0.0'</filter>
                <include-range begin="10.1.1.1" end="10.1.1.254"/>
    </package>

(and a couple of other options)

My guess is that these are very resource intensive, but you may want to
figure out which one fits you and turn it on.  

Thanks,
Robert

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Tom Powers | 1 May 15:55 2009

Is there a way....

Hello all,
 
Does anyone have a quick and easy way to acknowledge all notifications?  There is acknowledge all events, and alarms in the gui...but the notifications are page by page, 25 at a time.
 
Sometimes we get an event with notification that goes nuts and these are a pain to clear out.
 
So all help is apprciated.
 
Thanks

Tom Powers
 
1.62 opennms on Ubuntu 8.04
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Paul Mona | 1 May 16:13 2009

Re: Is there a way....

A bit of a hack, but,  You can add this to the end of the url in the address bar -     &limit=1000     or what ever is greater than the number of notifications you have and it will load them all on one page.  Then just select all and ack.

From: Tom Powers [mailto:tomp <at> sound-solutions.biz]
Sent: Friday, May 01, 2009 6:56 AM
To: opennms-discuss <at> lists.sourceforge.net
Subject: [opennms-discuss] Is there a way....

Hello all,
 
Does anyone have a quick and easy way to acknowledge all notifications?  There is acknowledge all events, and alarms in the gui...but the notifications are page by page, 25 at a time.
 
Sometimes we get an event with notification that goes nuts and these are a pain to clear out.
 
So all help is apprciated.
 
Thanks

Tom Powers
 
1.62 opennms on Ubuntu 8.04
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Aaron Paxson | 1 May 17:47 2009
Picon

Re: slow home page

Are you running regular vacuum commands against the database?

On Thursday, April 30, 2009, Austin Papp <ignorant.labs <at> gmail.com> wrote:
> Community
>
> Just recently I've run into this issue were the "Home" page is extremely slow. It can take upwards of 30+
seconds to load! I'm not talking about the login screen but rather the "Home" page. All other pages are fast
and respond as expected. Has anyone seen this issue? If so, what did you do to remedy this?
>
>
> java version:
>
> java version "1.5.0_16"
> Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
> Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode)
>
> opennms version: version 1.6.1
>
> operating system: SunOS xxxxx 5.10 Generic_137138-09 i86pc i386 i86pc
>
>
> -Austin
>
>
>
>

-- 
Aaron J. Paxson
---------
aaron.paxson <at> gmail.com
http://aaron.thepaxson5.org

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Paul Mona | 1 May 19:14 2009

RT Ticket integration -- Bad link to ticket

 
I have been playing with the RT integration but seem to have something wrong with my configuration.   ONMS opens tickets fine, but it doesn't seem to use the returned ticket id.
 
In opennms.properties I have the following configured:
 
 
 
When I query the DB, it has the RT ticket number in the alarms.tticketid  field.    When  I have an alarm up in the GUI, the link by Ticket Id (upper left) says "org.opennms:opennms-daemon:tgz:1.6.4"    and the url it links to is    http://rt.cp.net/Ticket/Display.html?id=org.opennms:opennms-daemon:tgz:1.6.4
 
It seems to not be substituting in the tticketid stored in the DB -- the URL should be     https://cp.net/Ticket/Display.html?id=394891
 
 
Is my configuration wrong, or is this a problem with ONMS?  I'm running   1.6.4 build 12963
 
 
 
 
 
opennms.properties:
 
opennms.ticketer.plugin=org.opennms.netmgt.ticketer.rt.RtTicketerPlugin
opennms.alarmTroubleTicketEnabled = true
opennms.alarmTroubleTicketLinkTemplate = <a href="http://rt.cp.net/Ticket/Display.html?id=org.opennms:opennms-daemon:tgz:1.6.4">org.opennms:opennms-daemon:tgz:1.6.4</a>
 
 
 
rt.properties:
 
# The base URL of the RT ticketer
 
rt.baseURL=http://rt.cp.net
 
# Credentials used to login to RT - probably best not to use the default!
 
rt.username=opennms
rt.password=password
 
# The queue where the ticket will be raised
 
rt.queue=opennms
 
# The address of the requestor
 
 
################################################################################
# The following settings control the translation of RT ticket States to the
# OpenNMS ticket status when reading ticket details from RT
# You will only need to adjust these if you modify RT status strings.
################################################################################
 
# RT Status strings that will be translated to "OPEN" in opennms
 
rt.validopenstatus=new,open
 
# RT Status strings that will be translated to "CLOSED" in opennms
 
rt.validclosedstatus=resolved
 
# RT Status strings that will be translated to "CANCELLED" in opennms
 
rt.validcancelledstatus=cancelled
 
################################################################################
# The following settings control the translation of the OpenNMS ticket State
# to RT ticket Status when saving or updating tickets.
# You will only need to adjust these if you modify RT status strings.
################################################################################
 
# RT status that will be used when the ticket is opened by opennms
 
rt.openstatus=new
 
# RT status that will be used when the ticket is closed by opennms
 
rt.closedstatus=resolved
 
# RT status that will be used with the ticket is cancelled by OpenNMS
 
rt.cancelledstatus=cancelled
 
# Timeout and retry to be used when connecting to RT
 
rt.timeout=6000
rt.retry=0
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Benjamin Reed | 1 May 19:49 2009

Re: RT Ticket integration -- Bad link to ticket

Paul Mona wrote:
>  
> I have been playing with the RT integration but seem to have something
> wrong with my configuration.   ONMS opens tickets fine, but it doesn't
> seem to use the returned ticket id.
>  
> In opennms.properties I have the following configured:
>  
> opennms.alarmTroubleTicketLinkTemplate = <a
> href="http://rt.cp.net/Ticket/Display.html?id=org.opennms:opennms-daemon:tgz:1.6.4">org.opennms:opennms-daemon:tgz:1.6.4</a
> <http://rt.cp.net/Ticket/Display.html?id=org.opennms:opennms-daemon:tgz:1.6.4">org.opennms:opennms-daemon:tgz:1.6.4</a>>

Thanks for the reminder, this is actually a maven filtering bug that I
need to look at.

Change "org.opennms:opennms-daemon:tgz:1.6.4" into ${id}

I'll take another look at fixing the build to do that properly.

-- 
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Phil Stringer | 1 May 20:03 2009
Picon

Re: slow home page

Aaron Paxson wrote:
> Are you running regular vacuum commands against the database?

It's Solaris so they won't be enabled by default. I had this problem I 
fixed it by finding the instructions in the wiki for tuning Postgres 
which has the details. I'm at home for the bank holiday now so I haven't 
access to my notes.

	phil

> 
> 
> On Thursday, April 30, 2009, Austin Papp <ignorant.labs <at> gmail.com> wrote:
>> Community
>>
>> Just recently I've run into this issue were the "Home" page is extremely slow. It can take upwards of 30+
seconds to load! I'm not talking about the login screen but rather the "Home" page. All other pages are fast
and respond as expected. Has anyone seen this issue? If so, what did you do to remedy this?
>>
>>
>> java version:
>>
>> java version "1.5.0_16"
>> Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
>> Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode)
>>
>> opennms version: version 1.6.1
>>
>> operating system: SunOS xxxxx 5.10 Generic_137138-09 i86pc i386 i86pc
>>
>>
>> -Austin
>>
>>
>>
>>
> 

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss


Gmane