prtg_client_util

command module
v0.0.0-...-0fa2c40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

PRTG_Client_Util

Custom sensor for PRTG to allow you to check a clients view of

  • DNS, Can client resolve dns queries
  • Ping, Ping hosts and measure response times and packet loss for multiple hosts
  • NTP, Measure time drift of client time to NTP server
  • sshremote, run a version of this app remotely through a jumpbox/proxy
  • genDocs, Generate documentation

Tested with PRTG Version 19.3.51.2722 XMR-Stak Version 2.10.4

Place binary in PRTG folder on monitored host (this may be different on your install)

  • Windows: C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML
  • Linux: /var/prtg/scriptsxml

This can also be compiled onto any Golang supported platform

Linux and windows versions will be found in the release pages of Github

Note on Linux Support:

This library attempts to send an "unprivileged" ping via UDP.

On linux, this must be enabled on the client by setting

sudo sysctl -w net.ipv4.ping_group_range="0   2147483647"

See this blog and the Go icmp library for more details.

To compile this yourself you need to...

  • install Golang
  • download or clone repo
  • run go get to download required packages
  • run go build
  • move the binary to the correct place

There are likely to be other small steps here as things may vary on your systems, If you need a OS binary and not in a rush drop me a request

Add this to PRTG as an advanced custom exe / ssh script

Please see individual docs for usage or use genDocs subcommand to generate man or rest format prtg_util genDocs

If you feel like saying thanks
XMR: 49QA139gTEVMDV9LrTbx3qGKKEoYJucCtT4t5oUHHWfPBQbKc4MdktXfKSeT1ggoYVQhVsZcPAMphRS8vu8oxTf769NDTMu

With thanks to Jetbrains and their support of the open source community

Documentation

Overview

Copyright © 2019 mutl3y

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL