Skip to content

Commit 3c1182d

Browse files
authored
Merge pull request #49 from wbollock/fix/org_name
fix: linode-obs org name
2 parents eda6683 + ee873b2 commit 3c1182d

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

.all-contributorsrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
"repoType": "github",
2323
"repoHost": "https://github.com",
2424
"projectName": "nagios_exporter",
25-
"projectOwner": "linode_obs"
25+
"projectOwner": "linode-obs"
2626
}

.goreleaser.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ changelog:
3838
dockers:
3939
# build latest and specific tag version images
4040
- image_templates:
41-
- "ghcr.io/linode_obs/{{.ProjectName}}:{{ .Tag }}"
42-
- "ghcr.io/linode_obs/{{.ProjectName}}:latest"
41+
- "ghcr.io/linode-obs/{{.ProjectName}}:{{ .Tag }}"
42+
- "ghcr.io/linode-obs/{{.ProjectName}}:latest"
4343
goos: linux
4444
goarch: amd64
4545
use: docker
@@ -49,7 +49,7 @@ dockers:
4949
- "--label=org.opencontainers.image.title={{.ProjectName}}"
5050
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
5151
- "--label=org.opencontainers.image.version={{.Version}}"
52-
- "--label=org.opencontainers.image.source=https://github.com/linode_obs/nagios_exporter"
52+
- "--label=org.opencontainers.image.source=https://github.com/linode-obs/nagios_exporter"
5353
- "--label=org.opencontainers.image.description='A Prometheus Exporter for Nagios'"
5454
- "--label=org.opencontainers.image.licenses=MIT"
5555
nfpms:
@@ -69,7 +69,7 @@ nfpms:
6969
description: |
7070
A Prometheus Nagios Exporter that provides information
7171
on the current state of a Nagios application and configuration.
72-
homepage: "https://github.com/linode_obs/nagios_exporter"
72+
homepage: "https://github.com/linode-obs/nagios_exporter"
7373
license: "MIT"
7474
# TODO - changelog?
7575
#changelog: "changelog.yaml"

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
# nagios_exporter
66

