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 - Yarda

#1
Hello geeks,

To your knowledge, is there an easy way how to generate WAR file out of the webui folder? I know about the eclipse plugin and it works just fine; however, to be able to setup autobuilds performed by Jenkins, I would rather need to generate such stuff right of the command line... Any suggestions?

Thank you for your time and advices.

Yarda.
#2
Thank you, Y.
#3
General Support / Re: Creating my own nxmc skin
December 13, 2012, 09:43:58 AM
I currently use Eclipse:

Quote
Eclipse SDK

Version: 4.3.0
Build id: I20120810-1300

... and running the nxmc under it without a problem. I will read the suggested article. Thank you for that.
#4
Well, actually, we are pretty far in planning to buy a license of NetXMS to use it in commercial sphere. 8)
#5
Hello geeks,

I have the following question. Does NetXMS support some kind of licensing mechanism for let say the number of monitored devices? I mean, I would like to restrict my end customer to be able to monitor only a certain number of devices/types of devices and if they want to add more for what they've purchased the license, an error message pops-up and they cannot until they get back to me and get a new license file placed on their server side.

We sell specific devices and would like our customers to pay for the number of devices they can monitor.

Thank you,
Y.
#6
General Support / Creating my own nxmc skin
December 11, 2012, 04:43:39 PM
Hello geeks. If I touch webui/webapp/Core/theme/classic.css I can easily change colors in the web client. I am trying to achieve style changes for the 'thick' nxmc... and have no luck. Any boost on that, please?
#7
The $event->... works like a charm. And that seems to cover all my needs. I am a happy hippo.

Will you have any advice also for the previously posted sub-question:

Quote from: Yarda on November 21, 2012, 02:15:33 PM
Also, I noted, and cannot explain it myself (yet), that when I generate my alarms, I have CRITICAL, MAJOR, MINOR and NORMAL all triggered by one "NORMAL" event, only sometimes I get change of the node's status.

Only sporadically (but not rarely :)) I see the following events in the Event Monitor:

Major   SYS_NODE_MAJOR   Node status changed to MAJOR
Critical   SYS_NODE_CRITICAL   Node status changed to CRITICAL
Warning   SYS_NODE_WARNING   Node status changed to WARNING
Normal   SYS_NODE_NORMAL   Node status changed to NORMAL

Thank you,
Yarda.
#8
If my script contains:

return "HELLO";

...I get this string properly in my alarm's message.

In case of your suggested code that I simplified (for test purposes) down to:

return "HELLO" . $3;

I get:


Script (CodeToText) execution error: Error 5 in line 1: Invalid operation with NULL value


...the same failure with any other parameters, like $2, $4, $5, $6 ... Only $1 doesn't complain, cos' it is an empty string.

Definition of my alarm's message follows:


Alarm Card%5 %4: %3 Status: %2, Direction: %8, Port Level: %6, Port Number: %7 %[CodeToText]


Misunderstood your comments?
#9
Also, I noted, and cannot explain it myself (yet), that when I generate my alarms, I have CRITICAL, MAJOR, MINOR and NORMAL all triggered by one "NORMAL" event, only sometimes I get change of the node's status.

Only sporadically (but not rarely :)) I see the following events in the Event Monitor:

Major   SYS_NODE_MAJOR   Node status changed to MAJOR
Critical   SYS_NODE_CRITICAL   Node status changed to CRITICAL
Warning   SYS_NODE_WARNING   Node status changed to WARNING
Normal   SYS_NODE_NORMAL   Node status changed to NORMAL

#10
I was successful with my configuration of multiple event policies. I've got good feelings. Tho' there is one extension to my situation. Imagine that for some of my numeric trap parameters I need to see a written description in alert's message.

ID parameter is a good example in my case. We have around 100 possible ids... It would be nice to be able to map numbers to some hardcoded/configured string values.

So, I need to go for the hard-core way, at least partially, anyway, don't I...?

What approach would you recommend? I am thinking of tweaking (somehow :)) every relevant trap and adding some special parameter that I can refer to as $(X+1) (where X is the number of properly mapped parameters in my SNMP trap mapping config)...

Thank you for your opinion.

Yarda.
#11
Yes, that's what I meant; in my case where I am gonna generate multiple Alarms out of one Event, I will decide manually what would be their statuses. So that my Event's status is nothing else but only color label in the Event Monitor.
#12
That's promising. Thank you for the cookbook, I'll try your suggestions from the top. Hoping not to reach the hard-core... ;-)

Just a confirmation of my understanding. Every configured Event has a severity, this one will play no role in my scenario, won't it? I am going to set my Event as Normal, to have a lot of relaxing green color in the Event Monitor. :)
#13
Hello geeks,

I've been playing with processing of traps and generation of events and alarms recently. All works as described. Tho', I am facing a situation I am not successful to cover / or even mentally resolve with the basic knowledge of the framework.

For all the possible situations, our lovely device emits traps with the same trap OID and just by analyzing the content of these traps we know what is going on underneath... The device consists of many cards/subcomponents where each can have a different status at the same moment. One of the trap parameters tells exactly the current status of the subcomponent related to the trap... Identification of the subcomponent is another parameter. Of course there are more parameters inside each trap telling more about sub-subcomponents... :) (But these are probably not important at the moment.)

To describe my issue more practically I will say that I need to see in the Alarm browser (for example) that subcomponent A of my monitored device has a "minor" problem, B ~ "minor", C ~ "critical", no problem on D, and so on. Of course when I receive a trap clearing one of the problems, I need to remove its related alarm in NetXMS too (not from the log, of course; just from the list of active alarms.)

I tried to experiment with the Event Processing Policy panel in a way to register a set of policies for my the only one event that is issued upon receiving my special kind of trap.

I even tried to look at the NXSL (for the Filtering script)... whether that is the way to go or not. But that appeared to be a bit above my "101" lesson... :)

Would you have any suggestions for me, please.

Thank you,
Yarda.
#14
General Support / Re: Performance with Custom attributes
November 14, 2012, 10:47:30 AM
One of our businesses is to poll these hundreds of devices every five minutes. Basically, most of the data are numbers. Polling is not critical for DB storage, we do not keep history. Your answer is fair enough, I do not see a problem.

The second important business of ours is of course processing of traps.

And here is a buggy case from our current system:

When we poll statuses and listen to traps, we sometimes face to a situation of losing the proper state due to problem with collision of transactions. Is the state of objects and its propagation to parent objects kept in memory as well? When saying parents I mean artificial objects / logical view on our monitored devices. Typically, we group devices geographically. country (artificial object) -> city (artificial object) -> device (real HW with a driver in NetXMS).

Yarda.
#15
General Support / Performance with Custom attributes
November 13, 2012, 05:50:33 PM
Hello geeks,

This is a design question... We have our own HW that communicates over SNMP. So we created a brand new server driver on the NetXMS side so that it collects all info we need thru "Custom attributes". It works. My concern falls into Performance of such solution. Currently, we are talking about approximately 250 Custom attributes and about approximately hundreds of devices to monitor simultaneously.

Do you have a general idea how such monitoring configuration will work in respect to let say performance of PostgreSQL database? We're currently using an alternative NMS and it is performing not very well when it comes into database.

Would you have a general advice when these "Custom attributes" are the best approach and when we better think about changing/enriching the NetXMS DB model and putting some tables in.

Thank you for advices.

Yarda.