[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagios-users
Subject:    Re: [Nagios-users] Nagios-users Digest, Vol 87, Issue 3 Message 6
From:       Nic Bernstein <nic () onlight ! com>
Date:       2013-08-09 15:00:20
Message-ID: 52050404.5090905 () onlight ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Farhan,
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?

If you're interested in the latter, we published a plugin for this some
time ago, which you can find here:
    https://www.monitoringexchange.org/p/696

Here's the description:

    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.

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 *not* used in this plugin.)

Cheers,
    -nic

On 08/07/2013 11:27 AM, Farhan Usmani <farhanusmani87@gmail.com> wrote:
> Date: Mon, 5 Aug 2013 10:55:58 -0700
> From: Farhan Usmani <farhanusmani87@gmail.com>
> Subject: [Nagios-users] Nagios Process Monitor
> To: nagios-users@lists.sourceforge.net
> Message-ID:
> 	<CAMFFnDmBTOgFopU2J+4Pc+0LDCxMJS_3a00DHoLUnRJOcm5fVA@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear team,
>
> How can we monitor open vpn process through nagios.Thanks
> Farhan

-- 
Nic Bernstein                             nic@onlight.com
Onlight, Inc.                             www.onlight.com
219 N. Milwaukee St., Suite 2a            v. 414.272.4477
Milwaukee, Wisconsin  53202


[Attachment #5 (text/html)]

<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.&nbsp; 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>
    &nbsp;&nbsp;&nbsp; <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.&nbsp; 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.&nbsp; Just drop us a line and we'll be happy to
    send along a copy.&nbsp; (Note: The management class is <b>not</b> used
    in this plugin.)<br>
    <br>
    Cheers,<br>
    &nbsp;&nbsp;&nbsp; -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">&lt;farhanusmani87@gmail.com&gt;</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">&lt;farhanusmani87@gmail.com&gt;</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">&lt;CAMFFnDmBTOgFopU2J+4Pc+0LDCxMJS_3a00DHoLUnRJOcm5fVA@mail.gmail.com&gt;</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>



------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic