Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ jobs:
- run: sudo apt-get update
- run: sudo apt-get install help2man tofrodos
- run: |
echo "Creating dist folder for linux/osx"
echo "Creating dist folder for Linux/macOS"
make dist
rm dist/snclient
- uses: actions/upload-artifact@main
Expand Down Expand Up @@ -692,7 +692,7 @@ jobs:
- uses: actions/download-artifact@main
with:
name: "${{ env.BIN }}.pkg"
- name: "OSX Integration Tests"
- name: "macOS Integration Tests"
run: |
mv ${{ env.BIN }}.pkg t/snclient.pkg
cd t
Expand Down
10 changes: 5 additions & 5 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ next:
- update windows exporter to 0.31.3
- chore: update dependencies
- change minimum golang requirement to 1.24.6
- osx:
- macOS:
- fix corrupted json output (invalid character '\x00' looking for beginning of object key string)

0.36 Tue Jul 29 14:24:04 CEST 2025
Expand Down Expand Up @@ -296,7 +296,7 @@ next:

0.21 Thu Mar 28 17:18:25 CET 2024
- add http config ini includes
- add osx pkg uninstaller
- add macOS pkg uninstaller
- add check_eventlog support for unique-index (mlueckert)
- add check_os_version add os name
- add os and version to inventory
Expand Down Expand Up @@ -392,12 +392,12 @@ next:
- add /api/v1/admin/reload rest endpoint to initialize config changes
- add /api/v1/admin/certs/replace rest endpoint to replace certificates
- support different allowed hosts settings for each web handler
- fix cpu check on osx not returning metrics
- fix cpu check on macOS not returning metrics

0.13 Thu Nov 23 22:20:21 CET 2023
- drop privileges when running node exporter
- update node exporter to 1.7.0
- add node exporter to osx packages
- add node exporter to macOS packages
- add check_load plugin
- improve docs and help pages
- add folder size support to check_files (#38)
Expand Down Expand Up @@ -459,7 +459,7 @@ next:
- add conf.d directory support for includes
- added check_tasksched
- added nrpe mode to test cmd
- fix osx installer (#27)
- fix macOS installer (#27)
- fix linux check_drivesize (#14)
- fix missing byte in nrpe response (#21)

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ SED=sed -i
GO=go
CGO_ENABLED=0

# OSX must be build with CGO enabled, otherwise we don't get cpu metrics
# macOS must be build with CGO enabled, otherwise we don't get cpu metrics
DARWIN=0
ifeq ($(shell uname),Darwin)
DARWIN=1
Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the number of TCP connections.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:-------:|:------------------:|
| :white_check_mark: | :white_check_mark: | | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the CPU usage metrics.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_cpu_utilization.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the CPU utilization metrics.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_drive_io.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the disk I/O on the host.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_drivesize.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the disk drive/volumes usage on a host.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_dummy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This check simply sets the state to the given value and outputs the remaining ar

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
6 changes: 3 additions & 3 deletions docs/checks/commands/check_eventlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ of the WMI query when possible, the filter is still applied to the returned even

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
|:------------------:|:-----:|:-------:|:------:|
| :white_check_mark: | | | |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:-----:|:-------:|:-----:|
| :white_check_mark: | | | |

## Argument Defaults

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks files and directories.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Returns list of all known checks.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
6 changes: 3 additions & 3 deletions docs/checks/commands/check_kernel_stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Checks some metrics of the Linux kernel. Currently supports context switches, pr

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
|:-------:|:------------------:|:-------:|:------:|
| | :white_check_mark: | | |
| Windows | Linux | FreeBSD | macOS |
|:-------:|:------------------:|:-------:|:-----:|
| | :white_check_mark: | | |

## Argument Defaults

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_load.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the CPU load metrics.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_logfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ See [here](https://github.com/bmatcuk/doublestar#patterns) for details on the pa

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_mailq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the mailq.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:-------:|:------------------:|:------------------:|:------------------:|
| | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Read more on Windows virtual address space [here](https://learn.microsoft.com/en

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_mount.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the status for a mounted filesystem

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_multi.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This can be executed with <code>check_multi "config=myscript"</code>.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the state and metrics of network interfaces.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
4 changes: 2 additions & 2 deletions docs/checks/commands/check_ntp_offset.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the NTP offset.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand All @@ -33,7 +33,7 @@ Checks the NTP offset.
| Argument | Description |
| -------- | ---------------------------------------------------------------------------------------------------------- |
| server | Fetch offset from these NTP servers. First valid response is used. |
| source | Set source of time data instead of automatic detection. Valid values are: auto, timedatectl, ntpq, chronyc, osx, w32tm. |
| source | Set source of time data instead of automatic detection. Valid values are: auto, timedatectl, ntpq, chronyc, macos, w32tm. |

## Attributes

Expand Down
6 changes: 3 additions & 3 deletions docs/checks/commands/check_omd.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Check OMD site status.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
|:-------:|:------------------:|:-------:|:------:|
| | :white_check_mark: | | |
| Windows | Linux | FreeBSD | macOS |
|:-------:|:------------------:|:-------:|:-----:|
| | :white_check_mark: | | |

## Argument Defaults

Expand Down
4 changes: 2 additions & 2 deletions docs/checks/commands/check_os_updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks for OS system updates.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:-------:|:------------------:|
| :white_check_mark: | :white_check_mark: | | :white_check_mark: |

Expand All @@ -32,7 +32,7 @@ Checks for OS system updates.
| Argument | Description |
| ---------------------- | -------------------------------------------------------------------------------------------- |
| -m\|--max-metadata-age | Fail with UNKNOWN if the repository metadata (apt/yum/dnf) is older than this duration, e.g. 48h (default: 24h) |
| -s\|--system | Package system: auto, apt, yum, osx and windows (default: auto) |
| -s\|--system | Package system: auto, apt, yum, macos and windows (default: auto) |
| -u\|--update | Update package list (if supported, e.g. apt-get update) |

## Attributes
Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_os_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the os system version.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
6 changes: 3 additions & 3 deletions docs/checks/commands/check_pagefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Checks the pagefile usage.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
|:------------------:|:-----:|:-------:|:------:|
| :white_check_mark: | | | |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:-----:|:-------:|:-----:|
| :white_check_mark: | | | |

## Argument Defaults

Expand Down
6 changes: 3 additions & 3 deletions docs/checks/commands/check_pdh.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Checks PDH paths and handles wildcard expansion.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
|:------------------:|:-----:|:-------:|:------:|
| :white_check_mark: | | | |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:-----:|:-------:|:-----:|
| :white_check_mark: | | | |

## Check Specific Arguments

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_ping.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the ICMP ping connection.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the state and metrics of one or multiple processes.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
6 changes: 3 additions & 3 deletions docs/checks/commands/check_service_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ There is a specific [check_service for Windows](../check_service_windows) as wel

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
|:-------:|:------------------:|:-------:|:------:|
| | :white_check_mark: | | |
| Windows | Linux | FreeBSD | macOS |
|:-------:|:------------------:|:-------:|:-----:|
| | :white_check_mark: | | |

## Argument Defaults

Expand Down
6 changes: 3 additions & 3 deletions docs/checks/commands/check_service_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ There is a specific [check_service for Linux](../check_service_linux) as well.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
|:------------------:|:-----:|:-------:|:------:|
| :white_check_mark: | | | |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:-----:|:-------:|:-----:|
| :white_check_mark: | | | |

## Argument Defaults

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_snclient_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Check and return SNClient version.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:------------------:|:------------------:|
| :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_swap_io.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Checks the swap I/O rate on the host.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:-------:|:------------------:|:------------------:|:------------------:|
| | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
6 changes: 3 additions & 3 deletions docs/checks/commands/check_tasksched.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Check status of scheduled jobs

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
|:------------------:|:-----:|:-------:|:------:|
| :white_check_mark: | | | |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:-----:|:-------:|:-----:|
| :white_check_mark: | | | |

## Argument Defaults

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/commands/check_temperature.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Check temperature sensors.

## Implementation

| Windows | Linux | FreeBSD | MacOSX |
| Windows | Linux | FreeBSD | macOS |
|:------------------:|:------------------:|:-------:|:------------------:|
| :white_check_mark: | :white_check_mark: | | :white_check_mark: |

Expand Down
Loading
Loading