Jesus M. Salvo Jr. | 1 Feb 2005 03:12

Re: [opennms-discuss] Timeoffset Incorrect on 1.14

Jesus M. Salvo Jr. wrote:

> DJ Gregor wrote:
>
>> There is some history to this, and it looks like I might have goofed 
>> when I switched the data type in the table definitions to "timestamp 
>> without time zone" from "timestamp".
>>
>> The table definitions used to say just "timestamp", however this is 
>> interpreted differently starting with PostgreSQL 7.3.  Prior to 7.3, 
>> "timestamp" meant "timestamp with time zone" and starting with 
>> PostgreSQL 7.3 "timestamp" mean "timestamp without time zone".
>>
>> The way I think it currently works is that the time is stored in the 
>> local time.  I don't know why you'd see the one hour difference.
>>
>> Please open up a bug (http://bugzilla.opennms.org/) and assign it to 
>> me (dj <at> opennms.org) and I'll take a closer look at this problem.  
>> Please include as many details as possible, including the information 
>> you initially sent to the list, as well as your time zone and your 
>> offset from the time zone.  
>
>
>
> I have opened a bug for this one:
>
> http://bugzilla.opennms.org/cgi-bin/bugzilla/show_bug.cgi?id=1079
>
> The important thing to note I guess is that looking at a specific 
> event, the value of the "eventcreatetime" column is actually correct, 
(Continue reading)

Wrolf Courtney | 1 Feb 2005 03:44

[opennms-discuss] OpenNMS Usage Survey

Just wondering who uses what flavors to run their OpenNMS on and similar.

If you mail me directly your answers to the following, I will tabulate and
post.

1) Linux distribution and version
2) Version of OpenNMS (1.1.3, 1.1.4, etc.)
3) Installed from RPM/CVS/source tarball etc.
3) Java SDK version
4) Tomcat source and version
5) CPU, RAM, Hard drive, manufacturer
6) Number of nodes managed
7) Prior NMS, if any (e.g. OpenView Network Node Manager), reason for
changing
8) Anything special or different about installation, major complaints, major 
wins, etc.

Thanks,

Wrolf

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

(Continue reading)

Bill Ayres | 1 Feb 2005 05:10

Re: [opennms-discuss] OpenNMS Usage Survey

On Mon, Jan 31, 2005 at 09:44:24PM -0500, Wrolf Courtney wrote:
> Just wondering who uses what flavors to run their OpenNMS on and similar.
> 
> If you mail me directly your answers to the following, I will tabulate and
> post.
> 
> 1) Linux distribution and version
	Linux onms 2.6.7-osu-2 #1 SMP Mon Jul 19 11:13:27 PDT 2004 i686 GNU/Linux
        Debian unstable

> 2) Version of OpenNMS (1.1.3, 1.1.4, etc.)
	HEAD, usually, unless its broken

> 3) Installed from RPM/CVS/source tarball etc.
	Download from CVS and build from source using debuild

> 3) Java SDK version
	1.4.2_06-b03

> 4) Tomcat source and version
	Apache Tomcat 4.1.30-6
