Sometimes the Map Network Drive was cut off from the server ?
Which script can help me monitor the Map Network Drive ?
The version of nagios server is 3.5.0
Which script can help me monitor the Map Network Drive ?
Re: Which script can help me monitor the Map Network Drive ?
I'm not entirely sure what you are asking. Do you just want to see if a network-attached drive is available? If so you should be able to use check_disk or check_disk_smb depending on how it is set up.
http://nagios-plugins.org/doc/man/check_disk.html
http://nagios-plugins.org/doc/man/check_disk_smb.html
http://nagios-plugins.org/doc/man/check_disk.html
http://nagios-plugins.org/doc/man/check_disk_smb.html
Former Nagios employee
Re: Which script can help me monitor the Map Network Drive ?
The picture 64 show the Map Network Drive.
The picture 65 show the config of Map Network Drive in services.cfg.
The picture 66 show the status of the Y Drive .
So what's the problem with my configuration in services.cfg ?
How can I solve this problem to monitor the Y Drive ?
The picture 65 show the config of Map Network Drive in services.cfg.
The picture 66 show the status of the Y Drive .
So what's the problem with my configuration in services.cfg ?
How can I solve this problem to monitor the Y Drive ?
Re: Which script can help me monitor the Map Network Drive ?
Are your C:\ and E:\ services set up the same, except using different letters?
Former Nagios employee
Re: Which script can help me monitor the Map Network Drive ?
Everything I found says that you can not check mapped network drives using the NSClient software. It is a limitation of the NSClient software.
The suggestions that tmcdonald said in the earlier post would be a few ways to do this.
The suggestions that tmcdonald said in the earlier post would be a few ways to do this.
Be sure to check out our Knowledgebase for helpful articles and solutions!
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Which script can help me monitor the Map Network Drive ?
To provide some additional insight, this network drive will be shared from a specific server. You should monitor the free space of the drive from the server that hosts this share.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Which script can help me monitor the Map Network Drive ?
The real I want to monitor is the network driver whether mount on other servers .
Could any method solve this problem ?
Could any method solve this problem ?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Which script can help me monitor the Map Network Drive ?
Can you be a bit more specific? Elaborate more about it, give us a detailed example.wangyu wrote:network driver whether mount on other servers
A network drive is only mapped when a user logs onto a server. Unless you have your server always logged on, the drive will not be mapped after a server reboot or when a user logs out.
NSClient++ runs as the local service, you could configure the service to run as a specific user, that may work.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Which script can help me monitor the Map Network Drive ?
Box293, you said right
##########################################################################################################
A network drive is only mapped when a user logs onto a server. Unless you have your server always logged on, the drive will not be mapped after a server reboot or when a user logs out.
NSClient++ runs as the local service, you could configure the service to run as a specific user, that may work.
##########################################################################################################
I agree with you.
The AP server I monitor is product environment.
The user I log on is devadmin .
You said configure the service to run as a specific user, that may work.
Then I choose the log on as "devadmin" ,please see the picture 16.
After I do this operation,the status of Y drive is continue Unknown,please see the picture 17.
##########################################################################################################
A network drive is only mapped when a user logs onto a server. Unless you have your server always logged on, the drive will not be mapped after a server reboot or when a user logs out.
NSClient++ runs as the local service, you could configure the service to run as a specific user, that may work.
##########################################################################################################
I agree with you.
The AP server I monitor is product environment.
The user I log on is devadmin .
You said configure the service to run as a specific user, that may work.
Then I choose the log on as "devadmin" ,please see the picture 16.
After I do this operation,the status of Y drive is continue Unknown,please see the picture 17.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Which script can help me monitor the Map Network Drive ?
I've never tried what you said and I based on your tests I think you need to ask this question in the NSClient++ forums:
https://forums.nsclient.org/
https://forums.nsclient.org/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.