ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Sparkum
    3. Posts
    S
    • Profile
    • Following 4
    • Followers 1
    • Topics 33
    • Posts 424
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Download and Delete from Source every 5 minutes (Ubuntu)

      @scottalanmiller

      Ooh ok gotcha,
      I assumed I mounted and then simply went from mnt/server to local kinda thing.

      Looking into NFS right now as well.

      Thanks

      posted in IT Discussion
      S
      Sparkum
    • RE: Download and Delete from Source every 5 minutes (Ubuntu)

      @scottalanmiller

      Because thats what was suggested below, thats about it.

      And what should I use to mount between linux machines?

      posted in IT Discussion
      S
      Sparkum
    • RE: Download and Delete from Source every 5 minutes (Ubuntu)

      @scottalanmiller

      Trying to mount using /etc/fstab

      So I'm doing...

      //XXX.XXX.XXX.XXX/var/www/completed /mnt/ftp cifs username=root,password=PASSWORD,iocharset=utf8,sec=ntlm,dir_mode=0777,file_mode=0777 0 0

      but I'm getting error code 115

      So I'm wondering if there's a certain port that needs to be opened up, or a typical thing that has to be done when connecting to remote computers (both ubuntu 14.04)

      posted in IT Discussion
      S
      Sparkum
    • RE: Download and Delete from Source every 5 minutes (Ubuntu)

      I'm trying to mount the drive under /etc/fstab but I cant seem to get it to work.

      I have my local windows drive mounted, just cant get the remote Ubuntu drive mounted.

      I'm assuming my problem child will either be firewall or port, does anyone know what port mounting the drive takes on Ubuntu?

      posted in IT Discussion
      S
      Sparkum
    • RE: Download and Delete from Source every 5 minutes (Ubuntu)

      Alright think I've got it

      So mount my drives with fstab and then just a simple

      rsync --remove-source-files -options /path/to/src/ /path/to/dest

      posted in IT Discussion
      S
      Sparkum
    • RE: Download and Delete from Source every 5 minutes (Ubuntu)

      No problem using rsync with a ftp I assume?

      posted in IT Discussion
      S
      Sparkum
    • RE: Download and Delete from Source every 5 minutes (Ubuntu)

      @DustinB3403
      Would there be a way to script it in that it checks, if it sees the file the same (source vs remote) that it deleted?

      Just trying to think of the best way to do it so it doesnt just delete the whole folder without getting them all)

      posted in IT Discussion
      S
      Sparkum
    • RE: Download and Delete from Source every 5 minutes (Ubuntu)

      Its just moving files from location 1 to location 2

      So essentially whenever a file appears (my random number was 5 minutes) to download the file from source and delete it.

      Remote source moves file into location
      Ubuntu server see's a new file
      Downloads File
      Deletes
      Repeat

      But as its downloading the files, new ones could appear so it couldnt just do a blanket delete, would have to be specific

      posted in IT Discussion
      S
      Sparkum
    • Download and Delete from Source every 5 minutes (Ubuntu)

      Hey all.

      As some of you may have noticed I've been asking a bunch of linux questions, trying to move jobs from windows and simply learn....so here's my next one.

      I currently have this software I use on windows that will download files from a server, then delete the source, every 5 minutes (however it could take hours to finish)

      Now from quickly googling I believe I would be doing a Cron job to...rsync?
      Is that my best option?

      How would you Ubuntu experts handle this.

      Thanks!

      posted in IT Discussion
      S
      Sparkum
    • RE: New Thermostat

      @scottalanmiller

      We use these at work, we use the commercial one not the home one.

      I forget exactly why, but there was a feature is commercial that set it apart from home (atleast about 18 months ago) outside temp or something?

      Initial programming was sure annoying, took us prob atleast 2 months to get it perfect, and we go in once to essentially change it from summer mode to winter mode.

      So to make it black and white, in a 2 floor business office we look at our thermostat at most twice a year.

      posted in IT Discussion
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      @Romo

      I'm getting closer!

      So the only thing I did from what you wrote was

      Hostname= FQDN of windows host
      

      But after that I have a red Z!
      Progress!

      Currently getting

       Get value from agent failed: ZBX_TCP_READ() failed: [104] Connection reset by peer
      

      I'll try to google my way through that now!

      Thanks

      posted in IT Discussion
      S
      Sparkum
    • RE: Nextcloud 10 is out with a brand new monitoring app, extensive workflow handling, usability improvements and much more.

      So just doing some quick google searching the Owncloud founder broke off and did Nextcloud?

      Is that correct?

      Is so this is awesome because I was just about to install Owncloud, newer is always better!

      posted in News
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      @Romo

      https://www.dropbox.com/s/23eek30r787pa1e/zabbix_agentd.txt?dl=0

      posted in IT Discussion
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      Anyone have anymore ideas on what I should try to get the windows agent to communicate with my server?

      Want any config files?

      posted in IT Discussion
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      @Romo

      sparkum@Zabbix:~$ sudo firewall-cmd --permanent --list-all
      public (default)
      interfaces:
      sources:
      services: dhcpv6-client ssh
      ports: 10050/tcp http/tcp 10051/tcp
      masquerade: no
      forward-ports:
      icmp-blocks:
      rich rules:
      
      posted in IT Discussion
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      @dafyre

      Yep I've reloaded and rebooted.

      posted in IT Discussion
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      @dafyre

      Well I did this

      firewall-cmd --permanent --add-port=10051/tcp
      firewall-cmd --permanent --add-port=10050/tcp

      So I assume yes?

      How exactly would I check, sorry

      posted in IT Discussion
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      @dafyre

      Both are set to 192.168.1.167 (which is internal IP of zabbix server)

      And I created inbound and outbound rules for 10050 and 10051

      posted in IT Discussion
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      @Romo

      Zabbix is working, zabbix agent on the server is working, just cant get any communication from windows agent, so not sure if you have any experience with the windows agent or not.

      posted in IT Discussion
      S
      Sparkum
    • RE: Install Zabbix on CentOS 7

      @Romo

      Sorry just a screenshot of my dashboard?

      Yep, host is enabled.

      I'm getting stats from the Zabbix agent, just now windows agent.

      0_1472064751862_Zabbix.PNG

      posted in IT Discussion
      S
      Sparkum
    • 1
    • 2
    • 3
    • 4
    • 5
    • 21
    • 22
    • 3 / 22