====================================
Component
Version
LibreNMS
1.35-133-g87ce23b
DB Schema
230
PHP
7.0.22-0ubuntu0.16.04.1
MySQL
10.0.33-MariaDB-0ubuntu0.16.04.1
RRDTool
1.5.5
SNMP
NET-SNMP 5.7.3
https://p.libren.ms/view/9b82ecc0
https://p.libren.ms/view/057f1061
https://p.libren.ms/view/f758f197
Device being polled is just a Linux box but for what ever reason CPU and MEMORY are not being polled.
Can you try this and see if it works for processor usage for you?
librenms:master
← murrant:processor-class
opened 10:38PM - 09 Jan 18 UTC
**If you are having issues with this change, make sure you update again, a fix h… as been merged: #8202**
# Generic changes
YAML definition support!
HOST-RESOURCES-MIB is now only tried if no other processors are found. (before was always ran)
UCD-SNMP-MIB is tried if if HOST-RESOURCES-MIB finds no processors (before was never tried, except manually selected os)
More generic and reusable discovery/poller module infrastructure.
# Processor types that are fixed
bdcom
binos
riverbed
saf-integra
ftos/dnos C Series
powerconnect Some models (changed index too)
enterasys (changed index too)
zynos (maybe)
# New support added
dnos Z Series
# Processors that will lose historical data
You can restore the old data by renaming the file to the new file name after the change.
## Changed index
fiberhome
## Changed to standard hr mib
axos
calix
dsm
## Changed to standard ucd mib
hpblmos
# Missing test data
vrp
* Most have guessed data based on previous processor discovery files. This is usually indicated by usage % of 42.
DO NOT DELETE THIS TEXT
#### Please note
> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.
- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
fixes: #8098
Hi Murrant,
Thanks for the speedy reply. Do I just fork the main repo and then follow:
https://docs.librenms.org/#Developing/Using-Git/
To get the pull request working?
Because at the moment when I run ./scripts/github-apply 5926 i get errors
Checking patch .github/PULL_REQUEST_TEMPLATE.md…
error: while searching for:
[ ] Have you signed the Contributors agreement - please do NOT submit a pull request unless you have (signing the agreement in the same pull request is fine). Your commit message for signing the agreement must appear as per the docs.
[ ] Have you followed our code guidelines?
error: patch failed: .github/PULL_REQUEST_TEMPLATE.md:6
error: .github/PULL_REQUEST_TEMPLATE.md: patch does not apply
Checking patch scripts/github-apply…
error: scripts/github-apply: already exists in working directory
Checking patch scripts/github-remove…
error: scripts/github-remove: already exists in working directory
@murdz112 its ./scripts/github-apply 8066
the 5926 is just example.
Keep in mind if you apply this patch it will stop updates. When you are done testing you will need to run
./scripts/github-remove -d
to remove the patch.
Component
Version
LibreNMS
1.36-8-g44d5a59
DB Schema
232
PHP
7.0.22-0ubuntu0.16.04.1
MySQL
10.0.33-MariaDB-0ubuntu0.16.04.1
RRDTool
1.5.5
SNMP
NET-SNMP 5.7.3
====================================
[OK] Database connection successful
[OK] Database schema correct
[FAIL] You have no timezone set for php.
[FIX] http://php.net/manual/en/datetime.configuration.php#ini.date.timezone
OK so I managed to apply the patch. I am still not seeing any CPU or MEM correctly any other ideas ?
So mem and cpu work correctly on a Ubiquity edge router that im polling but not a linux box… I also can poll mem and CPU on a windows server.