How to add another device on librenms

Dear All,

How to another device Modem Satellite: Hughes,Newtec and Shiron to Monitoring snmp on LibreNMS

I’m using Ubuntu Server 18.

Thanks

Do those devices support SNMP?

Yes Kevin,

Modem satellite support snmp

snmp community =public or private and v1

Ok have you tried adding it in?
https://docs.librenms.org/Support/Adding-a-Device/

root@nms-ajn-svr:/opt/librenms# ./addhost.php 10.17.153.129 v1 161 udp
Could not ping 10.17.153.129
root@nms-ajn-svr:/opt/librenms# ping 10.17.153.129
PING 10.17.153.129 (10.17.153.129) 56(84) bytes of data.
64 bytes from 10.17.153.129: icmp_seq=1 ttl=62 time=539 ms
64 bytes from 10.17.153.129: icmp_seq=2 ttl=62 time=540 ms
64 bytes from 10.17.153.129: icmp_seq=3 ttl=62 time=524 ms
^C
— 10.17.153.129 ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 524.363/534.919/540.485/7.515 ms

i can ping and reply Could not ping 10.17.153.129

any idea kevin? please help

but result is:

You don’t have to add by cli try with the web ui

@Hill_A_Damanik
It seems that you are user root on the CLI. This is not supposed to happen. LibreNMS must be run as librenms user. Using root is usually breaking things (permissions).
I would suggest to log as “librenms” user, run ./validate.php and check that no errors are discovered.

Then add you device via the web GUI.

Dear Kevin,

i already try to web gui but is same

Dear Pipo,

i already run to libre:

root@nms-ajn-svr:/opt/librenms# snmpwalk -c “private” -v1 “10.17.153.129”
Timeout: No Response from 10.17.153.129
root@nms-ajn-svr:/opt/librenms#

but not respon

and this result .validate.php

root@nms-ajn-svr:/opt/librenms# ./validate.php

Component Version
LibreNMS 1.58.1-32-gb2137787f
DB Schema 2019_10_03_211702_serialize_config (147)
PHP 7.3.12-1+ubuntu18.04.1+deb.sury.org+1
MySQL 10.1.43-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

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

[OK] Composer Version: 1.9.1
[OK] Dependencies up-to-date.
[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
[WARN] Your install is over 24 hours out of date, last update: Sat, 14 Dec 2019 01:24:53 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
.codeclimate.yml
.editorconfig
.env.dusk.testing
.env.example
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE/New-Device.md
.github/PULL_REQUEST_TEMPLATE.md
.github/ci-reporter.yml
.github/label-actions.yml
.github/lock.yml
.github/no-response.yml
.github/stale.yml
.gitignore
.mention-bot
.scrutinizer.yml
and 10427 more…
root@nms-ajn-svr:/opt/librenms#

You are running all your tests with the “root” user. That is not correct. You must be running as “librenms” user.
Moreover, you validate shows a huge amount of issues, cron jobs are not running, updates are not running, timezone is not set etc etc.

You should start by fixing these (or, may be, by re-installing LibreNMS following the docs to get the correct setup).

Concerning SNMP, the snmpwalk command looks theoretically good for a device doing snmp v1 with community private. If you don’t get an answer here, check the routing and firewalls in between (if any). Check the config of the device to ensure that no access lists are configured for SNMP for each community. “private” being the RW community, you should probably stick with “public” community by the way.

Dear Pipo,

Thank’s for your explain.

but please way to i’m running to “librenms”.

and ./validate.php please help this error

root@nms-ajn-svr:/opt/librenms# ./validate.php

Component Version
LibreNMS 1.58.1-33-g5bf56db50
DB Schema 2019_10_03_211702_serialize_config (147)
PHP 7.3.12-1+ubuntu18.04.1+deb.sury.org+1
MySQL 10.1.43-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

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

[OK] Composer Version: 1.9.1
[OK] Dependencies up-to-date.
[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
root@nms-ajn-svr:/opt/librenms#

because i’m already try way from this community but still error.

Hi

To run as “librenms”, like always on Linux, login as “librenms” to the machine, and not as “root”.
If you are root, you can type su - librenms to switch to “librenms” user. Then run again ./validate.php and fix all the issues you’ll get.

Concerning PHP timezone, just do exactly what the doc says in PHP documentation.