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 - Victor Kirhenshtein

#5236
Hi!

Yes, you should use situations for preventing duplicate emails. Depending on if you have paired event for access point coming up, you can either set situation's attribute to true when you process first down trap, ignore all other down traps if it's set, and clear it on access port up trap, or you can store current time in situation's attribute, and ignore all next events withing some short time interval.

Best regards,
Victor
#5237
General Support / Re: Procurve SNMP Traps
July 20, 2012, 05:45:41 PM
No, there are no default rules for handling SNMP ifdown/ifup traps. You should create them by yourself.
#5238
General Support / Re: Procurve SNMP Traps
July 20, 2012, 01:11:17 PM
Quote from: lweidig on July 20, 2012, 05:50:21 AM
I recently decided to start moving our trap notifications over to NetXMS from what I hope will soon be our old NMS.  We have a number of various model Procurve switches which the system seem to try and detect.  It shows the driver on the general tab as PROCURVE.  However, when we get a trap for link down and then a trap for link up it is NOT clearing the Link down event and it stays up on the device until we manually terminate.  It is detecting the ports correctly from the varbinds, just not clearing.

First traps .1.3.6.1.6.3.1.1.5.3 (link down) followed by .1.3.6.1.6.3.1.1.5.4 (link up).  These appear to be the "standard" down / up noticed and are listed in the SNMP Trap Configuration section.

How do you define rules in event processing policy for create and terminate alarm?

Quote from: lweidig on July 20, 2012, 05:50:21 AM
Not sure how it comes up with the port drawings either, but it is wrong.  For example our 4000M switch shows an odd layout of ports 1-22 in slot 1, 0 - 23 in slot 2, 0 in slot 3 and 1 in slot 4.  In actuality there are 6 8 port cards, 1 1 port card.  It also pops up a components tab with nothing filled in.

Can you please send me output of nxsnmpwalk for the following OIDs on this 4000m:
.1.3.6.1.2.1.1
.1.3.6.1.2.1.2
.1.3.6.1.2.1.47.1.1.1.1

Components tab may be empty because switch may not support appropriate MIB.

Quote from: lweidig on July 20, 2012, 05:50:21 AM
Also, would like to make a suggestions that you allow clipboard copy from the SNMP Trap Monitor display so it is easier to grab OID's or messages. 

It's already done in upcoming 1.2.2.

Best regards,
Victor
#5239
Hi!

Do you have libnxcore.so.1 in /usr/local/lib? If yes, try to run ldconfig and then start netxmsd again.

Best regards,
Victor
#5240
General Support / Re: Raspberry Pi
July 19, 2012, 10:19:24 AM
How did you compile agent for Pi? Can you send me config.h from your build? I suspect wrong byte order detection.

Best regards,
Victor
#5241
General Support / Re: Raspberry Pi
July 18, 2012, 10:18:22 AM
Hi!

Looks like encryption is now working for some reason, because server drops connection immediately after key exchange. Can you check server logs as well? Also, try to disable encryption in agent to ensure that it's encryption problem.

Best regards,
Victor
#5242
General Support / Re: Custom Attributes
July 17, 2012, 11:22:46 PM
Currently server generates SYS_SCRIPT_ERROR events for script compilation and execution errors. You can handle this event and generate alarms or send notifications. But I agree that script editor should do at least syntax checking before saving the script on server. Added this as to-do.

Best regards,
Victor
#5243
Hi!

You should see also something like

[session:0] Requesting parameter "Oracle.DBInfo.IsReachable(DB1)"

is it there? If yes, what is after that line?

Best regards,
Victor
#5244
General Support / Re: Server Configuration Options
July 17, 2012, 01:07:14 PM
Quote from: lweidig on July 17, 2012, 01:56:58 AM
I see that within the client I can add my own Server Configuration variable / value pairs.  How can I retrieve these values within a script and or how would I use my own additions.

"Add" option in server configuration view is intended for adding parameters that are not listed by default for some reason (or was accidentally deleted). But I can add NXSL function to read configuration parameters of course, it's very simple.

Best regards,
Victor
#5245
General Support / Re: Network Maps
July 13, 2012, 10:22:36 AM
Hi!

It's not working yet. Sorry for misleading configuration :(

Best regards,
Victor
#5246
General Support / Re: Server Performance
July 12, 2012, 01:16:48 PM
Some time passed already since July 1st, but just in case - could it be this problem: https://www.netxms.org/forum/announcements/high-cpu-usage-after-172012/?

Could you also please attach debugger to netxmsd process and dump stack trace for all threads:


# gdb /usr/bin/netxmsd
(gdb) attach <netxmsd_pid>
(gdb) thread apply all bt
(gdb) detach


Best regards,
Victor
#5247
General Support / Re: map problem
July 12, 2012, 03:07:12 AM
It is available from NetXMS download page for all major OS. For example, 32 bit Windows version is: https://www.netxms.org/download/nxmc/nxmc-1.2.1-win32-x86.zip.

Best regards,
Victor
#5248
General Support / Re: Server Performance
July 11, 2012, 10:39:42 PM
Turn off routing and discovery polls on those BGP routers (you did that already if I understand correctly). Restart netxmsd after that if possible.

Routing table polls used for discovery and also can be used for routing change monitoring via Net.IP.NextHop internal parameter.

Best regards,
Victor
#5249
General Support / Re: Server Performance
July 11, 2012, 08:44:54 PM
Could it be that you have router(s) with very large routing tables, like full BGP table?

Best regards,
Victor
#5250
General Support / Re: Server Performance
July 11, 2012, 07:43:53 PM
Situation is definitely not normal. Can you please open server debug console (from management console or with nxadm -i), and send me output of the following commands:

show sessions
show pollers
show queue
show stats
show flags
show watchdog


You are correct, containers in infrastructure tree are for logical grouping. Polling is not related to node location in container, and node is polled only once no matter how many times it appears in the tree.

Best regards,
Victor