WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 2a41d77

Browse files
Deploy to GitHub pages
1 parent 5556185 commit 2a41d77

File tree

4 files changed

+288
-287
lines changed

4 files changed

+288
-287
lines changed

Extensions/metrics/Prometheus/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
lnms<span class=w> </span>config:set<span class=w> </span>prometheus.prefix<span class=w> </span><span class=s1>&#39;librenms&#39;</span>
55
</code></pre></div> </div> <p>If your pushgateway uses basic authentication, configure the following:</p> <div class="admonition setting"> <p class=admonition-title>poller/prometheus</p> <div class=highlight><pre><span></span><code>lnms<span class=w> </span>config:set<span class=w> </span>prometheus.user<span class=w> </span>username
66
lnms<span class=w> </span>config:set<span class=w> </span>prometheus.password<span class=w> </span>password
7+
</code></pre></div> </div> <p>Additional settings</p> <div class="admonition setting"> <p class=admonition-title>poller/prometheus</p> <div class=highlight><pre><span></span><code>lnms<span class=w> </span>config:set<span class=w> </span>prometheus.attach_sysname<span class=w> </span><span class=nb>true</span>
78
</code></pre></div> </div> <h2 id=prefix>Prefix</h2> <p>Setting the 'prefix' option will cause all metric names to begin with the configured value.</p> <p>For instance without setting this option metric names will be something like this:</p> <div class=highlight><pre><span></span><code>OUTUCASTPKTS
89
ifOutUcastPkts_rate
910
INOCTETS

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)