On Fri, Jan 10, 2003 at 12:08:09PM +0000, Pepe Pepe pepe wrote:
> Hi,
> 
> (** First: Excuse for my english.I'm spanish student an my english is very 
> poor **)
> 
> Looking at the doc.I install the perl modules:
> 
> Time::Period  (includin in Mandrake 9.0)
> Time::Hires   (in rpm package)
> Convert::BEER         (includin in Mandrake 9.0)
> MON::                 (including in Mandrake 9.0)
> NET::TELNET   (includin in Mandrake 9.0)
> NET::DNS      (in rpm package)
> Fping-2.4b2-2 (in rpm package)
> 
> My mon.cf file is very simple:
> 
> (***************)
> #
> # Very simple mon.cf file
> #
> # $Id: very-simple.cf 1.1 Sat, 26 Aug 2000 15:22:34 -0400 trockij $
> #
> 
> alertdir   = 
> /export/home/cuervo/alumnos/mbriz/Desktop/Mon/mon-0.99.2/alert.d
> mondir     = /export/home/cuervo/alumnos/mbriz/Desktop/Mon/mon-0.99.2/mon.d
> maxprocs    = 20
> histlength = 100
> randstart = 60s
> 
> #
> # define groups of hosts to monitor
> #
> hostgroup servers cuervo cuervo1
> 
> 
> watch servers
>    service ping
>        interval 1m
>        monitor fping.monitor
>        period wd {Mon-Fri} hr {7am-10pm}
>            alert mail.alert [EMAIL PROTECTED]
>            alertevery 1m
>        period wd {Sat-Sun}
>            alert mail.alert [EMAIL PROTECTED]
> (**********)
> Note:[EMAIL PROTECTED] it's my e-mail
> 
> It,s very simple,the machine cuervo1 not exits
> 
> The problem is that the mail.alert dont send mail of this error
> 
> In mi network I'm not root and not this installed sendmail,the program is  
> postfix.
> 
> I starting "mon"
> 
> ./mon -f -c mon.cf -b `pwd` -A `pwd`
> 
> What can i do?
> The problem is the Postfix program?

I do not think postfix is your problem.

Are you able to run fping as the user running mon? fping
requires root privileges to run. You can set SUID bit on fping
(which is a bad thing), or modify fping.monitor to run fping with sudo
if you do not have root access and can't run mon as root.


Regards, -Kastus
_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to