*/
if(is_authorized_for_host(temp_host,current_authdata)==FALSE)
continue;
/* Do something with the host temp_host */
}
---
Regards,
Florent Houbart
-
This SF.net email is sponsored by: Splunk Inc
Hello,
Maybe it is because Nagios first schedule check with inter_check_delay method,
and then test it according to timeperiod.
I try to explain myself:
When Nagios initialy schedule all checks, it first try to schedule them using
intercheck_delay and interleaving to calculate a first time. It
Hi,
You are right. Any command I try to run through command prompt is giving
me the same error. Although its showing ok in the web interface.
I do not understand why this is happening.
Some examples of commands I tried to run through command prompt-
./check_nt -H machine1 -v UPTIME
./check_nt
Hi Lalita,
But I am still not sure what I need to put in services.cfg.
For the hosts I have made a hostgroup by the name Sybase in
hostgroups.cfg.
I want it to pick names from this group and display result for all.
So my services.cfg looks like-
Define service{
Use
Hi,
Thank you so much for being patient with me. I tried what you said. But
unfortunately I am still getting the error return code of 139 is out of
bounds.
This mean that there is a problem with the execution of your control. Did you
try to run the command as you defined it in a shell prompt ?
Hello Lalita,
This means I will have to pass that particular service name individually
to check_nt.
You can use Nagios macros for this. Use $HOSTNAME$ to get the name of the
service's associated host. For this to work, you have of course to name your
host with their hostname.
Is there any