all hosts down moved observium to a new server
All,
I'm kind of hitting a wall here. I moved Observium to a new server today and somehow Observium is unable to "ping" any hosts.
sour% ./poller.php -h lab-lightning.sdsc.edu -d Observium Poller v0.13.1.3507
DEBUG! Starting polling run:
SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'lab-lightning.sdsc.edu' ORDER BY `device_id` ASC] ./poller.php lab-lightning.sdsc.edu January 3, 2013, 17:17 - 0 devices polled in 0.001 secs
MySQL: Cell[0/0s] Row[0/0s] Rows[1/0s] Column[0/0s] Update[0/0s] Insert[0/0s] Delete[0/0s]
However, on the host it self, I can ping or snmpget any devices using the same FQDN name.
sour% ping lab-lightning.sdsc.edu PING lab-lightning.sdsc.edu (198.202.79.48) 56(84) bytes of data. 64 bytes from lab-lightning.sdsc.edu (198.202.79.48): icmp_req=1 ttl=253 time=0.728 ms ^C --- lab-lightning.sdsc.edu ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.728/0.728/0.728/0.000 ms
sour% snmpwalk -v 2c -c test lab-lightning.sdsc.edu sysName.0 SNMPv2-MIB::sysName.0 = STRING: "lab-lightning.sdsc.edu"
thanks, -bn 0216331C
It may just be me but it looks like that host isn’t in the database. It says “January 3, 2013, 17:17 - 0 devices polled in 0.001 secs”
Doug
From: observium-bounces@observium.org [mailto:observium-bounces@observium.org] On Behalf Of Bao Nguyen Sent: Friday, January 04, 2013 9:23 AM To: Observium Network Observation System Subject: [Observium] all hosts down moved observium to a new server
All,
I'm kind of hitting a wall here. I moved Observium to a new server today and somehow Observium is unable to "ping" any hosts.
sour% ./poller.php -h lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu -d Observium Poller v0.13.1.3507
DEBUG! Starting polling run:
SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu' ORDER BY `device_id` ASC] ./poller.php lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu January 3, 2013, 17:17 - 0 devices polled in 0.001 secs
MySQL: Cell[0/0s] Row[0/0s] Rows[1/0s] Column[0/0s] Update[0/0s] Insert[0/0s] Delete[0/0s]
However, on the host it self, I can ping or snmpget any devices using the same FQDN name.
sour% ping lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu PING lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu (198.202.79.48) 56(84) bytes of data. 64 bytes from lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu (198.202.79.48): icmp_req=1 ttl=253 time=0.728 ms ^C --- lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.728/0.728/0.728/0.000 ms
sour% snmpwalk -v 2c -c test lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu sysName.0 SNMPv2-MIB::sysName.0 = STRING: "lab-lightning.sdsc.eduhttp://lab-lightning.sdsc.edu"
thanks, -bn 0216331C
Yup, that sounds like the issue. I moved an observium server recently without too many issues. Perhaps your permissions are incorrect for the DB?
Darius
On Fri, Jan 4, 2013 at 8:25 AM, Crozier, Doug Doug.Crozier@bechtel.comwrote:
It may just be me but it looks like that host isn’t in the database. It says “January 3, 2013, 17:17 - *0* devices polled in 0.001 secs”****
Doug****
*From:* observium-bounces@observium.org [mailto: observium-bounces@observium.org] *On Behalf Of *Bao Nguyen *Sent:* Friday, January 04, 2013 9:23 AM *To:* Observium Network Observation System *Subject:* [Observium] all hosts down moved observium to a new server****
All,****
I'm kind of hitting a wall here. I moved Observium to a new server today and somehow Observium is unable to "ping" any hosts.****
sour% ./poller.php -h lab-lightning.sdsc.edu -d ****
Observium Poller v0.13.1.3507****
DEBUG!****
Starting polling run:****
SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'lab-lightning.sdsc.edu' ORDER BY `device_id` ASC] ./poller.php lab-lightning.sdsc.edu January 3, 2013, 17:17 - 0 devices polled in 0.001 secs****
MySQL: Cell[0/0s] Row[0/0s] Rows[1/0s] Column[0/0s] Update[0/0s] Insert[0/0s] Delete[0/0s]****
However, on the host it self, I can ping or snmpget any devices using the same FQDN name.****
sour% ping lab-lightning.sdsc.edu****
PING lab-lightning.sdsc.edu (198.202.79.48) 56(84) bytes of data.****
64 bytes from lab-lightning.sdsc.edu (198.202.79.48): icmp_req=1 ttl=253 time=0.728 ms****
^C****
--- lab-lightning.sdsc.edu ping statistics ---****
1 packets transmitted, 1 received, 0% packet loss, time 0ms****
rtt min/avg/max/mdev = 0.728/0.728/0.728/0.000 ms****
sour% snmpwalk -v 2c -c test lab-lightning.sdsc.edu sysName.0****
SNMPv2-MIB::sysName.0 = STRING: "lab-lightning.sdsc.edu"****
thanks,
-bn 0216331C****
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam helped resolved the issue. Document here just in case anyone seeing the same issue.
Wow thank you so much! That was it, the new server has a difference fping path.
/usr/sbin/fping was on CentOS /usr/bin/fping is on Ubuntu
-bn 0216331C
On Thu, Jan 3, 2013 at 5:22 PM, Bao Nguyen ngqbao@gmail.com wrote:
All,
I'm kind of hitting a wall here. I moved Observium to a new server today and somehow Observium is unable to "ping" any hosts.
sour% ./poller.php -h lab-lightning.sdsc.edu -d Observium Poller v0.13.1.3507
DEBUG! Starting polling run:
SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'lab-lightning.sdsc.edu' ORDER BY `device_id` ASC] ./poller.php lab-lightning.sdsc.edu January 3, 2013, 17:17 - 0 devices polled in 0.001 secs
MySQL: Cell[0/0s] Row[0/0s] Rows[1/0s] Column[0/0s] Update[0/0s] Insert[0/0s] Delete[0/0s]
However, on the host it self, I can ping or snmpget any devices using the same FQDN name.
sour% ping lab-lightning.sdsc.edu PING lab-lightning.sdsc.edu (198.202.79.48) 56(84) bytes of data. 64 bytes from lab-lightning.sdsc.edu (198.202.79.48): icmp_req=1 ttl=253 time=0.728 ms ^C --- lab-lightning.sdsc.edu ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.728/0.728/0.728/0.000 ms
sour% snmpwalk -v 2c -c test lab-lightning.sdsc.edu sysName.0 SNMPv2-MIB::sysName.0 = STRING: "lab-lightning.sdsc.edu"
thanks, -bn 0216331C
participants (4)
-
Bao Nguyen
-
Bao Nguyen
-
Crozier, Doug
-
Darius Seroka