View Issue Details

IDProjectCategoryView StatusLast Update
1431RackTablesdefaultpublic2015-02-25 23:29
Reportermilne30 Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
PlatformCentos 6.5OSLinux 
Product Version0.20.10 
Summary1431: ping.php does not work
DescriptionI had ping.php working on version 0.20.7 but now i have upgraded to 0.20.10 it does not work?
Steps To Reproducetry and ping anything within racktables "Ping Over View tab"
TagsNo tags attached.

Activities

infrastation

infrastation

2015-02-24 10:46

administrator   ~0002731

This? https://github.com/RackTables/racktables-contribs/tree/master/rc_pingreply
milne30

milne30

2015-02-24 11:49

reporter   ~0002735

Yes that is correct. Thanks
infrastation

infrastation

2015-02-25 18:14

administrator   ~0002737

How specifically does not it work? A blank page or incorrect results? Does it fail after a timeout or instantly?
milne30

milne30

2015-02-25 18:39

reporter   ~0002739

It just shows No next to all results and doesn't take the time it is meant to take in the timeout section.

It's like it does not ping or it just errors out or something
infrastation

infrastation

2015-02-25 18:43

administrator   ~0002741

Could you confirm /usr/sbin/fping exists on the server?
milne30

milne30

2015-02-25 18:44

reporter   ~0002743

Yeah I can confirm it exists. I tried the command manually via command line and it worked
infrastation

infrastation

2015-02-25 22:44

administrator   ~0002745

I have tested the latest revision of ping.php with RackTables 0.20.10 on a Ubuntu 14.04 host and it works, although not for all hosts on the network. It was necessary to adjust the hardcoded path to /usr/bin/fping because this is the way it is packaged on Ubuntu.
milne30

milne30

2015-02-25 23:18

reporter   ~0002747

Can you point me in the right direction to where there would be some logs available to see why it is not working for me?

/usr/sbin/fping is definitely there and it is specified in the ping.php also:

 $straddr = ip4_format ($ip_bin);
                system("/usr/sbin/fping -q -c 1 -t $pingtimeout $straddr",$pingreply);
milne30

milne30

2015-02-25 23:29

reporter   ~0002749

apologies i extended the timeout to 60 and turned selinux to disabled.

It now works. Thanks for your help.
milne30

milne30

2015-02-25 23:29

reporter   ~0002751

extended the timeout to 60 and turned selinux to disabled.

Issue History

Date Modified Username Field Change
2015-02-24 09:58 milne30 New Issue
2015-02-24 10:46 infrastation Note Added: 0002731
2015-02-24 11:49 milne30 Note Added: 0002735
2015-02-25 18:14 infrastation Note Added: 0002737
2015-02-25 18:39 milne30 Note Added: 0002739
2015-02-25 18:43 infrastation Note Added: 0002741
2015-02-25 18:44 milne30 Note Added: 0002743
2015-02-25 22:44 infrastation Note Added: 0002745
2015-02-25 23:18 milne30 Note Added: 0002747
2015-02-25 23:29 milne30 Note Added: 0002749
2015-02-25 23:29 milne30 Note Added: 0002751
2015-02-25 23:29 milne30 Status new => closed
2015-02-25 23:29 milne30 Resolution open => fixed