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

#1
Great, thank you. That works. But now I have other problems. I have had grouped equipment into containers in such way that I put let's say two conditions into container, another two conditions into second container and then put both into a new container to have status propagation and possibility to unmanage the groups. To do similar thing, I created business services and try similar using script DCI threshold check.
The problem is that on false result in script I've got two alarms, one on basic and another on parent business service, and I need only one. Can I somehow disable screen notification (and sound) of parent business service retaining red mark on icon?
The second problem is that alarm is deleted in alarm browser view unlike infrastructure services object alarms, which are kept in alarm browser.
There is also third problem, unmanaging the business service does not stops the alarms?!
#2
Thanks, It looks  promising, but I couldn't find in documentation how to connect scripts with polls. 
When I want to add DCI image, I have to specify DCI in Data source, I cannot select anything else. Which object (connected with my script) I have to create to be able to connect it to DCI image? Or to rephrase, I understood scripts are in Script Library, where I have to call this script to be able to connect with DCI image?
#3
I tried with business services, managed to get something but mostly it is not useful for my purpose. Here I don't see possibility to make script and get result based on DCI values calculation in checks. Condition object was perfect, to bad you are going to remove it.
 
#4
Thank you for the suggestions, but I am not not sure about your options. The problem is that I need to poll from one node let's s say 10 OIDs and get 10 DCI values, and then I need to get value based on calculation of 3 DCI values and then show result of calculation as an image on the map in certain color. Then take another 3 DCI values, make calculation and show on map and so on.  
Your first option shows on map image using only one DCI value, and I am not sure that other two options can do what I want. 
I need some time to figure out business services, but it seems that is is also based on one calculation for each DCI, not group of them. 
#5
Quote from: Filipp Sudanov on December 14, 2022, 06:46:10 PMHi!

Actually, Condition objects are planned for removal in a future version, as there are now other options to do things.
Can you illustrate your use case, what exactly these conditions do and where they take the data?

Thank you, good to hear, now I am not sure if I can use Netxms for my case. It is following:
I need to monitor a number of devices exclusively with SNMP. All I need is to poll OIDs (integers) and depending on calculation using several OIDs on the same device create normal, warning and critical alarm and show on dashboard network map (I need to freely arrange icons) green, yellow and red boxes of each device and "subdevice" (I found floor plan layout is best for my purpose). I think that condition object is the only possible solution for this. 
#6
Hi there. I have a lot of Condition objects and I try to assign to each one different alarm. The easiest way would be to create one event for each Condition object and then create event processing policy for each event i.e Condition. But this would be a painful work, create so much EPPs. I am wondering if I can create one EPP for all events and somehow insert message that refers to Condition object or event? 
I tried something with adding persistent storage variable and setting it in Condition object script (I don't know if this works), creating EPP macro that returns persistent storage variable and call it in Alarm Message field but this won't work :'(
Is there any way to do this?