Jeff Gehlbach | 1 Apr 2008 01:56
Favicon

Re: [opennms-discuss] Invalid byte sequence for encoding "UNICODE": 0x00"

On Mar 31, 2008, at 2:30 PM, Andrew Melton wrote:
> As for the RFC-2271, I had discuss with someone from OpenNMS (Tarus  
> maybe) a few months ago and we determined that the device generating  
> the traps was sending the timestamps along with a display-hint as to  
> how to display the value.  Otherwise, the dateandtime is sent as an  
> octet string of which certain values seem to violate the postgres  
> format.

The DISPLAY-HINT is only in the MIB definition, not in the trap PDU.

> Here is a snippet from one of the imported MIBs for this device  
> regarding dateandtime:
>
> DateAndTime ::= TEXTUAL-CONVENTION
>     DISPLAY-HINT    "2d-1d-1d,1d:1d:1d.1d,1a1d:1d"
> <snip>
>     SYNTAX          OCTET STRING (SIZE(8 | 11))

This declaration is from the SNMPv2-TC (textual convention)  
definitions, not from RFC2271 (which defines the SNMP-FRAMEWORK-MIB).

The exception that you are quoting in your log output is in Notifd,  
which does not handle traps directly.  The handling of traps is done  
in Trapd, which turns them into events (handled by Eventd).  Notifd  
acts on events that match user-defined criteria.  This means that the  
exception is two levels of processing removed from the reception of  
the SNMP trap.

Can you capture one of these traps to a PCAP file using tcpdump?  Be  
sure to set the option "-s 0" so that the datagram does not get  
(Continue reading)

Jeff Gehlbach | 1 Apr 2008 02:05
Favicon

Re: [opennms-discuss] Monitoring workstations?

On Mar 31, 2008, at 1:52 PM, John McMonagle wrote:
> OK they are no longer in the in the middle chart of home.
>
> Can they be exluded from "Nodes with Outages" on the left side of  
> Home?

No, that list spans all nodes.

-jeff

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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

shahid iqubal | 1 Apr 2008 06:16
Picon
Favicon

[opennms-discuss] How to draw the links between the two nodes in map enabled view

Hi All;

I am running OpenNMS 1.3.9 on windows platform.

I would like to know how to draw the links/ lines between the two nodes in map enabled view without enabling linkd services.

Because previously, when i enabled linkd it started to draw the line between the nodes automatically but at the same time, it detect all the  devices connected ffrom the layer 2 switches such Pcs , printer etc which i do not want to monior and the database becomes very huge.

I would like to know whether OpenNms is having the feature to manually draw the links between the two nodes. if so then pls let me know how to do it.

Thanks and Rgards,
Shahid iqubal

Coolhotmail : Board of the same old Email ID’s? Get a unique one here. Try it now!
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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
Guillaume Gros | 1 Apr 2008 13:55
Picon
Favicon

[opennms-discuss] snmp trap generated from opennms

Hello,

It's about notification.
I am trying to send snmp traps from opennms to another server.
It works fine...
The problem is I can't find a way to send in the var bind, a parameter 
saying if the problem is resolved or not...
For example, when we use the mail, for the notification, opennms adds a 
RESOLVED at the beginning of the email subject, so we can know...

According to the doc (http://www.opennms.org/index.php/Event_substitutions),
there is no parameter we can specified... but is there any way ??? :)

This is the notification part, for the SNMP trap :

 <notification name="trap SNMP" status="on" writeable="yes">
        <uei xmlns="">uei.opennms.org/nodes/nodeLostService</uei>
        <description xmlns="">validate snmp trap</description>
        <rule xmlns="">CategoryName == "essai"</rule>
        <destinationPath xmlns="">SNMP-Notifier</destinationPath>
        <parameter name="trapVersion" value="v2c"/>
        <parameter name="trapTransport" value="UDP"/>
        <parameter name="trapHost" value="xxx.fr"/>
        <parameter name="trapPort" value="162"/>
        <parameter name="trapCommunity" value=""/>
        <parameter name="trapEnterprise" value=".1.3.6.1.4.1.5813"/>
        <parameter name="trapGeneric" value="6"/>
        <parameter name="trapVarbind" value="%nodelabel%"/>
