On Aug 20, 2008, at 5:27 AM, Kermito le kermit wrote:

>
> hello all
>
>
> I want to use check_mrtgtraf to monitoring a router interface and  
> send alert when traffic is hub when i use this plugins the return is  
> critical for all
>
> # ./check_mrtgtraf -F  172.0.2.23_2.log  -a  MAX
> Trafic CRITICAL - Max. Entrée = 1,7 KB/s, Max. Sortie = 1,9 KB/s| 
> in=1,651367KB/s;;;0,000000 in=1,928711KB/s;;;0,000000
>
>
> any idea

I would guess that since you don't pass specific warning and critical  
thresholds to the command, the default behavior is that those values  
are 0 and you exceed them. Try passing them to the plugin.  
(check_mrtgtraf --help).

p.s. You shouldn't test plugins as root. While it won't affect your  
outcome here, it's common for nagios checks to show different results  
due to permissions differences... You could also be creating root- 
owned temporary files that'll come back to bite you later.

--
Marc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Reply via email to