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

MonitorFogStorage.sh Community Script

Scheduled Pinned Locked Moved Solved
Linux Problems
2
7
1.0k
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.
  • G
    Greg Plamondon Testers
    last edited by Greg Plamondon Feb 21, 2018, 10:31 AM Feb 21, 2018, 4:30 PM

    @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

    W 1 Reply Last reply Feb 21, 2018, 6:06 PM Reply Quote 0
    • W
      Wayne Workman @Greg Plamondon
      last edited by Wayne Workman Feb 21, 2018, 12:06 PM Feb 21, 2018, 6:06 PM

      @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
      • G
        Greg Plamondon Testers
        last edited by Feb 21, 2018, 6:26 PM

        alt text

        W 1 Reply Last reply Feb 21, 2018, 6:35 PM Reply Quote 0
        • W
          Wayne Workman @Greg Plamondon
          last edited by Wayne Workman Feb 21, 2018, 12:35 PM Feb 21, 2018, 6:35 PM

          @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/

          G 1 Reply Last reply Feb 21, 2018, 7:08 PM Reply Quote 0
          • G
            Greg Plamondon Testers @Wayne Workman
            last edited by Feb 21, 2018, 7:08 PM

            @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]#
            
            W 1 Reply Last reply Feb 21, 2018, 7:51 PM Reply Quote 0
            • W
              Wayne Workman @Greg Plamondon
              last edited by Wayne Workman Feb 21, 2018, 1:53 PM Feb 21, 2018, 7:51 PM

              @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/

              G 1 Reply Last reply Feb 21, 2018, 9:50 PM Reply Quote 0
              • G
                Greg Plamondon Testers @Wayne Workman
                last edited by Greg Plamondon Feb 21, 2018, 3:53 PM Feb 21, 2018, 9:50 PM

                @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
                • 1 / 1
                1 / 1
                • First post
                  2/7
                  Last post

                214

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project