Menu

#5512 Wrong status i Webmin Overview Page

1.981
open
nobody
5
2021-10-28
2021-10-11
C G Norlén
No

Hi, in my Ubuntu servers the status is not displayed correct, the status is not the same as in the page System and Server Status. Please see attached file Bild4.jpg. The problem does not occur in Red Hat servers.

1 Attachments

Discussion

  • Jamie Cameron

    Jamie Cameron - 2021-10-12

    Does this go away if you click the Refresh button on the dashboard? Webmin does some caching of various fields on that page, including the system status.

     
    • C G Norlén

      C G Norlén - 2021-10-12

      No, not either after reboot.

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-13

    In the system and server status module, on the configuration page, do you have the "Status to display in list" set to "Current status" or "From last check" ?

     
    • C G Norlén

      C G Norlén - 2021-10-13

      Hi, thank's for reply - my answer: Current status. Pls see attached image file Bild4.jpg.

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-15

    Ok, that's likely to be the problem ..

    Do you have scheduled collection enabled in the System and Server Status module?

     
    • C G Norlén

      C G Norlén - 2021-10-18

      I suppose so, "scheduled monitoring" is set by default (no changes by me). Pls see attachement Bild5.jpg.

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-20

    Is the status shown on the dashboard always the same, or does it eventually get updated when services change state?

     
    • C G Norlén

      C G Norlén - 2021-10-20

      Hi, that's a very good question... First: I've changed the command to "ping -4 -c 4". It works all right.

      So I've added a Webcam, the cam is displayed in the dashboard list but not with a correct status. In the System and server status view all is correct.

      I've also tested to monitor a local disk - the limit to warn is (now) 40% and the actual free space is 37 % so the status should be "Down". That is displayed correctly in the System and server status view but not on dashboard.

      Seems to me that no status are changed ever (after the first run).

      Pls see attached image files.

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-21

    Does the dashboard get updated if you run the command /etc/webmin/status/monitor.pl as root?

     
    • C G Norlén

      C G Norlén - 2021-10-23

      Yes, that changed the status on the dashboard summary view. See attachment Bild9.png. So, it seems that the command monitor.pl is not started as one will expect...

      However - I had to change Webmin theme to the old one "Gray Framed Theme" as the System and Server Status list disappeared in my ordinary theme "Authentic Theme" dashboard (see attachment Bild10.png).

      The present configuration is copied in attachment Bild11.png.

      I've restarted Webmin, the server och cleared all caches (Ctrl-F5/Firefox).

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-23

    If you go to System -> Scheduled Cron Jobs, do you see an entry for /etc/webmin/status/monitor.pl ?

    If so, check the cron log (something like /var/log/cron) to see if it's actually being run..

     
    • C G Norlén

      C G Norlén - 2021-10-27

      Thank's... no - the cron job was not present so I added a new one (every fifth minute) and now all statuses are updated also in the Dashboard view. Yej... It also seems to work after a reboot - I think. If it's not I now know how to do.

      Thank you again - Jamie. :-)

      (I looked up the log - it was not much there...)

       
  • Jamie Cameron

    Jamie Cameron - 2021-10-28

    Ok, great!

     

Log in to post a comment.