NetXMS Support Forum

English Support => General Support => Topic started by: Billy on February 27, 2013, 02:21:07 PM

Title: About Management Console
Post by: Billy on February 27, 2013, 02:21:07 PM
Hi! Victor,

    In 1.2.6 version,  I find the line's color can be set to based on object status, and I can choose netcard of a swith, but how can I set the color of a netcard according by the data rate?


    Thank you!
   
Title: Re: About Management Console
Post by: Victor Kirhenshtein on February 27, 2013, 02:59:03 PM
Hi!

It's possible, but a bit complicated - you have to create condition object which will change status based on traffic rate on interface, and set this object as the one providing color for link on map.

Best regards,
Victor
Title: Re: About Management Console
Post by: Billy on February 28, 2013, 05:09:34 AM
Hi, Victor
  I created a condition named "threshmonitor1" in "Infrastructure Services",  and set the properties, including "Events and Status"  and "Data".
In "Events and Status" , I set "Activation event" to SYS_TRESHOLD_REACHED" , set "Deactivation event" to SYS_THRESHOLD_REARMED", and set "Source object for events" to the swith which I want to monitor. Then, I set the Color of a line between two nodes, choosing "Based on object status" to "threshmonitor1",
although the Alarm of threshold value predefined poped up, the Color of the line didn't changed(Always Blue).

Please tell me what's the matter with the configuration? Thank you!


Best Regards
Title: Re: About Management Console
Post by: Victor Kirhenshtein on February 28, 2013, 09:21:53 AM
Hi!

You should create condition script. Condition object don't evaluate thresholds, it has it's own condition evaluation script. Just add simple script like


return $1 > 100;


(change the condition to what you need).

Best regards,
Victor
Title: Re: About Management Console
Post by: Billy on February 28, 2013, 09:45:53 AM
Got it,Thanks
Title: Re: About Management Console
Post by: Billy on February 28, 2013, 11:46:27 AM
Now, the line's color can change by the threshold value, but another question is how to set the interval of condition object? the default interval is too short to monitor in time.