Re: [U2] Any nagios plug-ins for UV?

2010-01-22 Thread Kevin King
I've done a couple of PHP scripts to plug into Nagios but not to integrate with UD/UV. What kind of check_ behavior are you looking for? I'm not sure much is going to be possible as far as pinging UD/UV without actually launching a session. On Wed, Jan 13, 2010 at 8:44 PM, Robert Porter

[U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread Graham, Dave
Does anyone recall the ability to compare two DIMensioned arrays as follows? DIM ARRAY1(10) DIM ARRAY2(10) MAT ARRAY1 = '' MAT ARRAY2 = '' . . . IF MAT ARRAY1 = MAT ARRAY2 THEN dosomething ELSE dosomethingelse I could have sworn that I used to do that on some PICK variant or

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread Kevin King
I seem to recall having done that decades ago as well... possibly on a Reality system? On Fri, Jan 22, 2010 at 8:47 AM, Graham, Dave dgra...@storis.com wrote: Does anyone recall the ability to compare two DIMensioned arrays as follows? DIM ARRAY1(10) DIM ARRAY2(10) MAT ARRAY1 = ''

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread Dianne Ackerman
Yes, I definitely used to do it on a Reality system. Nice feature. -Dianne Kevin King wrote: I seem to recall having done that decades ago as well... possibly on a Reality system? On Fri, Jan 22, 2010 at 8:47 AM, Graham, Dave dgra...@storis.com wrote: Does anyone recall the ability to

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread John Woollam
Nope We use Universe 10.1 at present in REALITY flavour and a trial program with your code does not compile. I recall that you can do MAT ARRAY1 = MAT ARRAY2 as an assignment, but to compare the two arrays you would have to MATBUILD both to dynamic arrays and compare those John Woollam |

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread George Gallen
Can you do a MATBUILD to two dynamic arrays, then compare the two dynamic arrays as a workaround? VS looping through the arrays and comparing element to element? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread Graham, Dave
There are all kinds of workarounds possible - I just was writing a bit of code and that construct flowed off of my fingers without me really paying attention to it. When the compiler complained about it I started thinking that I knew I had done that someplace before and thus the question. The

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread Jeff Fitzgerald
I haven't tested on UDT but in UV you can do lots of math stuff on arrays directly, without using MAT, like this: IF ARRAY1 = ARRAY2 THEN something ELSE somethingelse Or ARRAY3 = ARRAY1 + ARRAY2 Etc, etc, UV is pretty smart about knowing what to do. Jeff Fitzgerald Fitzgerald Long, Inc.

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread Graham, Dave
UDT in PICK flavor won't even compile a statement like: IF AARAY1 = ARRAY2 THEN... -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Fitzgerald Sent: Friday, January 22, 2010 11:52 AM To: U2 Users List Subject:

Re: [U2] Any nagios plug-ins for UV?

2010-01-22 Thread Robert Porter
That was actually my question... has anyone already created cool check_ routines they're using. Not one to re-invent the wheel if I don't need to. I have already written connection pieces for the nagios server to execute a routine inside of UV that will let me check application states. We

Re: [U2] Any nagios plug-ins for UV?

2010-01-22 Thread Jeff Schasny
I've been mulling what one could use as a sign of Universe being alive and all I can come up with (on Unix/Linux anyway) is the presence of the uvdlockd daemon. Anyone have any other ideas? Robert Porter wrote: That was actually my question... has anyone already created cool check_ routines

Re: [U2] Any nagios plug-ins for UV?

2010-01-22 Thread Michael Pflugfelder
I usually look for existence the main shared memory segment: ipcs -m | grep 0xacec, but that doesn't necessarily mean that Universe is responding. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread Baker Hughes
Dave, This is just the sort of enhancement that users can now suggest/request through the Better and Better workgroup of the U2UG. You could go to the Better and Better website http://109.104.64.69/db/dbweb.asp and enter the request. Bug fixes / enhancement requests are then triaged by the BB

Re: [U2] Comparing two DIMsnsioned arrays

2010-01-22 Thread fft2001
In a message dated 1/22/2010 1:26:00 PM Pacific Standard Time, baker.hug...@mouser.com writes: _http://109.104.64.69/db/dbweb.asp_ (http://109.104.64.69/db/dbweb.asp) An exposed IP address ? Why ? Will Johnson ___ U2-Users mailing list

Re: [U2] Any nagios plug-ins for UV?

2010-01-22 Thread John Hester
There is also a memory segment you can look at along with unirpcd and the spooler daemon. This is what's in the shell script that's plugged into our HA cluster software for restarting UV after a failover: - # See if UV is running already PSARGS=ax olist=`/bin/su root -c /usr/bin/ipcs -s|grep