monitoring file content on windows share

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Daniel75
Posts: 1
Joined: Tue Sep 23, 2014 7:37 am

monitoring file content on windows share

Post by Daniel75 »

Hi there all gurus.
I`m new at this, i have been assigned a project with a running Nagios XI, i`ve got the most of it to work but....
There is one service that i cant get to run.
check_file_content!/mnt/path/filenamne.log!Export done, with warnings.!!!!!!
That one used to be on a linux machine but now it`s on a windows share....
What and how do i get nagios to access windows shares?
Plz help a noob.
/Daniel
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: monitoring file content on windows share

Post by lmiltchev »

Probably the easiest way to accomplish this would be to write a custom script (vbs, powershell, etc.) that you can call with NSClient++ and check_nrpe.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: monitoring file content on windows share

Post by Box293 »

You could also use NSClient++ on the server hosting the windows share and use the CheckFiles command.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked