Service Status NOT FOUND

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.
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: Service Status NOT FOUND

Post by kwhogster »

If the Windows Machine was restarted wouln.t it clear that service? If so It was restarted many times

************************************ HOST AND SERVICES *********************************************************************

Code: Select all

define host{
        use             windows-server  ; Inherit default values from a template
        host_name       TGCS006         ; The name we're giving to this host
        alias           Windows 2008 veeam proxy ; A longer name associated with the host
        _ALLOWEDUSERS   myvm/veeam
        address         10.2.8.29       ; IP address of the host
        }

define service{
        use                     generic-service
        host_name               TGCS006
        service_description     NSClient++ Version
        servicegroups           nsclients
        check_command           check_nt!CLIENTVERSION
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     Uptime
        check_command           check_nt!UPTIME
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     CPU Load
        servicegroups           CPULoad
        check_command           check_nt!CPULOAD!-l 5,90,95
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     Memory Usage
        servicegroups           MemUsage
        check_command           check_nt!MEMUSE!-w 80 -c 90
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     C:\ Drive Space
        servicegroups           DriveSpace
        check_command           check_nt!USEDDISKSPACE!-l c -w 80 -c 90
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     Explorer
        servicegroups           explorer
        check_command           check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     BFE
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l BFE
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     CryptSvc
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l CryptSvc
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     DcomLaunch
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l DcomLaunch
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     DHCP
        servicegroups           DHCP
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l DHCP
        }
The above all work

Here at the services that do not

Code: Select all

define service{
        use                     generic-service
        host_name               TGCS006
        service_description     Desktop Window Manager Session Manager
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l uxsms
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     Windows Defender
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l windefend
        }
define service{
        use                     generic-service
        host_name               TGCS006
        service_description     wuauserv
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l wuauserv
        }
****************Command************************************************

Code: Select all

# 'check_nt' command definition
define command{
        command_name    check_nt
        command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s xxxxxxxx -v $ARG1$ $ARG2$
        }
I even restarted Nagios no change

I have WMA which is used for plugins


TGCS006 is a Windows 2008 R2 Server Virtual Machine Take note I have several other Windows 2008 R2 Server both Physical and Virtual all work with same services. Same NSCLIENT too

HTH

Let me know if you need more info
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Service Status NOT FOUND

Post by Box293 »

Can you confirm that TGCS006 with the address defined as 10.2.8.29 is the correct address. None of your previous posts reference this address so it could be that:
Your nagios host has the wrong IP address defined
OR
Your command line test have never tested against the correct IP address (you've been testing another machine that works).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: Service Status NOT FOUND

Post by kwhogster »

Troy

That was it in my hosts file when I copied another host I forgot to change the ip address

No cleaning up the new errors found.

Also have to revert back to nsclinet 4.1.73 on the one server version 4.4 has other issues with NRPE checks.

I will look at those when I upgrade to 4.2 Nagios later this year.

This can be locked now
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Service Status NOT FOUND

Post by dwhitfield »

kwhogster wrote: I will look at those when I upgrade to 4.2 Nagios later this year.
I'm not sure how long you are waiting, but you probably want to keep an eye out on the 4.3 release, which is currently scheduled for April.

I'll go ahead and lock this up.
Locked