News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jdlds

#1
General Support / Thresholds dependant on Conditionals
August 31, 2007, 02:03:11 AM
Is it possible to make a threshold for a Data Measure also dependent on a conditional?

For example:
I'm monitoring the AgentStatus on one host, and I want to trigger an alarm if the status changes, but only if a certain conditional (dependent on another host) is true.  I realize I could do all of this using a separate conditional, but it would mean I would have to create a new conditional for every host I needed this for, and I would rather be able to set up something like this in a template. Thanks.

-mike
#2
General Support / getting the name of a node in NXSL
August 24, 2007, 02:14:26 AM
Is there a way to get the name of a node or server in NXSL? 

thanks,
-mike
#3
Hi,

I'm not sure if i understand what the status calculation is for in the condition properties.

Here's what i'm hoping for:

via the script, the result i return (in the range of 0-1?) will impact the severity of the condition and therefore cause the alarm indicator on the left side of the object browser to appear in a different color.

what does the 'propagate status as' and 'calculate status as' configurations do?

thanks,
-mike
#4
General Support / Tranform and Condition Scripts
August 10, 2007, 04:44:06 AM
Hi Guys,

I was wondering if anyone could share a non-trivial script for the DCI transform or the condition.
Based on the formal declaration of NXSL i can only get basic expressions and function calls to work.  If i define a function or use any if, switch statements the script seems to not function.

I imagine that i must be doing something wrong but any help would be appreciated.

For example in the condition script i'm trying to do something like:

if ($1>5) return min($2, $3);

Another issue i've encountered is using the PDH.countervalue for data collection.  This seems to work fine for some counters but not others.

I tried: '\Memory\Committed Bytes' and this seems to work just fine
but when i tried
'\PhysicalDisk(_Total)\Disk Write Bytes/sec' this always returns 0.

if anyone can shed some light on this, that would great.

-mike