Help with graphing Mem and CPU

====================================

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?

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.

[email protected]:/opt/librenms# ./validate.php

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 :frowning: 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.