DFS path monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
udaykumar
Posts: 66
Joined: Thu Jan 11, 2018 12:55 am

DFS path monitoring

Post by udaykumar »

HI Team,

Is it possible to monitor DFS path in nagios ?
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: DFS path monitoring

Post by WillemDH »

Hey,

You should be able to do this with NSClient++, but only when the service is running with credentials that have permissions on the dfs path you want to monitor.

For example this is something I'm using to monitor if a folder contains any files:

Code: Select all

/usr/local/nagios/libexec/check_nrpe_v3 -2 -P 10240 -H windows-gateway -p 5666 -t 120 -c check_files -a path='\\dfsroot\junction\folder\ERRORS' pattern=*.* 'critical=count>0' 'empty-state=ok'
No files found|'count'=0;0;0
Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: DFS path monitoring

Post by cdienger »

Thanks for the input, @WillemDH!

Does that help resolve your question @udaykumar?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked