Re: Energy/Power Monitoring

davor grgicevic <[email protected]> Mon, 9 Sep 2013 19:55:27 +0200
Newsgroups gmane.network.nagios.user
Message-ID <CAN=_NHW88b2H46880HH+fSQXO3n=Qt4ZjH6L=qG=34cBAQqFyA@mail.gmail.com>
--===============3041823770644559744==
Content-Type: multipart/alternative; boundary=089e016347faea317604e5f71726

--089e016347faea317604e5f71726
Content-Type: text/plain; charset=UTF-8

snmp trap ,  that interface is  down ..


On Mon, Sep 9, 2013 at 7:19 PM, Eduardo de Freitas <
[email protected]> wrote:

> Hello there !
> First, let me explain our scenario, so you guys can help me out.
> We have some buildings in our fiber network, and i'm having some issues
> monitoring the energy status.
> Currently, i'm using old devices (AP's, hubs) configured with ip
> adresses, and i'm leaving this devices outside the no-breaks.
> Nagios is checking this devices via check_ping, so, when power is down,
> device goes down and it returns DOWN.
> Problem is: I must go to the building to restart the device everytime it
> goes down.
> Our ONU's has no IP adresses, BUT, i can get some data via SNMP, like
> traffic, so, running check_snmp, i'm getting the current traffic (10mbps
> for example), in case of power goes down and the ONU is turned off, my
> traffic's going to be 0.
> But still my device is UP for nagios, is there anyway i can tell nagios
> that my host has to be DOWN if traffic = 0 ?
>
> Or anyone could light me up with some ideas ?
>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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
>



-- 
Davor Grgicevic

--089e016347faea317604e5f71726
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">snmp trap ,=C2=A0 that interface is=C2=A0 down ..<br></div=
><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Mon, Sep =
9, 2013 at 7:19 PM, Eduardo de Freitas <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]<=
/a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hello there !<br>
First, let me explain our scenario, so you guys can help me out.<br>
We have some buildings in our fiber network, and i&#39;m having some issues=
<br>
monitoring the energy status.<br>
Currently, i&#39;m using old devices (AP&#39;s, hubs) configured with ip<br=
>
adresses, and i&#39;m leaving this devices outside the no-breaks.<br>
Nagios is checking this devices via check_ping, so, when power is down,<br>
device goes down and it returns DOWN.<br>
Problem is: I must go to the building to restart the device everytime it<br=
>
goes down.<br>
Our ONU&#39;s has no IP adresses, BUT, i can get some data via SNMP, like<b=
r>
traffic, so, running check_snmp, i&#39;m getting the current traffic (10mbp=
s<br>
for example), in case of power goes down and the ONU is turned off, my<br>
traffic&#39;s going to be 0.<br>
But still my device is UP for nagios, is there anyway i can tell nagios<br>
that my host has to be DOWN if traffic =3D 0 ?<br>
<br>
Or anyone could light me up with some ideas ?<br>
<br>
<br>
---------------------------------------------------------------------------=
---<br>
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!<br>
Discover the easy way to master current and previous Microsoft technologies=
<br>
and advance your career. Get an incredible 1,500+ hours of step-by-step<br>
tutorial videos with LearnDevNow. Subscribe today and save!<br>
<a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D58041391&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D58041391&amp;iu=3D/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
urceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" targe=
t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><=
br>
::: Please include Nagios version, plugin version (-v) and OS when reportin=
g any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Davor Grgicevic
</div>

--089e016347faea317604e5f71726--


--===============3041823770644559744==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
--===============3041823770644559744==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Nagios-users mailing list
[email protected]
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
--===============3041823770644559744==--