[Nagios-users] RE : Nagios CGI modification

2007-11-13 Thread Florent HOUBART
*/ 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

[Nagios-users] RE : Time periods Issue

2007-06-28 Thread Florent HOUBART
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

[Nagios-users] RE : Sybase check on windows servers

2007-06-27 Thread Florent HOUBART
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

[Nagios-users] RE : [SPAM?] RE: RE : Sybase check on windows servers

2007-06-25 Thread Florent HOUBART
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

[Nagios-users] RE : [SPAM?] RE: RE : Sybase check on windows servers

2007-06-25 Thread Florent HOUBART
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 ?

[Nagios-users] RE : Sybase check on windows servers

2007-06-22 Thread Florent HOUBART
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