Skip to content

GermanS/metacpan-monitoring

Repository files navigation

SYNOPSIS

Swat tests for metacpan.org

This is simple test suit could be used in monitoring/deployment.

Checks perfomed

  • check if landing page is accessible
  • check if modules search is working properly
  • check if latest releases page/feed is accessible and returns not empty results
  • check if latest release at https://metacpan.org/feed/recent?f= is not older than 4 hours ago

INSTALL

yum install curl
carton install

RUN TESTS

carton exec swat 

Settings

  • latest_rs_age - define critical age in hours for a latest release appeared at https://metacpan.org/feed/recent?f= , if latest release's age more then latest_rs_age hours this is considered as feed freeze failure. Default value is 4.

      # check that releases come to metacpan every 1 hour
      echo latest_rs_age=1 >> swat.my
    

COPYRIGHT

Copyright 2015 Alexey Melezhik.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

About

Monitoring metacpan

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Other 44.4%
  • Perl 41.7%
  • Shell 13.9%