• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Solved MonitorFogStorage.sh Community Script

    Linux Problems
    2
    7
    466
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Greg Plamondon
      Greg Plamondon Testers last edited by Greg Plamondon

      @Wayne-Workman I am getting this output when running the cronjob…

      /root/git/community-scripts/MonitorFogStorageNodes/MonitorNodes.sh: line 29: [[: command not found
      /root/git/community-scripts/MonitorFogStorageNodes/MonitorNodes.sh: line 32: [[: command not found
      /root/git/community-scripts/MonitorFogStorageNodes/MonitorNodes.sh: line 35: [[: command not found
      

      I am running Centos 7

      Wayne Workman 1 Reply Last reply Reply Quote 0
      • Greg Plamondon
        Greg Plamondon Testers @Wayne Workman last edited by Greg Plamondon

        @wayne-workman
        That Worked!

        [root@10fogserver MonitorFogStorageNodes]# git log -1
        commit bb920e4367b5076ac2bb7bb70575ec4b647d5aee
        Author: wayneworkman <13314799+wayneworkman@users.noreply.github.com>
        Date:   Wed Feb 21 13:53:10 2018 -0600
        
            Fix spacing in evaluations
        [root@10fogserver MonitorFogStorageNodes]# ./MonitorNodes.sh
        [root@10fogserver MonitorFogStorageNodes]#
        

        Thanks @Wayne-Workman

        1 Reply Last reply Reply Quote 1
        • Wayne Workman
          Wayne Workman @Greg Plamondon last edited by Wayne Workman

          @greg-plamondon Pull and try again. I think it was a spacing problem.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          Greg Plamondon 1 Reply Last reply Reply Quote 0
          • Greg Plamondon
            Greg Plamondon Testers @Wayne Workman last edited by

            @wayne-workman
            I think i am on the latest…

            [root@10fogserver community-scripts]# git log -1
            commit 081a1ff34c09288019bdfd2cdb5e353a92841a18
            Merge: 69fd5cd 45d46f7
            Author: wayneworkman <13314799+wayneworkman@users.noreply.github.com>
            Date:   Sat Feb 3 09:02:12 2018 -0600
            
                Merge pull request #31 from wayneworkman/master
            
                Additions and changes
            [root@10fogserver community-scripts]#
            
            Wayne Workman 1 Reply Last reply Reply Quote 0
            • Wayne Workman
              Wayne Workman @Greg Plamondon last edited by Wayne Workman

              @greg-plamondon The script only has two commits. The second commit adds a shebang. Your copy of the community scripts is very outdated I believe - since that commit was pushed in 2016:
              https://github.com/FOGProject/fog-community-scripts/commits/master/MonitorFogStorageNodes/MonitorNodes.sh
              I imagine if you pull the latest, it’ll work fine.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              Greg Plamondon 1 Reply Last reply Reply Quote 0
              • Greg Plamondon
                Greg Plamondon Testers last edited by

                alt text

                Wayne Workman 1 Reply Last reply Reply Quote 0
                • Wayne Workman
                  Wayne Workman @Greg Plamondon last edited by Wayne Workman

                  @greg-plamondon Run it like ./blah instead of sh blah

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  157
                  Online

                  10.4k
                  Users

                  16.4k
                  Topics

                  150.5k
                  Posts

                  Copyright © 2012-2023 FOG Project