Add new windows service in nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
thetechguy
Posts: 25
Joined: Wed Feb 12, 2014 5:05 pm

Re: Add new windows service in nagios

Post 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
thetechguy
Posts: 25
Joined: Wed Feb 12, 2014 5:05 pm

Re: Add new windows service in nagios

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Add new windows service in nagios

Post by sreinhardt »

Awesome, thanks for letting us know its all working!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked