Monitoring several ethernet ports with check_mrtgtraf

dave stern - e-mail.pluribus.unum dit.dash at gmail.com
Wed Sep 15 16:51:50 CEST 2010


How about wrap it. Run a script that calls check_mrtgtraf for each interface,
parse and collect the output then spew them all out in a single line.

On Wed, Sep 15, 2010 at 10:38 AM, Dayo Adewunmi <contactdayo at gmail.com> wrote:
> Hi
>
> I'm trying to monitor several ports on a switch with check_mrtgtraf.
> Unfortunately, it looks as if the check_command allows only one port?
>
> check_command
> check_local_mrtgtraf!/var/www/mrtg/knh-a_50.log!AVG!1000000,1000000!5000000,5
> 000000!10
>
> I have tried listing the check_command for the other ports after this
> one, but in the Nagios web interface, it only ever displays the first
> line in the list and ignores all  the other listed ports.
>
> How do I get nagios to report mrtgtraf for other ports as well?
>
> Thanks
>
> Dayo
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list