That certainly makes sense. Thanks for the input everyone, but I
believe I have resolved my problem.
What I did was change check_ping to check_icmp, then setup the correct
permissions (chmod 4711 and chown root.nagios on check_icmp), then
changed the checkcommands.cfg, hosts.cfg and services.
Artyom Khmelnitsky said...
|
|My directory structure is as follows:
|
|/etc/nagios/ contains the main files (cgi, nagios, resources)
|
|/etc/nagios/mysite contains all the other files (hosts, services,
| servicegroups, checkcommands, etc..)
|
|What files do you think I should grep for check ping?
My directory structure is as follows:
/etc/nagios/ contains the main files (cgi, nagios, resources)
/etc/nagios/mysite contains all the other files (hosts, services,
servicegroups, checkcommands, etc..)
What files do you think I should grep for check ping?
Also, I have disabled check_pi
Have you done a grep for check_ping in all teh files in that dir
to make sure there's not another check_ping that overries that?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and yo
My check_ping command is as follows:
define command{
command_name check_ping
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
-p $ARG3$
}
The above is also the structure of my check-host-alive in checkcommands.c
fg
same goes for the check-hos
On Tue, 1 Aug 2006, Morris, Patrick wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of Artyom Khmelnitsky
> > Sent: Monday, July 31, 2006 9:13 PM
> > To: nagios-users@lists.sourceforge.net
> >
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Artyom Khmelnitsky
> Sent: Monday, July 31, 2006 9:13 PM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] getting some flyby errors
>
> check
Hello,
I am having another slight issue and would like some guidance on
this. Here's the situation:
I have one host that is being pinged and the SMTP is being checked
just fine. It's in Group A. Now, I went ahead and defined 6 new
hosts that need to be just pinged. I used the same template
Hello and thank you for your reply.
I figured out 99% of my problems. I completely overlooked minimal.cfg
and that is where it was pulling everything from. I also had those
"already defined" errors before and had to move my checkcommands.cfg
file as well as a few other ones. Now I know why. I
On Mon, 31 Jul 2006, Artyom Khmelnitsky wrote:
> Thank you for the reply. I do believe I have the plugin and it is
> defined in checkcommands.cfg. I thought it may be the directory
> structure at first, but it's not as my PING works just fine and
> they are located in the same directory/file.
>
Hello,
Thank you for the reply. I do believe I have the plugin and it is
defined in checkcommands.cfg. I thought it may be the directory
structure at first, but it's not as my PING works just fine and
they are located in the same directory/file.
Any other ideas? Was my syntax correct as fa
correctum:
normally in checkcommand.cfg ...
Peter Ringe schrieb:
> Hi Artyom
>
> so you know, that nagios is recognising that you hate defined a service
> check called
>
> check_smtp' for host 'aykshared
>
> but you also have to define a command (normally in commands.cfg)
> additionally you hav
Hi Artyom
so you know, that nagios is recognising that you hate defined a service
check called
check_smtp' for host 'aykshared
but you also have to define a command (normally in commands.cfg)
additionally you have to have the corrosponding plugin ...
Peter
Artyom Khmelnitsky schrieb:
> An
13 matches
Mail list logo