Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: event trigger/alarm

Posted By: Fernando Nunes
Date: Tuesday, 20 December 2011, at 5:32 p.m.

In Response To: Re: event trigger/alarm (FRANK)

Hmmm.... I checked the script. It depends on another one that was written
by someone else (many years ago) and almost re-written by me over the
years... But as of today I cannot supply this second one.
This should be solved in a couple of days. If not, I could change this last
script to avoid the dependence...

Let me try to solve this weird situation... The purpose of this script as I
tried to explain it to act on online.log messages after configuring this on
a simple config script.
The script I'm trying to obtain permission to distribute is a script that
allows us to change the instance on a machine that has more than one (and
that changes the INFORMIX variables accordingly). So, I think this and
other scripts I have could benefit the community and I'm working on trying
to make them available (most customers where I've been already have them
somewhere).

The config script looks like:

#-----------------------------------------------------------------------------------------------------------------------------------
# Field description:
# 1-Online log
msg|2-alarm_class_id|3-alarm_severity|4-alarm_class_msg|5-function|6-alarm_send|7-IDS
versions
#-----------------------------------------------------------------------------------------------------------------------------------
#Checkpoint Completed|900|1|Checkpoint completed|ix_checkpoint|Y|:7:9:10:|
Client host or user|901|3|Connect fail - User not trusted||Y|:7:9:10:|
password is not correct for the database server|901|3|Connect fail - Bad
password||Y|:7:9:10:|
Archive started|902|2|Archive Started||Y|7:9:10:|
Dynamic Server Started|903|3|Engine started||Y|:7:9:10:|
Dynamic Server Stopped|903|3|Engine stopped||Y|:7:9:10:|
Quiescent Mode|903|3|Engine entered Quiescent Mode||Y|:7:9:10:|
On-Line Mode|903|3|Engine entered On-Line Mode||Y|:7:9:10:|
KAIO: out of OS resources|904|4|Kaio out of OS resources||Y|:7:9:10:|

#-----------------------------------------------------------------------

So, for example, when a "KAIO*" message appears I call the alarm program
with class_id = 904 (which I customized in the script), severity 4,
class_msg = "Kaio out of OS resources", and it works for versions 7, 9, 10
(11: should be added). Optionally it could call a funcion specified in the
5th column and defined in another shell script that's loaded by the main
one (so that you can run very specific commands for each particular
situation if needed)

So, this is completely configurable and allows you to easily trap whatever
our R&D did not decide to call the alarm program for.

Another (simpler?) option would be to set ALRM_ALL_EVENTS in ONCONFIG, but
my experience with that was not very good (but it was long ago, and I can't
exactly remember the problems - if any - besides the obvious one: two many
messages)

Regards.

On Tue, Dec 20, 2011 at 6:36 PM, FRANK <yunyaoqu@gmail.com> wrote:

> Fernando,
>
> Thanks a lot! it is great if you can send me your script. I am not
> rushing, any time is good.
>
> Thanks again,
> Frank
>
> On Tue, Dec 20, 2011 at 12:01 PM, Fernando Nunes <domusonline@gmail.com
> >wrote:
>
> > I'm not sure if the changes in the alarms made recently have changed
> this.
> > In the past I have created a shell script that constantly monitors (with
> a
> > tail -f, not pooling) the online.log and can be configured to act on
> > specified messages (regular expressions if I remember well).
> >
> > This script can be configured to call alarmprogram, which I normally
> > costumize so that it recognizes more (customized) events.
> > The advantage of doing that is that the configuration made once for the
> > alarms (SMS, email, syslog etc.) will work for all events.
> >
> > I can provide the script if you don't find a better solution. How fast
> > would you need this?
> >
> > (Eric: If you're reading this, we must talk! :) )
> > Regards
> >
> > On Tue, Dec 20, 2011 at 4:47 PM, FRANK <yunyaoqu@gmail.com> wrote:
> >
> > > Hi, Folks,
> > >
> > > IDS11.50 FC8, Redhat Linux.
> > >
> > > I am going to narrow down which job peoridically caused IDS to add new
> > > memory segments.
> > >
> > > Basically, the plan is, whenever IDS is adding a new memory segment(
> > > as in the attached online log messge) , the event will trigger my
> > > script to take a snapshot of all current jobs running in IDS.
> > >
> > > My question is how to determine this event in the alarm script? Any
> > > other good choices?( like a sensor.....)
> > >
> > > Thanks,
> > > Frank
> > >
> > > 03:10:23 Maximum server connections 299
> > > 03:10:23 Checkpoint Statistics - Avg. Txn Block Time 0.001, # Txns
> > blocked
> > > 9, Plog used 8827, Llog used 102989
> > > 03:12:02 Dynamically allocated new virtual shared memory segment (size
> > > 32768KB)
> > > 03:12:02 Memory sizes:resident:3327048 KB, virtual:3313540 KB, no
> > SHMTOTAL
> > > limit
> > > 03:15:23 Logical Log 17698 Complete, timestamp: 0x584eb4c3.
> > >
> > > --0015174ff3d497118004b488d3c9
> > >
> > >
> > >
> > >
> >
> >
>
> *******************************************************************************
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> > >
> >
> > --
> > Fernando Nunes
> > Portugal
> >
> > http://informix-technology.blogspot.com
> > My email works... but I don't check it frequently...
> >
> > --00248c7691360936ac04b4890374
> >
> >
> >
> >
>
> *******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --001636eeffdb59739804b48a593b
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...

--00248c7691362e8ac404b48da4f7

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.