Discussion:
[Nagios-users] Energy/Power Monitoring
Eduardo de Freitas
2013-09-09 17:19:52 UTC
Permalink
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 ?
davor grgicevic
2013-09-09 17:55:27 UTC
Permalink
snmp trap , that interface is down ..


On Mon, Sep 9, 2013 at 7:19 PM, Eduardo de Freitas <
Post by Eduardo de Freitas
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
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
William Leibzon
2013-09-09 18:20:06 UTC
Permalink
check_netint can give alert at very low traffic but I warn you to be
careful because if you do not have a lot of traffic (do you really have
10Mbs there?) it will look as if its 0. Also I'm entirely unsure how you
can check it with SNMP if it has no ip address, can you explain?

if device supports snmp and is using standard snmp unix base you can use
any other snmp plugin too just to check on it, I like doing it with
check_uptime. I use that as base to tell if SNMP is working and put
dependencies for other services on it.


On Mon, Sep 9, 2013 at 10:19 AM, Eduardo de Freitas <
Post by Eduardo de Freitas
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
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
Loading...