Team,
Require plug in to check folder in a path for windows server.
please suggest on this. Thanks in Advance
Plug in for folder check
Re: Plug in for folder check
1. What is your server topology like?
2. Is this folder part of a Windows shared folder? Can you mount it somewhere? Is it mounted somewhere on the Nagios XI server?
3. Are you using NCPA to run any checks on the Windows server already?
4. What are you checking about the folder?
5. What are the requirements for monitoring the server itself: If the server is down do you want a notification? Are there already notifications in place for this?
2. Is this folder part of a Windows shared folder? Can you mount it somewhere? Is it mounted somewhere on the Nagios XI server?
3. Are you using NCPA to run any checks on the Windows server already?
4. What are you checking about the folder?
5. What are the requirements for monitoring the server itself: If the server is down do you want a notification? Are there already notifications in place for this?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Plug in for folder check
Hi Dchurch,
Thanks for your response.
1. What is your server topology like?
It is a application server, and which process the transaction logs
2. Is this folder part of a Windows shared folder? Can you mount it somewhere? Is it mounted somewhere on the Nagios XI server?
yes..the folder is part of windows server and folder mounted in same server to one of the disk and its not mounted in nagios server
3. Are you using NCPA to run any checks on the Windows server already?
we are using check_file plug in to check the files in folder at particular time. but this time we want to check the folder in shared path.
4. What are you checking about the folder?
we have a path in server, at some point of time files processed in a folder and archived in sometime.if files doesn't processed in that folder
nagios has to trigger alert like files not processed in folder
5. What are the requirements for monitoring the server itself: If the server is down do you want a notification? Are there already notifications in place for this?
we have already placed all services in monitoring for that server.
Thanks in advance for for your reply.
Regards,
Chandra
Thanks for your response.
1. What is your server topology like?
It is a application server, and which process the transaction logs
2. Is this folder part of a Windows shared folder? Can you mount it somewhere? Is it mounted somewhere on the Nagios XI server?
yes..the folder is part of windows server and folder mounted in same server to one of the disk and its not mounted in nagios server
3. Are you using NCPA to run any checks on the Windows server already?
we are using check_file plug in to check the files in folder at particular time. but this time we want to check the folder in shared path.
4. What are you checking about the folder?
we have a path in server, at some point of time files processed in a folder and archived in sometime.if files doesn't processed in that folder
nagios has to trigger alert like files not processed in folder
5. What are the requirements for monitoring the server itself: If the server is down do you want a notification? Are there already notifications in place for this?
we have already placed all services in monitoring for that server.
Thanks in advance for for your reply.
Regards,
Chandra
Re: Plug in for folder check
Unfortunately NCPA doesn't have a way to do this out of the box. You might find a plugin on the Exchange to check file count, sizes, etc. If you can, then you could add that to NCPA's plugins directory, and perform your check that way.tchandra wrote:we have a path in server, at some point of time files processed in a folder and archived in sometime.if files doesn't processed in that folder
nagios has to trigger alert like files not processed in folder
This can be done with NRPE, however. Here's an example folder file count check using check_nrpe:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -c check_files -a path='D:\\import\\faxin' pattern=*.* 'warning=count>100' 'critical=count>150'See also this forum post for someone with a similar monitoring task.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.