Devices not being discovered
Hi all,
I've been running the CE version of Observium for a few years now, always upgrading as the new releases come out.
Earlier this year my server hosting Observium updated to Ubuntu 18.04 and php7x. As previously raised on list, this was incompatible with the previous CE version.
No problem, I waited it out.
Now my issue.
Since upgrading to the latest CE version, 5 out of my 7 devices (home network) are no longer being discovered.
I can confirm DNS is working. I've debugged as much as I can, including reinstalling snmpd on the Ubuntu boxes.
The devices which are staying down are my Ubuntu boxes and Unifi AP and Secure gateway.
Any direction on debugging would be greatly appreciated.
How do you know they're not being discovered?
Are you on 18.9 or 18.9.1?
Adam.
Sent from BlueMail
On 7 Sep 2018, 21:22, at 21:22, Roland Hill roland.lists@hillnet.co.nz wrote:
Hi all,
I've been running the CE version of Observium for a few years now, always upgrading as the new releases come out.
Earlier this year my server hosting Observium updated to Ubuntu 18.04 and php7x. As previously raised on list, this was incompatible with the previous CE version.
No problem, I waited it out.
Now my issue.
Since upgrading to the latest CE version, 5 out of my 7 devices (home network) are no longer being discovered.
I can confirm DNS is working. I've debugged as much as I can, including reinstalling snmpd on the Ubuntu boxes.
The devices which are staying down are my Ubuntu boxes and Unifi AP and Secure gateway.
Any direction on debugging would be greatly appreciated.
-- Regards,
Roland _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
On Fri, 07 Sep 2018 or thereabouts, Adam Armstrong came forth with:
How do you know they're not being discovered?
Are you on 18.9 or 18.9.1?
Adam.
Hi Adam,
I'm on 18.9.1.
Firstly the devices stay down on the GUI. If I delete them and try to add them again I get the following:
==== No reply on given community *** using v2c. Could not reach [redacted] with given SNMP parameters using v2c. ====
I also ran ./discovery.php -d -h <some_host> and got:
==== ##### Finished discovery run at 2018-09-08 09:29:44 #####
WARNING: 0 devices discovered. Did you specify a device that does not exist? ./discovery.php: [redacted] - 0 devices discovered in 2.574 secs ====
This is probably a Ubuntu net-snmp issue but I can't seem to debug it.
I've been running the CE version of Observium for a few years now, always upgrading as the new releases come out.
Earlier this year my server hosting Observium updated to Ubuntu 18.04 and php7x. As previously raised on list, this was incompatible with the previous CE version.
No problem, I waited it out.
Now my issue.
Since upgrading to the latest CE version, 5 out of my 7 devices (home network) are no longer being discovered.
I can confirm DNS is working. I've debugged as much as I can, including reinstalling snmpd on the Ubuntu boxes.
Hi,
This is a problem firstly with polling (nothing will discover if the poller marks it down).
Do :
./poller.php -h <host> -d
You might see what's wrong around the point where it tries to work out if the device is up or not.
adam.
On 2018-09-07 22:32, Roland Hill wrote:
On Fri, 07 Sep 2018 or thereabouts, Adam Armstrong came forth with:
How do you know they're not being discovered?
Are you on 18.9 or 18.9.1?
Adam.
Hi Adam,
I'm on 18.9.1.
Firstly the devices stay down on the GUI. If I delete them and try to add them again I get the following:
==== No reply on given community *** using v2c. Could not reach [redacted] with given SNMP parameters using v2c. ====
I also ran ./discovery.php -d -h <some_host> and got:
==== ##### Finished discovery run at 2018-09-08 09:29:44 #####
WARNING: 0 devices discovered. Did you specify a device that does not exist? ./discovery.php: [redacted] - 0 devices discovered in 2.574 secs ====
This is probably a Ubuntu net-snmp issue but I can't seem to debug it.
I've been running the CE version of Observium for a few years now, always upgrading as the new releases come out.
Earlier this year my server hosting Observium updated to Ubuntu 18.04 and php7x. As previously raised on list, this was incompatible with the previous CE version.
No problem, I waited it out.
Now my issue.
Since upgrading to the latest CE version, 5 out of my 7 devices (home network) are no longer being discovered.
I can confirm DNS is working. I've debugged as much as I can, including reinstalling snmpd on the Ubuntu boxes.
On Fri, 07 Sep 2018 or thereabouts, Adam Armstrong came forth with:
Hi,
This is a problem firstly with polling (nothing will discover if the poller marks it down).
Do :
./poller.php -h <host> -d
You might see what's wrong around the point where it tries to work out if the device is up or not.
Hi again Adam,
Thanks for the guidance, however there is nothing in the output which gives me a pointer to where the problem is.
FYI, this is the software summary it prints out in case this flags anything to you:
=== ##### Software versions #####
o OS Linux 4.15.0-33-generic [amd64] (Ubuntu 18.04) o Apache 2.4.29 o PHP 7.2.7-0ubuntu0.18.04.2 (OPcache: ENABLED) o Python 2.7.15rc1 o MySQL 5.7.23-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev) o SNMP NET-SNMP 5.7.3 o RRDtool 1.7.0 o Fping 4.0 (IPv4 and IPv6) ===
It's not PHP7 related is it? I assume not but....
The strange thing is it's only the 2 Ubuntu 18.04 boxes which are impacted.
I have no idea, since you seem to not actually want to show us any debugging output...
Adam.
Sent from BlueMail
On 7 Sep 2018, 23:03, at 23:03, Roland Hill roland.lists@hillnet.co.nz wrote:
On Fri, 07 Sep 2018 or thereabouts, Adam Armstrong came forth with:
Hi,
This is a problem firstly with polling (nothing will discover if the
poller
marks it down).
Do :
./poller.php -h <host> -d
You might see what's wrong around the point where it tries to work
out if
the device is up or not.
Hi again Adam,
Thanks for the guidance, however there is nothing in the output which gives me a pointer to where the problem is.
FYI, this is the software summary it prints out in case this flags anything to you:
=== ##### Software versions #####
o OS Linux 4.15.0-33-generic [amd64] (Ubuntu 18.04) o Apache 2.4.29 o PHP 7.2.7-0ubuntu0.18.04.2 (OPcache: ENABLED) o Python 2.7.15rc1 o MySQL 5.7.23-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev) o SNMP NET-SNMP 5.7.3 o RRDtool 1.7.0 o Fping 4.0 (IPv4 and IPv6) ===
It's not PHP7 related is it? I assume not but....
The strange thing is it's only the 2 Ubuntu 18.04 boxes which are impacted.
-- Regards,
Roland _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
On Fri, 07 Sep 2018 or thereabouts, Adam Armstrong came forth with:
I have no idea, since you seem to not actually want to show us any debugging output..
Apologies Adam...my bad. Here it is:
-- Roland
=== DEBUG!
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';[0m][0m SQL RUNTIME[[0;32m0.00030303s[0m][0m
SQL[[0;33mSELECT @@SESSION.sql_mode;[0m][0m SQL RUNTIME[[0;32m0.00015807s[0m][0m
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';[0m][0m SQL RUNTIME[[0;32m0.00024199s[0m][0m
SQL[[0;33mSELECT * FROM `config`[0m][0m SQL RUNTIME[[0;32m0.00017095s[0m][0m
CMD[[0;33m/bin/hostname -f[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0026s[0m][0m STDOUT[ hillnet ][0m [1;37m ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ | '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |__ | __/| | \ V / | || |_| || | | | | | ___/ |_.__/ |___/ ___||_| _/ |_| __,_||_| |_| |_|[0;36m Observium Community Edition 18.9.9420 http://www.observium.org%5B0m [0m
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';[0m][0m SQL RUNTIME[[0;32m0.00035095s[0m][0m
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';[0m][0m SQL RUNTIME[[0;32m0.00024080s[0m][0m
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';[0m][0m SQL RUNTIME[[0;32m0.00024295s[0m][0m
CMD[[0;33m/opt/observium/scripts/distro[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0492s[0m][0m STDOUT[ Linux|4.15.0-33-generic|amd64|Ubuntu|18.04|| ][0m
CMD[[0;33m/usr/bin/env python --version 2>&1[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0037s[0m][0m STDOUT[ Python 2.7.15rc1 ][0m
SQL[[0;33mSELECT version();[0m][0m SQL RUNTIME[[0;32m0.00020695s[0m][0m
CMD[[0;33m/usr/bin/snmpget --version 2>&1[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0043s[0m][0m STDOUT[ NET-SNMP version: 5.7.3 ][0m
CMD[[0;33m/usr/bin/rrdtool --version | head -n1[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0115s[0m][0m STDOUT[ RRDtool 1.7.0 Copyright by Tobias Oetiker tobi@oetiker.ch ][0m
CMD[[0;33m/usr/bin/fping -v 2>&1[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0038s[0m][0m STDOUT[ /usr/bin/fping: Version 4.0 /usr/bin/fping: comments to david@schweikert.ch ][0m
CMD[[0;33m/usr/sbin/apache2 -v | awk '/Server version:/ {print $3}'[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0373s[0m][0m STDOUT[ Apache/2.4.29 ][0m
CMD[[0;33mdate "+%:z"[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0032s[0m][0m CMD EXITDELAY[[0;31m10ms[0m][0m STDOUT[ +12:00 ][0m
SQL[[0;33mSELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);[0m][0m SQL RUNTIME[[0;32m0.00035596s[0m][0m
SQL[[0;33mSELECT @@SESSION.sql_mode;[0m][0m SQL RUNTIME[[0;32m0.00028706s[0m][0m
SQL[[0;33mSHOW VARIABLES LIKE 'character_set_connection'[0m][0m SQL RUNTIME[[0;32m0.00276995s[0m][0m
[0;36m##### [1;37mSoftware versions[0;36m #####[0m [0m [0;36m o [1;37mOS [0m Linux 4.15.0-33-generic [amd64] (Ubuntu 18.04) [0;36m o [1;37mApache [0m 2.4.29 [0;36m o [1;37mPHP [0m 7.2.7-0ubuntu0.18.04.2 (OPcache: ENABLED) [0;36m o [1;37mPython [0m 2.7.15rc1 [0;36m o [1;37mMySQL [0m 5.7.23-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev) [0;36m o [1;37mSNMP [0m NET-SNMP 5.7.3 [0;36m o [1;37mRRDtool [0m 1.7.0 [0;36m o [1;37mFping [0m 4.0 (IPv4 and IPv6)
[0;35m##### [1;37mMemory Limit[0;35m #####[0m [0m [0;35m o [1;37mPHP [0m Unlimited
[0;35m##### [1;37mMySQL mode[0;35m #####[0m [0m [0;35m o [1;37mMySQL [0m
[0;35m##### [1;37mCharset info[0;35m #####[0m [0m [0;35m o [1;37mPHP [0m UTF-8 [0;35m o [1;37mMySQL [0m utf8
[0;35m##### [1;37mTimezones info[0;35m #####[0m [0m [0;35m o [1;37mDate [0m Saturday, 08-Sep-18 10:24:08 NZST [0;35m o [1;37mPHP [0m +12:00 [0;35m o [1;37mMySQL [0m +12:00
SQL[[0;33mSELECT * FROM `alerts_maint` WHERE `maint_start` < '1536359048' AND `maint_end` > '1536359048'[0m][0m SQL RUNTIME[[0;32m0.00050402s[0m][0m [1;37m##### [1;37m[1;37mStarting polling run at 2018-09-08 10:24:08[1;37m #####[0m [0m
SQL[[0;33mSELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'jr01' ORDER BY `device_id` ASC[0m][0m SQL RUNTIME[[0;32m0.00074697s[0m][0m WARNING: 0 devices polled. Did you specify a device that does not exist? ./poller.php: jr01 - 0 devices polled in 0.152 secs [1;37m##### [1;37m[1;37mCompleted polling run at 2018-09-08 10:24:08[1;37m #####[0m [0m NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output. [1;37m o [1;37mDevices Polled [0m 0 [1;37m o [1;37mPoller Time [0m 0.152 secs [1;37m o [1;37mMemory usage [0m 12MB (peak: 12MB) [1;37m o [1;37mMySQL Usage [0m Insert[0/0s] Update[0/0s] Delete[0/0s] Cell[4/0.002s] Row[5/0.002s] Rows[4/0.005s] Col[0/0s] (0.009s 6.023%) [1;37m o [1;37mRRDTool Usage [0m (0s 0%) [1;37m o [1;37mSNMP Usage [0m (0s 0%)
===
You do not have any devices in the database called "jr01".
Adam.
Sent from BlueMail
On 7 Sep 2018, 23:30, at 23:30, Roland Hill roland.lists@hillnet.co.nz wrote:
On Fri, 07 Sep 2018 or thereabouts, Adam Armstrong came forth with:
I have no idea, since you seem to not actually want to show us any
debugging output..
Apologies Adam...my bad. Here it is:
-- Roland
=== DEBUG!
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';[0m][0m SQL RUNTIME[[0;32m0.00030303s[0m][0m
SQL[[0;33mSELECT @@SESSION.sql_mode;[0m][0m SQL RUNTIME[[0;32m0.00015807s[0m][0m
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';[0m][0m SQL RUNTIME[[0;32m0.00024199s[0m][0m
SQL[[0;33mSELECT * FROM `config`[0m][0m SQL RUNTIME[[0;32m0.00017095s[0m][0m
CMD[[0;33m/bin/hostname -f[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0026s[0m][0m STDOUT[ hillnet ][0m [1;37m ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ | '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |__ | __/| | \ V / | || |_| || | | | | | ___/ |_.__/ |___/ ___||_| _/ |_| __,_||_| |_| |_|[0;36m Observium Community Edition 18.9.9420 http://www.observium.org%5B0m [0m
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';[0m][0m SQL RUNTIME[[0;32m0.00035095s[0m][0m
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';[0m][0m SQL RUNTIME[[0;32m0.00024080s[0m][0m
SQL[[0;33mSELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';[0m][0m SQL RUNTIME[[0;32m0.00024295s[0m][0m
CMD[[0;33m/opt/observium/scripts/distro[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0492s[0m][0m STDOUT[ Linux|4.15.0-33-generic|amd64|Ubuntu|18.04|| ][0m
CMD[[0;33m/usr/bin/env python --version 2>&1[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0037s[0m][0m STDOUT[ Python 2.7.15rc1 ][0m
SQL[[0;33mSELECT version();[0m][0m SQL RUNTIME[[0;32m0.00020695s[0m][0m
CMD[[0;33m/usr/bin/snmpget --version 2>&1[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0043s[0m][0m STDOUT[ NET-SNMP version: 5.7.3 ][0m
CMD[[0;33m/usr/bin/rrdtool --version | head -n1[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0115s[0m][0m STDOUT[ RRDtool 1.7.0 Copyright by Tobias Oetiker tobi@oetiker.ch ][0m
CMD[[0;33m/usr/bin/fping -v 2>&1[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0038s[0m][0m STDOUT[ /usr/bin/fping: Version 4.0 /usr/bin/fping: comments to david@schweikert.ch ][0m
CMD[[0;33m/usr/sbin/apache2 -v | awk '/Server version:/ {print $3}'[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0373s[0m][0m STDOUT[ Apache/2.4.29 ][0m
CMD[[0;33mdate "+%:z"[0m] [0m CMD EXITCODE[[0;32m0[0m] CMD RUNTIME[[0;32m0.0032s[0m][0m CMD EXITDELAY[[0;31m10ms[0m][0m STDOUT[ +12:00 ][0m
SQL[[0;33mSELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);[0m][0m SQL RUNTIME[[0;32m0.00035596s[0m][0m
SQL[[0;33mSELECT @@SESSION.sql_mode;[0m][0m SQL RUNTIME[[0;32m0.00028706s[0m][0m
SQL[[0;33mSHOW VARIABLES LIKE 'character_set_connection'[0m][0m SQL RUNTIME[[0;32m0.00276995s[0m][0m
[0;36m##### [1;37mSoftware versions[0;36m #####[0m [0m [0;36m o [1;37mOS [0m Linux 4.15.0-33-generic [amd64] (Ubuntu 18.04) [0;36m o [1;37mApache [0m 2.4.29 [0;36m o [1;37mPHP [0m 7.2.7-0ubuntu0.18.04.2 (OPcache: ENABLED) [0;36m o [1;37mPython [0m 2.7.15rc1 [0;36m o [1;37mMySQL [0m 5.7.23-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev) [0;36m o [1;37mSNMP [0m NET-SNMP 5.7.3 [0;36m o [1;37mRRDtool [0m 1.7.0 [0;36m o [1;37mFping [0m 4.0 (IPv4 and IPv6)
[0;35m##### [1;37mMemory Limit[0;35m #####[0m [0m [0;35m o [1;37mPHP [0m Unlimited
[0;35m##### [1;37mMySQL mode[0;35m #####[0m [0m [0;35m o [1;37mMySQL [0m
[0;35m##### [1;37mCharset info[0;35m #####[0m [0m [0;35m o [1;37mPHP [0m UTF-8 [0;35m o [1;37mMySQL [0m utf8
[0;35m##### [1;37mTimezones info[0;35m #####[0m [0m [0;35m o [1;37mDate [0m Saturday, 08-Sep-18 10:24:08 NZST [0;35m o [1;37mPHP [0m +12:00 [0;35m o [1;37mMySQL [0m +12:00
SQL[[0;33mSELECT * FROM `alerts_maint` WHERE `maint_start` < '1536359048' AND `maint_end` > '1536359048'[0m][0m SQL RUNTIME[[0;32m0.00050402s[0m][0m [1;37m##### [1;37m[1;37mStarting polling run at 2018-09-08 10:24:08[1;37m #####[0m [0m
SQL[[0;33mSELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'jr01' ORDER BY `device_id` ASC[0m][0m SQL RUNTIME[[0;32m0.00074697s[0m][0m WARNING: 0 devices polled. Did you specify a device that does not exist? ./poller.php: jr01 - 0 devices polled in 0.152 secs [1;37m##### [1;37m[1;37mCompleted polling run at 2018-09-08 10:24:08[1;37m #####[0m [0m NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output. [1;37m o [1;37mDevices Polled [0m 0 [1;37m o [1;37mPoller Time [0m 0.152 secs [1;37m o [1;37mMemory usage [0m 12MB (peak: 12MB) [1;37m o [1;37mMySQL Usage [0m Insert[0/0s] Update[0/0s] Delete[0/0s] Cell[4/0.002s] Row[5/0.002s] Rows[4/0.005s] Col[0/0s] (0.009s 6.023%) [1;37m o [1;37mRRDTool Usage [0m (0s 0%) [1;37m o [1;37mSNMP Usage [0m (0s 0%)
===
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
On Fri, 07 Sep 2018 or thereabouts, Adam Armstrong came forth with:
You do not have any devices in the database called "jr01".
I deleted jr01 yesterday thinking that re-adding it might magically fix whatever the issue is.
jr01 exists, can be founf on the network and has snmp running.
==== # fping jr01 jr01 is alive
# systemctl status snmpd ● snmpd.service - Simple Network Management Protocol (SNMP) Daemon. Loaded: loaded (/lib/systemd/system/snmpd.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2018-09-07 17:59:00 NZST; 17h ago Process: 1118 ExecStartPre=/bin/mkdir -p /var/run/agentx (code=exited, status=0/SUCCESS) Main PID: 1121 (snmpd) Tasks: 1 (limit: 4915) CGroup: /system.slice/snmpd.service └─1121 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f
# ps aux | grep snmpd Debian-+ 1121 0.0 0.1 65024 11364 ? Ss Sep07 0:44 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f
====
Adding the device jr01 from the command line fails:
==== # ./add_device.php jr01 home v2c 161 udp Observium CE 18.9.9420 Add Device(s)
Try to add jr01: Trying v2c community *** [0] ... No reply on given community *** using v2c. Could not reach jr01 with given SNMP parameters using v2c. Devices failed: 1. ====
I'm out of idea's but will go back to first principles and walk the install guide again just in case I have overlooked anything. jr01 has previously been discovered okay, but maybe I changed something and don't remember.
I appreciate your help Adam.
No, I mean that poller run was pointless because how are you going to poll something which isn't even in observium?
Adam.
Sent from BlueMail
On 8 Sep 2018, 01:01, at 01:01, Roland Hill roland.lists@hillnet.co.nz wrote:
On Fri, 07 Sep 2018 or thereabouts, Adam Armstrong came forth with:
You do not have any devices in the database called "jr01".
I deleted jr01 yesterday thinking that re-adding it might magically fix whatever the issue is.
jr01 exists, can be founf on the network and has snmp running.
==== # fping jr01 jr01 is alive
# systemctl status snmpd ● snmpd.service - Simple Network Management Protocol (SNMP) Daemon. Loaded: loaded (/lib/systemd/system/snmpd.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2018-09-07 17:59:00 NZST; 17h ago Process: 1118 ExecStartPre=/bin/mkdir -p /var/run/agentx (code=exited, status=0/SUCCESS) Main PID: 1121 (snmpd) Tasks: 1 (limit: 4915) CGroup: /system.slice/snmpd.service └─1121 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f
# ps aux | grep snmpd Debian-+ 1121 0.0 0.1 65024 11364 ? Ss Sep07 0:44 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f
====
Adding the device jr01 from the command line fails:
==== # ./add_device.php jr01 home v2c 161 udp Observium CE 18.9.9420 Add Device(s)
Try to add jr01: Trying v2c community *** [0] ... No reply on given community *** using v2c. Could not reach jr01 with given SNMP parameters using v2c. Devices failed: 1. ====
I'm out of idea's but will go back to first principles and walk the install guide again just in case I have overlooked anything. jr01 has previously been discovered okay, but maybe I changed something and don't remember.
I appreciate your help Adam.
-- Regards,
Roland _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
On Sat, 08 Sep 2018 or thereabouts, Roland Hill came forth with:
Hi all,
I've been running the CE version of Observium for a few years now, always upgrading as the new releases come out.
Earlier this year my server hosting Observium updated to Ubuntu 18.04 and php7x. As previously raised on list, this was incompatible with the previous CE version.
No problem, I waited it out.
Now my issue.
Since upgrading to the latest CE version, 5 out of my 7 devices (home network) are no longer being discovered.
I can confirm DNS is working. I've debugged as much as I can, including reinstalling snmpd on the Ubuntu boxes.
The devices which are staying down are my Ubuntu boxes and Unifi AP and Secure gateway.
UPDATE: Unifi devices are now fine. Error in device config introduced my me on a controller upgrade! Now, I wonder if Ubuntu have changed something with snmp??
Any direction on debugging would be greatly appreciated.
There shouldn't be anything really.
You can see what's happening during a discovery with :
./discovery.php -h <host> -d
adam.
On 2018-09-07 21:48, Roland Hill wrote:
On Sat, 08 Sep 2018 or thereabouts, Roland Hill came forth with:
Hi all,
I've been running the CE version of Observium for a few years now, always upgrading as the new releases come out.
Earlier this year my server hosting Observium updated to Ubuntu 18.04 and php7x. As previously raised on list, this was incompatible with the previous CE version.
No problem, I waited it out.
Now my issue.
Since upgrading to the latest CE version, 5 out of my 7 devices (home network) are no longer being discovered.
I can confirm DNS is working. I've debugged as much as I can, including reinstalling snmpd on the Ubuntu boxes.
The devices which are staying down are my Ubuntu boxes and Unifi AP and Secure gateway.
UPDATE: Unifi devices are now fine. Error in device config introduced my me on a controller upgrade! Now, I wonder if Ubuntu have changed something with snmp??
Any direction on debugging would be greatly appreciated.
uczestnicy (2)
-
Adam Armstrong
-
Roland Hill