</notification>

kind regards

Guillaume

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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

Jeff Gehlbach | 1 Apr 2008 15:07
Favicon

Re: [opennms-discuss] snmp trap generated from opennms

On Apr 1, 2008, at 6:55 AM, Guillaume Gros wrote:
> According to the doc (http://www.opennms.org/index.php/Event_substitutions 
> ),
> there is no parameter we can specified... but is there any way ??? :)

How about %uei% ?

-jeff

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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

Guillaume Gros | 1 Apr 2008 15:26
Picon
Favicon

Re: [opennms-discuss] snmp trap generated from opennms

Jeff Gehlbach wrote:
> On Apr 1, 2008, at 6:55 AM, Guillaume Gros wrote:
>> According to the doc 
>> (http://www.opennms.org/index.php/Event_substitutions),
>> there is no parameter we can specified... but is there any way ??? :)
>
> How about %uei% ?
Nop, the %uei% is the same no matter
if the trap is "the resolved one", the uei is also 
"uei.opennms.org/nodes/nodeLostService"

Guillaume

>
> -jeff
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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

Tarus Balog | 1 Apr 2008 16:21
Favicon

Re: [opennms-discuss] How to draw the links between the two nodes in map enabled view


On Apr 1, 2008, at 12:16 AM, shahid iqubal wrote:
> I am running OpenNMS 1.3.9 on windows platform.
>
> I would like to know how to draw the links/ lines between the two  
> nodes in map enabled view without enabling linkd services.

There is not a way to do this at the moment.
>
>
> Because previously, when i enabled linkd it started to draw the line  
> between the nodes automatically but at the same time, it detect all  
> the  devices connected ffrom the layer 2 switches such Pcs , printer  
> etc which i do not want to monior and the database becomes very huge.
>
> I would like to know whether OpenNms is having the feature to  
> manually draw the links between the two nodes. if so then pls let me  
> know how to do it.

I'm not sure when it was added, but you can try to add

auto-discovery = false

as an attribute in your linkd-configuration.xml file and it won't  
discover anything. It is currently false by default in 1.5.90.

-T
_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Email: tarus <at> opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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

Jeff Gehlbach | 1 Apr 2008 16:49
Favicon

Re: [opennms-discuss] snmp trap generated from opennms

On Apr 1, 2008, at 8:26 AM, Guillaume Gros wrote:
> Nop, the %uei% is the same no matter
> if the trap is "the resolved one", the uei is also
> "uei.opennms.org/nodes/nodeLostService"

It occurs to me that you probably don't want auto-acknowledgements  
when using SNMP traps -- instead you would want to set auto-notify to  
"off" for the trap-generating destination path, and set up a  
notification definition for nodeRegainedService events.

-jeff

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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 Scamehorn | 1 Apr 2008 19:32

Re: [opennms-discuss] SNMP Resource Graphs


I finally figure this out...

I am running into the 32bit rollover bug in net-snmp.

My ssCpuRawIdle counter is stuck at 2^32-1.  This makes it look like my
machines have no idle time....

As Jeff explained, the CPU Stats graph is using Idle time:  hence, 100%
usage.

-----Original Message-----
From: opennms-discuss-bounces <at> lists.sourceforge.net
[mailto:opennms-discuss-bounces <at> lists.sourceforge.net] On Behalf Of Jeff
Gehlbach
Sent: Thursday, March 27, 2008 9:22 AM
To: General OpenNMS Discussion
Subject: Re: [opennms-discuss] SNMP Resource Graphs

