perfsonar / perfsonar/toolkit

servicewatcher issues docs and non-matching config

Open
#402 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
37
Forks
7
PR merge metrics
No merged PRs in 30d

Description

There are several issues with servicewatcher:

  1. as far as I can tell this is the only documentation about it: http://docs.perfsonar.net/config_files.html?highlight=servicewatcher#regular-service-restarts-and-maintenance

  2. the defaults are confusing:

The only configuration found is;

/etc/perfsonar/toolkit/servicewatcher.conf
/etc/perfsonar/toolkit/servicewatcher-logger.conf

Still Cron "cron-service_watcher" runs a script, which applies these defaults

my $default_config             = "/etc/perfsonar/servicewatcher.conf";
my $default_logger_config      = "/etc/perfsonar/servicewatcher-logger.conf";

which apparently don't match.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the servicewatcher documentation at docs.perfsonar.net/config_files.html and the cron entry named cron-service_watcher. Compare the documented configuration paths with servicewatcher.conf and servicewatcher-logger.conf under /etc/perfsonar/toolkit and the paths used by the script. Done means the configuration defaults and documentation consistently identify the files that servicewatcher actually uses.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
devops, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.