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 »

tgriep

I download 04.4.23 installed and my Nagios still thinks it has 4.1.73 installed

Do I need to uninstall restart then install what a good process for updating the nsclient?


Thanks

Tom
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Service Status NOT FOUND

Post by rkennedy »

I would uninstall the old nsclient completely (delete the folder out of program files to ensure it's clean), and then reinstall. If it's still reporting the old version, then a complete reinstall may be needed, or simply a restart of the nscp service.
Former Nagios Employee
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 »

I have restarted the server a few times no change.

So off to an uninstall

but first I will save my nsclient.ini


Thanks
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 »

After uninstalling
then restarted

deleted the folder nsclient++

installed new version

Restarted again

Nagios still thinks it has the old nsclient still

Not reporting correctly here whats up?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Service Status NOT FOUND

Post by rkennedy »

Are you trying to monitor a device behind NAT by chance? Are you able to see the device go down when it was deleted / uninstalled?

Please run this on the Windows machine and post the full output -

Code: Select all

dir "c:\Program Files\NSClient++"
ipconfig
Additionally, please post your nsclient.ini and nsclient.log file for us to review, as well as the full output of your testing over the CLI showing the wrong version.
Former Nagios Employee
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 »

see attached

This is not a network issue again I must repeat myself this same server has approx. 70 srvices I am checking in Nagios and only three of them fail


Very strange indeed.
Attachments
list.txt
info asked for
(49.91 KiB) Downloaded 318 times
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 »

To the one who told me to upgrade the nsclient

That suggestion foobared my nsclient ini and the new version is empty
I had a lot of custom entries to make checks from other plugins to work.

Also Nagios is not even seeing this change

Need help on this asap
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Service Status NOT FOUND

Post by avandemore »

Have you considered using NCPA?

https://www.nagios.org/ncpa/help.php

We don't write or maintain NSClient so helping with advanced configurations is somewhat beyond the scope of what we can help with here.
Previous Nagios employee
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 »

To All

This is not a nsclient issue it is a Nagios issue

I do not understand why no one on here knows what is wrong.

I have many machines running same nsclient version and have no issues

I need someone to figure this out please help

Not going to switch to something else when what is going on here is Nagios related.


Also why does Nagios not pick up the new version of nsclient

Code: Select all

define service{
        use                     generic-service
        host_name               TGCS006
        service_description     NSClient++ Version
        servicegroups           nsclients
        check_command           check_nt!CLIENTVERSION
        }
Still claims it is running 4.1.73
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Service Status NOT FOUND

Post by rkennedy »

When you uninstalled the NSClient++ service, was it still reporting the version? If so, it's possible you have the process open on the Windows machine.

If you're positive this is Nagios related - please post the EXACT commands you're running, as well as ALL related objects. This includes the command, host, and service. We should then be able to setup a test on our end to replicate it.
Former Nagios Employee
Locked