4.0.0alpha.svn.7719
Amanda::Rest modules list
Amanda modules list
List of All Modules
All Amanda Releases

Amanda::Rest::Amcheck

NAME

Amanda::Rest::Amcheck -- Rest interface to Amanda::Amcheck

INTERFACE

Run amcheck
 request:
  POST localhost:5000/amanda/v1.0/configs/:CONFIG/amcheck
    query arguments:
        host=HOST
        disk=DISK               #repeatable
        hostdisk=HOST|DISK      #repeatable
        server=0|1
        client=0|1
        local=0|1
        tape=0|1

 reply:
  HTTP status: 200 Ok
  [
   {
      "code" : "2800027",
      "message" : "Amanda Tape Server Host Check",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "820"
   },
   {
      "code" : "2800028",
      "message" : "-----------------------------",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "821"
   },
   {
      "code" : "2800073",
      "message" : "Holding disk /amanda/h1/hdisk: 290584 MB disk space available, using 102400 MB as requested",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "1240"
   },
   {
      "code" : "123",
      "message" : "slot 1: volume 'TESTCONF-AA-vtapes-001'",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "749"
   },
   {
      "code" : "123",
      "message" : "Will write to volume 'TESTCONF-AA-vtapes-001' in slot 1.",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "749"
   },
   {
      "code" : "2800160",
      "message" : "Server check took 0.195 seconds",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "1746"
   },
   {
      "code" : "2800202",
      "message" : "Amanda Backup Client Hosts Check",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "2201"
   },
   {
      "code" : "2800203",
      "message" : "--------------------------------",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "2202"
   },
   {
      "code" : "2800204",
      "message" : "Client check: 1 hosts checked in 0.108 seconds.  0 problems found.",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "2237"
   },
   {
      "code" : "2800016",
      "message" : "(brought to you by Amanda 4.0.0alpha)",
      "severity" : "16",
      "source_filename" : "amcheck.c",
      "source_line" : "457"
   }
  ]

ABOUT THIS PAGE

This page was automatically generated Tue Mar 19 07:08:16 2019 from the Amanda source tree, and documents the most recent development version of Amanda. For documentation specific to the version of Amanda on your system, use the 'perldoc' command.


4.0.0alpha.svn.7719