VPN: configuration and event correlation
-
We have a few VPN connections between our sites. So I set up the VPN connectors between the internet gateways using the old legacy console. These connectors are shown in the java console under the gateway nodes (as object class VPNConnector).
Since NetXMS 1.2.14 they have also an icon (but I don't know why with a questionmark on the icon) and they appears on Layer3-maps (that's fixed, thanks)So I see still 2 issues with VPN connectors:
-
Configuration:
The VPN connectors are still not configurable in Java console (1.2.14), whether changes nor creation. -
Event Correlation:
When a VPN tunnel goes down, we recieve from NetXMS one 'Node down' for the remote VPN gateway (=ok). But when the VPN tunnel goes up again, we allways get 'Node up' for every node on this remote site (=not ok). It seems the event correlation on 'down' is ok but not on 'up'.
-
-
@user54119 said in VPN: configuration and event correlation:
- Configuration:
The VPN connectors are still not configurable in Java console (1.2.14), whether changes nor creation.
Yes, I forgot to add create VPN action in Java UI. Will fix it in next release.
@user54119 said in VPN: configuration and event correlation:
- Event Correlation:
When a VPN tunnel goes down, we recieve from NetXMS one 'Node down' for the remote VPN gateway (=ok). But when the VPN tunnel goes up again, we allways get 'Node up' for every node on this remote site (=not ok). It seems the event correlation on 'down' is ok but not on 'up'.
currently node can have 3 states regarding connectivity (and so there are 3 events): down (event SYS_NODE_DOWN) - when server cannot contact the node and has no topology information for event correlation or it is really problem with that node; unreachable (SYS_NODE_UNREACHABLE) - when server knows that node cannot be contacted due to intermediate router/interface failure; and up (SYS_NODE_UP) - when node is reachable. So when node becomes unreachable, either SYS_NODE_DOWN or SYS_NODE_UNREACHABLE event is generated, depending on root cause. But when node became reachable again, SYS_NODE_UP being generated. I see two possible solutions - either add previous state indicator to SYS_NODE_UP event or create separate event for node returning from unreachable state - then you'll be able to distinguish between those two types of node up events.
Best regards,
Victor - Configuration:
-
Hi Victor
Sorry for the late reply.
for 1:
Ok so I hope everything for VPN connectors will be available in Java console in 1.2.15 and there is no need for the old console anymore.for 2:
I can't say which solution is better (more powerfull, flexible and better integrated in the concept of NetXMS), but I tend to solution 1. Can you open this as a feature request for V1.2.15?Thanks
-
Hi!
I also like solution 1 more. I just implemented it - starting with 1.2.15 SYS_NODE_UP event will have parameter at index 1 which will be set to 1 if node is returning from "unreachable" state and 0 if from "down".
Best regards,
Victor -
-
Hi!
I've put console builds and source package from current development branch here: https://www.netxms.org/download/1.2.15-M1/. Feel free to try!
Best regards,
Victor -
Thanks. I tried V1.2.15-M1. Compile ok, but in DB upgrading from version 321 to 322:
SQL query failed (42601 ERROR: syntax error at or near "ALTERT" LINE 1: ALTER TABLE users ALTERT COLUMN system_access TYPE bigint ^): ALTER TABLE users ALTERT COLUMN system_access TYPE bigint -
Oops, typo in PostgreSQL query
Run nxdbmgr with -X option and the run manually the following queries:ALTER TABLE users ALTER COLUMN system_access TYPE bigint;
ALTER TABLE user_groups ALTER COLUMN system_access TYPE bigint;Best regards,
Victor -
-
Try to execute manually query
UPDATE metadata SET var_value='322' WHERE var_name='SchemaVersion';
then netxmsd should start.
Best regards,
Victor -
Hi Victor
Thank's for the fast help. Now it starts. Then I tested the new function with the new parameter of Event SYS_NODE_UP with a filter script ($1 != 1). Works exactly like expected! That will help me a lot! Now I revert to V1.2.14 again. For production I will wait for V1.2.15
Dani
-
to point 1 (configuration of VPN connectors in JAVA console):
Now there is a possibility to 'create' VPN connectors, but you can only specify a name of the connector and that's it. It's still not possible to configure the connector (peer node). In properties are only 'access control', 'comments', 'custom attributes' and 'status calculation'. So I still need the old console application.to point 2 (event correlation):
The new parameter for SYS_NODE_UP is working as expected.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login