Nagios 4.1.1 Raspberry PI Raspbian
I have a windows 2012 Server that I had an external usb cd\dvd drive connected. When I restarted the server Nagios detected the usb drive as my F Drive and now I can not clear it.
I have disabled the monitoring of this service and now it shows as unknown
I restarted the server again without the usb drive connected but it still shows up as unknown
How to I remove this device?
Tom
Clear Unknown Service
Re: Clear Unknown Service
You edit /usr/local/nagios/etc/services.cfg (assuming a default install of Nagios) and remove the service from the configuration file.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Clear Unknown Service
But I wish to monitor the other local drives on the system
Thoughts
Thoughts
Re: Clear Unknown Service
Can you please post the contents of your /usr/local/nagios/etc/services.cfg file for us to take a look at?
Former Nagios Employee
Re: Clear Unknown Service
@rkennedy is right, we need to see the config. But you can remove the F drive and still leave the other drives without issue.kwhogster wrote:But I wish to monitor the other local drives on the system
Thoughts
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Clear Unknown Service
Thanks guys
I can not find a services.cfg file
root@raspberrypi:/# ls /usr/local/nagios/etc
cgi.cfg htpasswd.users nagios.cfg~ resource.cfg
cgi.cfg~ nagios.cfg objects resource.cfg~
root@raspberrypi:/#
thoughts
I can not find a services.cfg file
root@raspberrypi:/# ls /usr/local/nagios/etc
cgi.cfg htpasswd.users nagios.cfg~ resource.cfg
cgi.cfg~ nagios.cfg objects resource.cfg~
root@raspberrypi:/#
thoughts
Re: Clear Unknown Service
Which file did you modify in core to setup the monitoring of the F drive?
Former Nagios Employee
Re: Clear Unknown Service
Somewhere in this folder
Is a configuration file that has your service check for the F Drive.
Can you search this folder for that check and post it here?
Code: Select all
/usr/local/nagios/etc/objectsCan you search this folder for that check and post it here?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Clear Unknown Service
Thanks guys
figured it out
I had another drive that was F and when i plugged in the usb cd/dvd drive and restarted my server it became F drive
now I need to modify the service to use G drive not F
This can be closed now
Thanks for the fast response
figured it out
I had another drive that was F and when i plugged in the usb cd/dvd drive and restarted my server it became F drive
now I need to modify the service to use G drive not F
This can be closed now
Thanks for the fast response