`
> 5) CPU, RAM, Hard drive, manufacturer
	Intel Xeon processor at 2.8GHz/1MB Cache 800MHz FSB, 4G, 36GB RAID 1 w/hot spare, DELL PowerEdge 2850

> 6) Number of nodes managed
	Approx 800

> 7) Prior NMS, if any (e.g. OpenView Network Node Manager), reason for changing
	OpenView Network Node Manager. 
(Continue reading)

Jesus M. Salvo Jr. | 1 Feb 2005 07:07

Re: [opennms-discuss] Timeoffset Incorrect on 1.14


More updates ...

Maybe the problem is in Java's timezone database?

According to zdump:

# /usr/sbin/zdump -v /usr/share/zoneinfo/Australia/Sydney
< ...snip ....>
/usr/share/zoneinfo/Australia/Sydney  Sat Oct 30 15:59:59 2004 UTC = Sun 
Oct 31 01:59:59 2004 EST isdst=0 gmtoff=36000
/usr/share/zoneinfo/Australia/Sydney  Sat Oct 30 16:00:00 2004 UTC = Sun 
Oct 31 03:00:00 2004 EST isdst=1 gmtoff=39600
/usr/share/zoneinfo/Australia/Sydney  Sat Mar 26 15:59:59 2005 UTC = Sun 
Mar 27 02:59:59 2005 EST isdst=1 gmtoff=39600
/usr/share/zoneinfo/Australia/Sydney  Sat Mar 26 16:00:00 2005 UTC = Sun 
Mar 27 02:00:00 2005 EST isdst=0 gmtoff=36000
< ...snip ....>

You see from the above that from 31 Oct 2004, when DST has occured, the 
GMT offset is 39600, which is 11 hours and is correct ( 39600 / 60 / 60 
= 11 ).
However, in Java, the "Australia/Sydney" timezone says ( 
System.out.println( Timezone.getDefault() ):

TimeZone: 
sun.util.calendar.ZoneInfo[id="Australia/Sydney",offset=36000000,dstSavings=3600000,useDaylight=true,transitions=142,lastRule=java.util.SimpleTimeZone[id=Australia/Sydney,offset=36000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=9,startDay=-1,startDayOfWeek=1,startTime=7200000,startTimeMode=1,endMode=2,endMonth=2,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=1]]

... and it says that the offset during DST is still 3600000!!

(Continue reading)

David Hustace | 1 Feb 2005 10:11
Favicon
Gravatar

Re: [opennms-discuss] Timeoffset Incorrect on 1.14


On Jan 31, 2005, at 9:12 PM, Jesus M. Salvo Jr. wrote:
>
> 5) I downloaded the code from CVS, and EventWriter has the following 
> imports:
>
> import org.opennms.netmgt.xml.event.Event;
> import org.opennms.netmgt.xml.event.Header;
> import org.opennms.netmgt.xml.event.Operaction;
>
>
> ... but they don't seem to be anywhere ( not in 
> src/services/org/opennms/netmgt )

These are Castor classes, run the build and look in 
work/castor/org/opennms/netmgt/xml/event/

-David

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

opennms-discuss mailing list

(Continue reading)

Hai Ngo | 1 Feb 2005 15:19
Picon
Favicon

Re: [opennms-discuss] OpenNMS Usage Survey

RH9
1.1.4
RPM
j2sdk1.4.2_05
tomcat4-4.1.18
Dell Poweredge 2500 1CPU 1.2GHZ 512Ram RAID5  3 Hard
Drives- 18GB each
200 nodes for now but could be about 3000+ in the near
future
No prior NMS apps
--- Wrolf Courtney <wrolf <at> wrolf.net> wrote:

> Just wondering who uses what flavors to run their
> OpenNMS on and similar.
> 
> If you mail me directly your answers to the
> following, I will tabulate and
> post.
> 
> 1) Linux distribution and version
> 2) Version of OpenNMS (1.1.3, 1.1.4, etc.)
> 3) Installed from RPM/CVS/source tarball etc.
> 3) Java SDK version
> 4) Tomcat source and version
> 5) CPU, RAM, Hard drive, manufacturer
> 6) Number of nodes managed
> 7) Prior NMS, if any (e.g. OpenView Network Node
> Manager), reason for
> changing
> 8) Anything special or different about installation,
(Continue reading)

Ted Kaczmarek | 1 Feb 2005 15:22
Favicon

RE: [opennms-discuss] ONMS and NAT

On Mon, 2005-01-31 at 11:31 -0500, John Blake wrote:
> That's exactly what I'm seeing. I was just wondering if someone found
> a way around it. I know the ONMS guys are busy so I was thinking of
> trying to figure a way for ONMS to use the ip to poll all info from a
> device, even if the ip is not in the iftable. Basically, anything it
> finds at that ip, associate it to that ip and poll it using that ip.
> 
> 
>  Thanks 
>  John
> 
I would highly recommend you don't go their. The amount of overhead and
dependencies you create will crush you long term. Do whatever it takes
to not have any of your management/aaa/audit/etc boxes natted, trust me
it is worth the effort.

Ted

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
(Continue reading)

John Blake | 1 Feb 2005 15:29

RE: [opennms-discuss] ONMS and NAT


I agree but it's looking like I might not have a choice.
 We'll be monitoring servers at sites that the customer will not allow us a vpn into. They will NAT the info.
 (sounds weird to me cause a VPN outta be more secure but what do I know?)

 Maybe I can state that we'll only be able to ping it and monitor disk usage thresholds and processes. I have a script that does that now.


Thanks
 John


-----Original Message-----
From: Ted Kaczmarek [mailto:tedkaz <at> optonline.net]
Sent: Tuesday, February 01, 2005 9:22 AM
To: opennms-discuss <at> lists.sourceforge.net
Subject: RE: [opennms-discuss] ONMS and NAT

On Mon, 2005-01-31 at 11:31 -0500, John Blake wrote:
> That's exactly what I'm seeing. I was just wondering if someone found
> a way around it. I know the ONMS guys are busy so I was thinking of
> trying to figure a way for ONMS to use the ip to poll all info from a
> device, even if the ip is not in the iftable. Basically, anything it
> finds at that ip, associate it to that ip and poll it using that ip.
>
>
>  Thanks
>  John
>
I would highly recommend you don't go their. The amount of overhead and
dependencies you create will crush you long term. Do whatever it takes
to not have any of your management/aaa/audit/etc boxes natted, trust me
it is worth the effort.

Ted








-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

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

Rick Hayter | 1 Feb 2005 15:58

[opennms-discuss] event notification rules?

I'm trying to prevent notification of events for specific servers/services
at specific times.

Example: I've got a server that automatically reboots every morning at 5AM.
I don't want to be notified of the outage from say 5-5:30AM, but I DO want
to be notified of outages at any other time.

Is there syntax available in event notification rules dealing with time? Or
some other way to accomplish the same thing?

Thanks for your help,
--
Rick Hayter, Dir. Admin. Computing, University of Dallas
1845 E. Northgate, Irving, TX 75062, 972-721-5363
<private key: rhayter <at> acm.org at pgp.mit.edu>

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

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

Nicholson, Kevin C. | 1 Feb 2005 16:15

RE: [opennms-discuss] event notification rules?


I believe you can define outages in $OPENNMS_HOME/etc/poll-outages.xml

<?xml version="1.0"?>
<outages>
<!--
        <outage name="global" type="weekly">
                <time day="sunday" begins="12:30:00" ends="12:45:00"/>
                <time day="sunday" begins="13:30:00" ends="14:45:00"/>
                <time day="monday" begins="13:30:00" ends="14:45:00"/>
                <time day="tuesday" begins="13:00:00" ends="14:45:00"/>
                <interface address="192.168.0.1"/>
                <interface address="192.168.0.36"/>
                <interface address="192.168.0.38"/>
        </outage>
-->
</outages>

-Kevin

-----Original Message-----
From: opennms-discuss-admin <at> lists.sourceforge.net [mailto:opennms-discuss-admin <at> lists.sourceforge.net] On Behalf Of Rick Hayter

Sent: Tuesday, February 01, 2005 8:59 AM
To: Opennms-Discuss (E-mail)
Subject: [opennms-discuss] event notification rules?

I'm trying to prevent notification of events for specific servers/services
at specific times.

Example: I've got a server that automatically reboots every morning at 5AM.
I don't want to be notified of the outage from say 5-5:30AM, but I DO want
to be notified of outages at any other time.

Is there syntax available in event notification rules dealing with time? Or
some other way to accomplish the same thing?

Thanks for your help,
--
Rick Hayter, Dir. Admin. Computing, University of Dallas
1845 E. Northgate, Irving, TX 75062, 972-721-5363
<private key: rhayter <at> acm.org at pgp.mit.edu>



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

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