Page 2 of 2

Re: Add new windows service in nagios

Posted: Fri Mar 07, 2014 12:31 pm
by thetechguy
Thank you I am looking into that now.... However I have another somewhat related question that may be better asked in a different thread.. but anyway here goes.

On my older Nagios Host running version 3.0b5 when I would make a change to a cfg file what cased an error or conflict.. attempting to reload nagios would error out showing that there was a problem. In this new version 4.0.3 that is not happening.. I can reload the Nagios service with no errors but then very soon after realize that the service is actually dead due to a problem with my changes.

Have you heard of this issue?

Jon

Re: Add new windows service in nagios

Posted: Fri Mar 07, 2014 12:55 pm
by thetechguy
Mr. Slansing you've done it again.. I looked at my older 3.0b5 Nagios host and found this definition

Code: Select all

define command{
        command_name    check_tcp
        command_line    /u1/nagios/libexec/check_tcp -H $HOSTNAME$ -p 8080 -w 2 -c 5
        }
So I updated my new Nagios 4.0.3 with these hard coded arguments and bam.. all working..

Thanks again.

Jon

Re: Add new windows service in nagios

Posted: Fri Mar 07, 2014 1:26 pm
by sreinhardt
Awesome, thanks for letting us know its all working!