FOG Project

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

    Extended fog variables

    General
    4
    6
    98
    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.
    • P
      pete last edited by

      Re: Extended fog variables problem.

      Hey I have the same problem on the newest version of fog 1.5.7.
      I can’t get the script to work.

      curl -A "" -Lkso /tmp/hinfo.sh ${web}service/hostinfo.php -d "mac=$mac"
      

      Gives me hinfo.sh that outputs:

      Invalid tasking!
      

      If I use the curl command without the -A the cat/tmp/hinfo.sh outputs Cannot view from browser.

      The web url is good because without the mac the output was Invalid MAC Address!

      So the problem in the code is the -A argument of curl.

      Anyone know a solution?

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator @Sebastian Roth last edited by Sebastian Roth

        @Sebastian-Roth @pete Tested a host with debug tasking. With the -A ""
        argument it works fine, without it Cannot view from browser

        1 Reply Last reply Reply Quote 1
        • george1421
          george1421 Moderator @Sebastian Roth last edited by

          @Sebastian-Roth I can confirm it as soon as I get home in a bit.

          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!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator last edited by

            @george1421 @Greg-Plamondon Can anyone of you confirm this is an issue with FOG 1.5.7?

            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            george1421 Q 2 Replies Last reply Reply Quote 0
            • P
              pete last edited by pete

              I had a debug task running through the web GUI.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator last edited by

                @pete said in Extended fog variables:

                Invalid tasking!

                The message seems pretty clear. There is no valid task scheduled for this host at the moment this is running. So I am wondering if you scheduled a task in the web UI or if you try to directly deploy from the iPXE FOG menu?

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                226
                Online

                10.2k
                Users

                16.3k
                Topics

                149.9k
                Posts

                Copyright © 2012-2020 FOG Project