7-
![Github Release Downloads](https://img.shields.io/github/downloads/linode_obs/nagios_exporter/total.svg)
8-
[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/linode_obs/nagios_exporter/blob/master/LICENSE)
9-
[![golangci-lint](https://github.com/linode_obs/nagios_exporter/actions/workflows/golangci-lint.yaml/badge.svg)](https://github.com/linode_obs/nagios_exporter/actions/workflows/golangci-lint.yaml)
10-
![Go Report Card](https://goreportcard.com/badge/github.com/linode_obs/nagios_exporter)
11-
[![contributions](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat")](https://github.com/linode_obs/nagios_exporter/issues)
7+
![Github Release Downloads](https://img.shields.io/github/downloads/linode-obs/nagios_exporter/total.svg)
8+
[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/linode-obs/nagios_exporter/blob/master/LICENSE)
9+
[![golangci-lint](https://github.com/linode-obs/nagios_exporter/actions/workflows/golangci-lint.yaml/badge.svg)](https://github.com/linode-obs/nagios_exporter/actions/workflows/golangci-lint.yaml)
10+
![Go Report Card](https://goreportcard.com/badge/github.com/linode-obs/nagios_exporter)
11+
[![contributions](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat")](https://github.com/linode-obs/nagios_exporter/issues)
1212

1313
A Prometheus exporter currently supporting:
1414

@@ -57,7 +57,7 @@ This exporter does not output Nagios check results as Prometheus metrics; it is
5757
Substitute `{{ version }}` for your desired release.
5858

5959
```bash
60-
wget https://github.com/linode_obs/nagios_exporter/releases/download/v{{ version }}/prometheus-nagios-exporter_{{ version }}_linux_amd64.{deb,rpm}
60+
wget https://github.com/linode-obs/nagios_exporter/releases/download/v{{ version }}/prometheus-nagios-exporter_{{ version }}_linux_amd64.{deb,rpm}
6161
{dpkg,rpm} -i prometheus-nagios-exporter_{{ version }}_linux_amd64.{deb,rpm}
6262
```
6363

@@ -68,22 +68,22 @@ Populate `config.toml` with your `APIKey = NagiosXIAPIKey`
6868
```console
6969
sudo docker run \
7070
-v ./config.toml:/etc/prometheus-nagios-exporter/config.toml \
71-
ghcr.io/linode_obs/nagios_exporter \
71+
ghcr.io/linode-obs/nagios_exporter \
7272
--nagios.scrape-uri http://localhost
7373
```
7474

7575
### Binary
7676

7777
```bash
78-
wget https://github.com/linode_obs/nagios_exporter/releases/download/v{{ version }}/nagios_exporter_{{ version }}_Linux_x86_64.tar.gz
78+
wget https://github.com/linode-obs/nagios_exporter/releases/download/v{{ version }}/nagios_exporter_{{ version }}_Linux_x86_64.tar.gz
7979
tar xvf nagios_exporter_{{ version }}_Linux_x86_64.tar.gz
8080
./nagios_exporter/prometheus-nagios-exporter
8181
```
8282

8383
### Source
8484

8585
```bash
86-
wget https://github.com/linode_obs/nagios_exporter/archive/refs/tags/v{{ version }}.tar.gz
86+
wget https://github.com/linode-obs/nagios_exporter/archive/refs/tags/v{{ version }}.tar.gz
8787
tar xvf nagios_exporter-{{ version }}.tar.gz
8888
cd ./nagios_exporter-{{ version }}
8989
go build nagios_exporter.go
@@ -271,7 +271,7 @@ goreleaser release
271271
<table>
272272
<tbody>
273273
<tr>
274-
<td align="center"><a href="https://github.com/tjhop"><img src="https://avatars.githubusercontent.com/u/33664289?v=4?s=100" width="100px;" alt="TJ Hoplock"/><br /><sub><b>TJ Hoplock</b></sub></a><br /><a href="https://github.com/linode_obs/nagios_exporter/commits?author=tjhop" title="Code">💻</a> <a href="#mentoring-tjhop" title="Mentoring">🧑‍🏫</a></td>
274+
<td align="center"><a href="https://github.com/tjhop"><img src="https://avatars.githubusercontent.com/u/33664289?v=4?s=100" width="100px;" alt="TJ Hoplock"/><br /><sub><b>TJ Hoplock</b></sub></a><br /><a href="https://github.com/linode-obs/nagios_exporter/commits?author=tjhop" title="Code">💻</a> <a href="#mentoring-tjhop" title="Mentoring">🧑‍🏫</a></td>
275275
</tr>
276276
</tbody>
277277
</table>

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/linode_obs/nagios_exporter
1+
module github.com/linode-obs/nagios_exporter
22

33
go 1.19
44

nagios_exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"strings"
1515
"time"
1616

17-
"github.com/linode_obs/nagios_exporter/get_nagios_version"
17+
"github.com/linode-obs/nagios_exporter/get_nagios_version"
1818

1919
"github.com/BurntSushi/toml"
2020
"github.com/hashicorp/go-version"

nfpm/systemd/prometheus-nagios-exporter.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Unit]
22
Description=Nagios Exporter
3-
Documentation=https://github.com/linode_obs/nagios_exporter
3+
Documentation=https://github.com/linode-obs/nagios_exporter
44
Wants=network-online.target nagios.service
55
After=network-online.target nagios.service
66

tests/get_nagios_version_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77

88
log "github.com/sirupsen/logrus"
9-
"github.com/linode_obs/nagios_exporter/get_nagios_version"
9+
"github.com/linode-obs/nagios_exporter/get_nagios_version"
1010
)
1111

1212
func TestGetStringFromWebpage(t *testing.T) {

0 commit comments

Comments
 (0)