You can do it by setting scheduled host checks, but it's very
performance-intensive, and *will* affect your service checks.
Your uptime check will do what you want much better if you add it as a
service to your host.
Why are you so insistent you don't want to use check_ping as your host
comman
The use of option : use_aggressive_host_checking=1
in the nagios.cfg file will make any difference???
Sujith
Bangalore
On 2/28/07, Andy Shellam (Mailing Lists) <
[EMAIL PROTECTED]> wrote:
sujith h wrote:
I think i foregot to explain a crucial point that nagios is running in my
router not in
sujith h wrote:
I think i foregot to explain a crucial point that nagios is running in
my router not in my
machine. If i had told u my machine, then I really apolagise for
stealing your precious
time.
No, I understand that.
And is there anyway that I can trigger the check_uptime (plugin
wri
I think i foregot to explain a crucial point that nagios is running in my
router not in my
machine. If i had told u my machine, then I really apolagise for stealing
your precious
time. And is there anyway that I can trigger the check_uptime (plugin
written by me)
all the time when the router is up
Again, as I and Patrick have said, your host's check_command is only
getting run when a service is deemed to have problems.
You're getting the difference in the uptime output in Nagios and the
console because Nagios hasn't run the uptime command for the host for
over a day.
If you're not retai
I think you need to explain what you're trying to do overall, as this
isn't making any sense to me!
You cannot possibly determine which server is responding using it's
uptime output.
A more sensible option surely would be it's hostname?
#!/bin/bash
hostname
exit 0
However you're going to run
See my host.cfg file contains:
define hostgroup{
hostgroup_name Enpaq
alias Enpaq
members sujith
}
define host{
host_name sujith
alias Enpaq Router
address 127.0.0.1
max_check_attempts
What results?
I haven't yet been able to find a clear indication in this thread of the
problem you're seeing.
What is the relevant definitions of your host, service and commands?
Please explain your problem more clearly.
Thanks
Andy.
sujith h wrote:
Hi Andy,
Actually my problem is that it
Actually the problem with the ping is that we are giving dynamic IP address
so when the ip address changes its difficult to know who is responding to
the
ping. And so we moved to ssh and uptime...
Sujith
Bangalore.
On 2/28/07, sujith h <[EMAIL PROTECTED]> wrote:
Hi Andy,
Actually my problem
Hi Andy,
Actually my problem is that it works for some 1 day or more. But after that
I get these sort of
results. So thats what makes me worry...
Sujith
Bangalore
On 2/28/07, Andy Shellam (Mailing Lists) <
[EMAIL PROTECTED]> wrote:
As Patrick said, this plugin (as a host check) will only get
As Patrick said, this plugin (as a host check) will only get run if a
service goes into a non-OK state, therefore showing old information
until it a service fails.
I have exactly the same plugin (written myself with a couple of
differences to yours) which runs as a service called "Uptime" on e
No am running this plugin for host check only
Sujith
On 2/28/07, Morris, Patrick <[EMAIL PROTECTED]> wrote:
> when I click the Host Detail I can see that
> in the status information section we have a different output.. such
aser
> 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71
> when I click the Host Detail I can see that
> in the status information section we have a different output.. such
aser
> 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71
> Here u can see that am not getting the output synchronized.
> But the probl
On 2/28/07, sujith h <[EMAIL PROTECTED]> wrote:
On 2/28/07, sujith h <[EMAIL PROTECTED]> wrote:
>
> See when i type uptime:
> [EMAIL PROTECTED]:~$uptime
> 11:30:33 up 4 days, 1:09, 1 user, load average: 1.15, 0.66, 0.50
>
> And in the nagios page, which i used to take in my firefox as :
>
On 2/28/07, sujith h <[EMAIL PROTECTED]> wrote:
See when i type uptime:
[EMAIL PROTECTED]:~$uptime
11:30:33 up 4 days, 1:09, 1 user, load average: 1.15, 0.66, 0.50
And in the nagios page, which i used to take in my firefox as :
http://sujith/nagios
(I had configured it like that in apache.)
On 27/02/07 08:29 AM, sujith h wrote:
> Hi ,
>
> Am using nagios for past 5 months. I have to monitor both the host and
> its services of my client.
> I had found that when i added a small plugin to monitor the host its not
> giving me the proper
> result. I wrote a 3 line code in a file called ch
Actually uptime is an unix command which will let you know for how
much time your machine was up. And when i run the
script check_uptime, the plugin for nagios written by me, it gives me
my machine is up for 2 days. But when nagios runs it , shows that
my machine was up for 2 mins.
Sujith
I hav
Sujith wrote:
> Sir please post your reply in English.
"Mensaje automatico" is Spanish for "automatically generated message",
so it is unlikely that you'll receive a translated version. ;-)
-R
-
Take Surveys. Earn Cash. Inf
> Now when I start the nagios it will work fine. But after some one or 2 days
> it will start to give me
> wrong output.
What output does it give you?
What output does it give if you login as nagios and run it by hand?
See: http://nagios.sourceforge.net/docs/2_0/plugins.html#howto
-
Sir please post your reply in English. I can understand Malayalam, Tamil,
Hindi and English. But since this is an International mailing list kindly
post your reply in English.
Thank you
Sujith
On 2/27/07, MANUEL CANSECO GARCIA <[EMAIL PROTECTED]> wrote:
Mensaje Automatico ***
Este usuar
Hi ,
Am using nagios for past 5 months. I have to monitor both the host and its
services of my client.
I had found that when i added a small plugin to monitor the host its not
giving me the proper
result. I wrote a 3 line code in a file called check_uptime:
#!/bin/bash
uptime
exit(0)
Now when I
21 matches
Mail list logo