Announcement

Collapse
No announcement yet.

How to report uptime from sevral servers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to report uptime from sevral servers

    I am admin 50 servers, and every month i report the boots of the servers.
    To day i di this with an script.
    What i woud like is to automate this. And report to an *.txt. I have tested but i cant get it right, it looks like hyena cant run the uptime command on the server.

    To day my script starts the rcmd command on the server, and runs the uptime directly on the server, and i get the results i an dos box. And then i have to manualy type it inn an exel sheet.

    Jan Kaare

  • #2
    Re: How to report uptime from sevral servers

    You can export computer uptime using Hyena's Export function under File->Export->Computers. Check the box to Export Computer Uptime under options.

    To automate this you can use the command line version called exporter.exe in the Hyena directory. You can run this from a batch file and the syntax is:

    exporter.exe .\export.ini domain computer

    The domain and computer parameters are optional and allow you to specify a particular domain, or a particular computer that you want to report against.

    Comment


    • #3
      Re: How to report uptime from sevral servers

      Hi thanks for the reply.
      But it is not the solution for me, as this function only gives me the running time sinse last boot. What i need is every boot and down time the last month.
      ex:
      2/13/01 6:08:50 PM Shutdown Prior uptime:14d 0h:40m:48s
      2/13/01 6:10:58 PM Boot Prior downtime:0d 0h:2m:8s
      2/13/01 6:19:36 PM Shutdown Prior uptime:0d 0h:8m:38s
      2/13/01 6:21:46 PM Boot Prior downtime:0d 0h:2m:10s
      2/27/01 5:27:02 PM Shutdown Prior uptime:13d 23h:5m:16s
      2/27/01 5:29:14 PM Boot Prior downtime:0d 0h:2m:12s
      2/27/01 9:09:22 PM Shutdown Prior uptime:0d 3h:40m:8s
      2/27/01 9:14:04 PM Boot Prior downtime:0d 0h:4m:42s
      2/27/01 9:34:41 PM Shutdown Prior uptime:0d 0h:20m:37s
      2/27/01 10:08:03 PM Boot Prior downtime:0d 0h:33m:22s
      2/28/01 5:23:50 PM Shutdown Prior uptime:0d 19h:15m:47s
      2/28/01 10:12:27 PM Boot Prior downtime:0d 4h:48m:37s

      This is from the uptime i do manualy.

      Jan Kaare

      Comment


      • #4
        Re: How to report uptime from sevral servers

        The only suggestion here would be to schedule the command you are currently using in a batch file to run on the computer.

        You can redirect the output of the command to a file like:

        uptime >>c:\output.txt

        You should be able to cleanup that file a bit and import it into Access as a fixed width file.

        Comment


        • #5
          Re: How to report uptime from sevral servers

          jankare,

          I would be very interestd in the script you use to report on Uptime. If you could share it with me, I may be able to assist you in getting this data into a more manageable form.

          Please email me either way.

          Comment


          • #6
            Re: How to report uptime from sevral servers

            Then i need your e-mail adr.
            <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by Braunyaur:
            <span style="font-weight: bold">jankare,

            I would be very interestd in the script you use to report on Uptime. If you could share it with me, I may be able to assist you in getting this data into a more manageable form.

            Please email me either way.</span></div></div>

            Comment


            • #7
              Re: How to report uptime from sevral servers

              Ok then post your e-mail adr.

              Jankare

              Comment


              • #8
                Re: How to report uptime from sevral servers

                Ok then post your e-mail adr.

                Jankare

                Comment

                Working...
                X