Re: guarding an UDP service (openVPN)
Jonathan Heard <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
I've had a dig through the source code for you, but the only monitors which seem to use UDP are specific ones for checking DNS and NTP. I'm assuming that by 'guard' you really mean 'monitor' because OpenNMS is a passive monitoring tool, it can tell you if a service goes down or a threshold is exceeded but it can't 'guard' a service. Being a stateless 'fire and forget' protocol, it doesn't surprise me that there's no generic monitor for UDP. Unfortunately there's isn't a monitor for OpenVPN at present. If you've got SNMP configured then you could monitor that the OpenVPN service is running - see https://www.opennms.org/en/blog/2017-05-09-process-monitoring-snmp for details. There is also a SystemExecuteMonitor which can call a custom script - e.g. you could write a script which makes a test connection to the VPN using the official OpenVPN client, and then call that script from OpenNMS. I hope these ideas are helpful Jonathan On 23/11/17 20:31, the outsider wrote: > > I know i did it once before in the past with a previous version but I > lost that setup and can’t remember how I did it. > > I want to guard the OpenVPN service on some machines and that service > is listening on UDP 1194. > > The standard TCP monitor can not be used for this, but I don’t know > which monitor to use for UDP services. > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-discuss mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this page: > https://lists.sourceforge.net/lists/listinfo/opennms-discuss ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss