Hi Box293,
how can we define the service in the client?? can you share me so that i can test it??
Need help In Configuring check_winfile
-
- Posts: 52
- Joined: Fri Oct 10, 2014 3:17 pm
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Need help In Configuring check_winfile
Are you asking about how to hard code that argument on the NRPE host's end? Or setting up the service in Core? The How-To-Monitor sections here do a great job of showing examples:
http://nagios.sourceforge.net/docs/3_0/toc.html
http://nagios.sourceforge.net/docs/3_0/toc.html
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Need help In Configuring check_winfile
In your command file
In your service file
Code: Select all
define command{
command_name check_nrpe
command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ $ARG2$
}
Code: Select all
define service{
use generic-service
host_name winserver
service_description Files Check
check_command check_nrpe!CheckFiles!-a path='C:\\Program Files\\NSClient++\\' pattern=*.* 'master-syntax={%total% Files Found}' MaxWarn=500 MaxCrit=3000
}
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 52
- Joined: Fri Oct 10, 2014 3:17 pm
Re: Need help In Configuring check_winfile
Hi Box293,
Thanks a lot for the help it finally it worked.
Thanks a lot for the help guys
Thanks a lot for the help it finally it worked.
Thanks a lot for the help guys
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Need help In Configuring check_winfile
Excellent, glad we were able to help you out.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.