<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Farhan,<br>
It's not quite clear from your question just what you wish to
monitor. Do you want to confirm that an OpenVPN process is running
on the local host (via NRPE for example) or on a remote host, or do
you wish to monitor some aspect of the OpenVPN service?<br>
<br>
If you're interested in the latter, we published a plugin for this
some time ago, which you can find here:<br>
<a class="moz-txt-link-freetext" href="https://www.monitoringexchange.org/p/696">https://www.monitoringexchange.org/p/696</a><br>
<br>
Here's the description:<br>
<blockquote>This plugin can check various operating aspects of
OpenVPN running on a local or remote system by using the TCP based
management server. It can report total connections and routes,
report on a specific connection by CN or IP address or on presence
of a specific route. Performance data can be returned with
specific connection reports.<br>
</blockquote>
If anyone's interested, we've also developed a PHP class,
openvpn-management-class.php, which provides useful abstractions of
the various OpenVPN structures for use in more complex monitoring
applications. For example, we use it to monitor tunnel status for a
ten site WAN, to locate user connections across a nationwide Road
Warrior network, etc. Just drop us a line and we'll be happy to
send along a copy. (Note: The management class is <b>not</b> used
in this plugin.)<br>
<br>
Cheers,<br>
-nic<br>
<br>
<div class="moz-cite-prefix">On 08/07/2013 11:27 AM, Farhan Usmani
<a class="moz-txt-link-rfc2396E" href="mailto:farhanusmani87@gmail.com"><farhanusmani87@gmail.com></a> wrote:<br>
</div>
<blockquote
cite="mid:mailman.147625.1375892848.14365.nagios-users@lists.sourceforge.net"
type="cite">
<pre wrap="">Date: Mon, 5 Aug 2013 10:55:58 -0700
From: Farhan Usmani <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:farhanusmani87@gmail.com"><farhanusmani87@gmail.com></a>
Subject: [Nagios-users] Nagios Process Monitor
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Message-ID:
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:CAMFFnDmBTOgFopU2J+4Pc+0LDCxMJS_3a00DHoLUnRJOcm5fVA@mail.gmail.com"><CAMFFnDmBTOgFopU2J+4Pc+0LDCxMJS_3a00DHoLUnRJOcm5fVA@mail.gmail.com></a>
Content-Type: text/plain; charset="iso-8859-1"
Dear team,
How can we monitor open vpn process through nagios.Thanks
Farhan</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nic Bernstein <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight, Inc. <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
219 N. Milwaukee St., Suite 2a v. 414.272.4477
Milwaukee, Wisconsin 53202
</pre>
</body>
</html>