On Mar 27, 2008, at 9:57 AM, Aaron Scamehorn wrote:
> I understand that, but they are displaying the same values (in
> particular, CPU Usage).  The problem I'm seeing is the values that  
> they
> are displaying in the graphs disagree.  In other words, on the CPU  
> Usage
> graph, I see values between 20-60% usage.  On the CPU Stats graph,
> Utilization is dark red, indicating 91-100% usage.

The "CPU Usage" graph definition pulls in more data sources than the  
"CPU Statistics" one:

report 
.netsnmp 
.cpuUsage 
.columns 
= 
CpuRawInterrupt 
,CpuRawUser,CpuRawWait,CpuRawNice,CpuRawSystem,CpuRawKernel

report 
.netsnmp 
.cpuStats 
.columns 
= 
loadavg1 
,loadavg5,loadavg15,CpuRawUser,CpuRawSystem,CpuRawIdle,CpuRawNice

If you remove the loadavg* data sources from the cpuStats graph,  
you're left with CpuRawUser,CpuRawSystem,CpuRawIdle,CpuRawNice, which  
means that this graph does not include the CpuRawInterrupt,  
CpuRawWait, or CpuRawKernel.  Also, the cpuUsage graph does not  
include CpuRawIdle.

This sounds terribly inconsistent, but the reason these reports are  
defined the way they are is that there are significant differences in  
the stats that the Net-SNMP provides across different agent versions  
and different OS kernel versions.  There's a wiki article that goes  
into some detail on this subject:
http://www.opennms.org/index.php/Net-snmp_5.3_CPU_collections 
.

These graph definitions could probably stand updating.  Any volunteers?

-jeff

------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
_______________________________________________
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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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

Byron Anderson | 1 Apr 2008 20:14

Re: [opennms-discuss] Distributed Poller Setup Problems

Are there any other ports that need to be opened that could be causing this disconnect to occur?  It seems like it is almost working properly, just need the remote poller to be able to continuously communicate back to the NMS.

 

-------------------------------------------

Byron Anderson

Network OperationsCenter Manager

EasyStreet Online Services

www.easystreet.com

 

From: opennms-discuss-bounces <at> lists.sourceforge.net [mailto:opennms-discuss-bounces <at> lists.sourceforge.net] On Behalf Of Byron Anderson
Sent: Monday, March 31, 2008 12:07 PM
To: General OpenNMS Discussion
Subject: Re: [opennms-discuss] Distributed Poller Setup Problems

 

I should note that my workstation that is set to be the remote poller is a Windows system.  Also, if I launch the OpenNMS Remote Poller application it looks like it refreshes it’s status with the management server but eventually disconnects again for not checking in.

 

I have verified that my workstation can connect to both TCP port 1099 and 1199 on the management server.

 

-------------------------------------------

Byron Anderson

Network OperationsCenter Manager

EasyStreet Online Services

www.easystreet.com

 

From: opennms-discuss-bounces <at> lists.sourceforge.net [mailto:opennms-discuss-bounces <at> lists.sourceforge.net] On Behalf Of Byron Anderson
Sent: Monday, March 31, 2008 11:45 AM
To: General OpenNMS Discussion
Subject: [opennms-discuss] Distributed Poller Setup Problems

 

I am working on setting up a distributed poller for testing.  I have managed to get through most of the setup without many problems.  I am using my desktop as the remote poller and have been able to register it as a remote poller via the WebStart registration method.  The machine then appears as a location monitor on the management server.  The problem is that the status eventually becomes “disconnected” as it doesn’t ever seem to check in with the management server.

 

Any suggestions on what could be the cause of this?  As best I am aware both TCP ports 1099 and 1199 have been allowed through all necessary firewalls although I am re-checking this.

 

Thanks in advance for any help!

 

-------------------------------------------

Byron Anderson

Network OperationsCenter Manager

EasyStreet Online Services

www.easystreet.com

 

 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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