Menu

#5509 Ping from Webmin issue

1.981
closed-fixed
nobody
Ping (2)
9
2021-10-12
2021-10-03
C G Norlén
No

Hi, I´m experiencing an issue concerning under "Tools/System and server status" in Ubuntu. I've made a rule "Ping another computer" to check if the Eth-IF is responding. I'm having the status respond "Down".

I've 2 Red Hat servers and they are "Down" from the Ubuntu Servers Webmin. They are responding correctly with SSH and the command tool.

Pinging the other way is working, that is from the red Hat's Webmin Ping-tools.

2 Attachments

Discussion

  • Jamie Cameron

    Jamie Cameron - 2021-10-03

    Do you mean that using the ping command from the CL works OK?

     
  • C G Norlén

    C G Norlén - 2021-10-04

    "Do you mean that using the ping command from the CL works OK?" Yes!

     
  • C G Norlén

    C G Norlén - 2021-10-04

    I just added a rule pinging an Axis camera - it is the same problem. CL command ping is working from the Ubuntu server. The camera is connected on the same LAN as the Ubuntu-server.

     
  • Jamie Cameron

    Jamie Cameron - 2021-10-04

    What's the exact ping command you are running manually?

     
  • C G Norlén

    C G Norlén - 2021-10-05

    Pls see attachement Bild3.jpg above. Simple "ping 192.168.54.99"

     

    Last edit: C G Norlén 2021-10-05
  • Jamie Cameron

    Jamie Cameron - 2021-10-07

    What if you try a command like ping -c 1 -w 5 192.168.54.99

     
    • C G Norlén

      C G Norlén - 2021-10-07

      Thank's... all CMD-ping commands from the Ubuntu server is working fine.

      cgn@cgn-s06:~$ ping -c 1 -w 5 192.168.54.99
      PING 192.168.54.99 (192.168.54.99) 56(84) bytes of data.
      64 bytes from 192.168.54.99: icmp_seq=1 ttl=64 time=0.948 ms

      --- 192.168.54.99 ping statistics ---
      1 packets transmitted, 1 received, 0% packet loss, time 0ms
      rtt min/avg/max/mdev = 0.948/0.948/0.948/0.000 ms

      It is the Webmin Ping in the /Tools/System and serverstatus that fails (pls see Bild1.jpg above).

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-08

    That is very confusing.

    If you click on the Ping monitor that's failing in the System and Server Status module, does it show any more details about why it failed?

     
    • C G Norlén

      C G Norlén - 2021-10-08

      Hi Jamie - thank you for your concern....

      No - the Webmin-interface only shows status "Down". I've looked through all logs that I've found (also the Webmin log), I've checked the source code and he config files after differenses regarding the Red Hat Server (where the ping is working fine).

      So - yes - this seems a little "odd" to me (too). If there is a way to debug I will gladely help. Or check the code.

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-09

    Does that same ping command work if you run it at Tools -> Command Shell?

     
    • C G Norlén

      C G Norlén - 2021-10-10

      Yes.

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-11

    One more thing - try editing /etc/webmin/status/config and adding the line pinger=linux

     
    • C G Norlén

      C G Norlén - 2021-10-11

      Yej, that made it! Thank you. :-)

      PS I'll be opening another task that's related to this - probably a bug too (status shown on the Webmin overview - the index/1:st page).

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-12
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2021-10-12

    Great! I'll make this the default in future releases.

     

Log in to post a comment.