Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

Y

Yarda

@Yarda
Unfollow Follow
About
Posts
21
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Generation of WAR from Linux command line
    Y Yarda
    Support

    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.


  • Licensing / restricting the number of monitored devices.
    Y Yarda
    Support

    Thank you, Y.


  • Creating my own nxmc skin
    Y Yarda
    Support

    I currently use Eclipse:

    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.


  • Licensing / restricting the number of monitored devices.
    Y Yarda
    Support

    Well, actually, we are pretty far in planning to buy a license of NetXMS to use it in commercial sphere. 😎


  • Licensing / restricting the number of monitored devices.
    Y Yarda
    Support

    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.


  • Creating my own nxmc skin
    Y Yarda
    Support

    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?


  • One kind of trap that covers dozens of alarms - how to configure
    Y Yarda
    Support

    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:

    @yarda said in One kind of trap that covers dozens of alarms - how to configure:

    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.


  • One kind of trap that covers dozens of alarms - how to configure
    Y Yarda
    Support

    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?


  • One kind of trap that covers dozens of alarms - how to configure
    Y Yarda
    Support

    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


  • One kind of trap that covers dozens of alarms - how to configure
    Y Yarda
    Support

    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.


  • One kind of trap that covers dozens of alarms - how to configure
    Y Yarda
    Support

    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.


  • One kind of trap that covers dozens of alarms - how to configure
    Y Yarda
    Support

    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. 🙂


  • One kind of trap that covers dozens of alarms - how to configure
    Y Yarda
    Support

    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.


  • Performance with Custom attributes
    Y Yarda
    Support

    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.


  • Performance with Custom attributes
    Y Yarda
    Support

    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.


  • Duplication of code in the repository / how to work as developer
    Y Yarda
    Support

    Thank you Victor. The development setup is a bit clumsy (I am saying that without knowing details, just the first impression), however, all works just fine and its sufficient for my evaluation task. Regards, Yarda.


  • Duplication of code in the repository / how to work as developer
    Y Yarda
    Support

    Hello geeks,

    I am still completely new to NetXMS... Tho' I have the Eclipse/RAP environment up and running, all works as I imported existing projects from trunk/webui/webapp into workspace. It is fine. And now trying to prototype a bit...

    I noticed a duplication of source code in the repository.

    For example content of:

    ./webui/webapp/ObjectView/src/org/netxms/ui/eclipse/objectview/objecttabs/helpers/

    is duplicated with

    ./src/java/netxms-eclipse/ObjectView/src/org/netxms/ui/eclipse/objectview/objecttabs/helpers/

    Why is that duplication and what is the developement workflow I should follow?

    I added a brand new "tab" to src/java/netxms-eclipse/ObjectView/src/org/netxms/ui/eclipse/objectview/objecttabs. It compiles from the command line, however, I cannot see that file in my eclipse nor I can debug it. As I said above, I am confused about the code duplication and how should I work as a potential developer when extending the existing code...

    Thank you for your time and advices.

    Yarda.


  • Error initializing component locks table
    Y Yarda
    Support

    Issue resolved:

    there is a great diffirence if you run:

    nxdbmgr -c ../etc/netxmsd.conf init ../share/netxms/sql/dbschema_pgsql.sql
    

    or

    nxdbmgr -c ../etc/netxmsd.conf init ../share/netxms/sql/dbinit_mysql.sql
    

    ...prior running the server.

    (blush)


  • Error initializing component locks table
    Y Yarda
    Support

    I did at the beginning, then I thought UNICODE might be the clue but it did not help either.


  • Error initializing component locks table
    Y Yarda
    Support

    gcc 4.6.3 did not help here.

    gcc -v
    Using built-in specs.
    COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcc
    COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
    Target: x86_64-pc-linux-gnu
    Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --disable-libquadmath --enable-languages=c,c++,objc --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.7, pie-0.5.2'
    Thread model: posix
    gcc version 4.6.3 (Gentoo 4.6.3 p1.7, pie-0.5.2)
    
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups