problem with nagios...

Mario Sergio Candian mscandian at freebsdbrasil.com.br
Tue Sep 21 19:20:40 CEST 2004


Thanks Marc and Jan,

i installed the plugins, and its working fine now.

i have other question... how i can monitor a ssh, mysql and sendmail
(local), radius, MRTG, FTP (enable for some IPs by firewall)?

Mario Sergio Candian

On Tue, 21 Sep 2004, Jan.Scholten wrote:

> apt-get install nagios-plugins
> or
> download the nagios Plugin package (check
> http://sourceforge.net/project/showfiles.php?group_id=29880)
> check REQUIERMENTS
> ./configure
> make
> make install (?) or copy the compiled plugins to /usr/local/nagios/libexec
>
> >
> > Hi guys,
> >
> > i installed the nagios with the sintax:
> >
> > /configure --prefix=/usr/home/eksffa/public_html/nagios/mdbrasil
> > --with-cgiurl=/mdbrasil/cgi-bin --with-htmurl=/mdbrasil
> > --with-nagios-user=nagios --with-nagios-grp=nagios && make all && make
> > install && make install-init && make fullinstall
> >
> > the interface web is up, and it gives the message "Return code of 127
> > is out of bounds - plugin may be missing". What can be the problem?
> >
> > This is a nagios.log file:
> >
> > [1095713137] Warning: Return code of 127 for check of service 'FTP' on
> > host '200.x.x.x' was out of bounds. Make sure the plugin you're trying
> > to run
> > actually exists.
> > [1095713137] HOST NOTIFICATION:
> > FreeBSDBrasil;200.210.70.8;DOWN;host-notify-by-epager;(No output!)
> > [1095713138] HOST NOTIFICATION:
> > FreeBSDBrasil;200.210.70.8;DOWN;host-notify-by-e
> > mail;(No output!)
> > [1095713197] Warning: Return code of 127 for check of service 'HTTP' on
> > host '200.x.x.x' was out of bounds. Make sure the plugin you're trying
> > to run
> > actually exists.
> >
> > And my status.log file:
> >
> > (root at webmail) # tail -f status.log
> > # Nagios 1.2 Status File
> > [1095713562] PROGRAM;1095713067;4732;1;0;0;1;1;1;1;0;0;1;0
> > [1095713562]
> > HOST;200.x.x.x;DOWN;1095713547;1095705913;0;5;7154;0;1095713137;
> > 2;1;1;1;1;0;0.00;0;1;1;(No output!)
> > [1095713562]
> > SERVICE;200.x.x.x;FTP;CRITICAL;1/3;HARD;1095713427;1095713727;AC
> > TIVE;1;1;1;1095705917;0;CRITICAL;0;0;0;7150;0;0;1;0;0;1;0;0.00;0;1;1;1;(Return
> > code of 127 is out of bounds - plugin may be missing)
> >
> > Whats the message "No output!"?
> >
> > My directory structure:
> >
> > (root at webmail) # pwd
> > /usr/home/eksffa/public_html/nagios/mdbrasil
> > (root at webmail) # ls -lga
> > total 14
> > drwxr-xr-x  7 www     www      512 Sep 17 17:35 ./
> > drwxr-xr-x  3 nagios  nagios   512 Sep 17 17:11 ../
> > drwxrwxr-x  2 nagios  nagios   512 Sep 20 14:03 bin/
> > drwxrwxr-x  3 nagios  nagios  1024 Sep 20 14:04 etc/
> > drwxrwxr-x  2 nagios  nagios   512 Sep 20 16:05 sbin/
> > drwxrwxr-x  8 nagios  nagios   512 Sep 20 14:03 share/
> > drwxrwxr-x  4 nagios  nagios   512 Sep 20 17:57 var/
> >
> > Where are the plugins of nagios?
> >
> > Any help is appreciated.
> >
> > Mario Sergio.
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE for your judgement on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > _______________________________________________
> > 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
> >
> >
>
>
>
> --
> Jan Scholten
> Research and Development Intern
> Iconz.co.nz
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> 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
>
>



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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