Monitoring the Upload of files

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venus1022
Posts: 2
Joined: Thu Oct 23, 2014 4:05 pm

Monitoring the Upload of files

Post by venus1022 »

Hi there,
We have a requirement to monitor two Linux Cent OS 7 servers for any files that are uplaoded from the server to another server. The reason for the monitoring is that we will be providing access to outside consultants and we want the ability to monitor if any files are uplaoded from the server that might contain our intellectual property. From my research online this type of monitoring does not seem to be available on the Linux operating system. Can you advise if this would be possible using Nagios?

Thank you.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring the Upload of files

Post by tmcdonald »

The hardest part of this would be creating the actual script that looks for I.P. on the server. I'm really not sure how you would go about that manually (grepping for keywords?) but if it is something you can put in a bash script or something similar, it can certainly be checked by Nagios.
Former Nagios employee
venus1022
Posts: 2
Joined: Thu Oct 23, 2014 4:05 pm

Re: Monitoring the Upload of files

Post by venus1022 »

Hi there,
The IP would not need to be identified by keywords. Instead we want the ability to review all uploads by file name, file location, date, time, and user logged in.

For example

index.html html/app/etc 10/23/14 3:08pm username1
register.html html/app/etc 10/23/14 4:05pm username2

You mentioned a script. Would that be something that you or Nagios could provide me? Or is that something I would need to develop?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitoring the Upload of files

Post by sreinhardt »

This sounds like a perfect use for Nagios Log Server. Nagios XI is not really suited for this kind of monitoring unless your software is able to alert nagios when a connection and file have been made. However log server would have no troubles reading your logs in, and alerting based on patterns and filters for those logs. Additionally, you can then link log server and XI to have log server send alerts to XI!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked