|
From: Addady <ad...@ac...> - 2007-01-30 14:45:44
|
Hi. > If you click on the Samba monitor in the web interface, is the > 'Check on schedule?' option set to one of the 'Yes..' modes? Its "Yes, and use the default reporting mode" Well yesterday night I got this email form webmin: "Service monitor : Samba Servers down on servername" !!! So it succeed in report the problem when run at the schedule time. But when I try manually to make it send me report it doesn't. Regards, Addady Jamie Cameron wrote: > If you click on the Samba monitor in the web interface, is the > 'Check on schedule?' option set to one of the 'Yes..' modes? > > - Jamie > > On 28/Jan/2007 00:52 Addady wrote .. > >> Hi, >> >> I upgrade to 1.320 but it still not working. >> >> Here is an example of what I understand as a broken scenario: >> >> Background: >> -System and Server Status monitor samba server >> -The samba server is up >> -Module Config setting is 'From last scheduled check' >> -System and Server Status main page show V on samba server (meaning it >> up) >> >> Actions: >> /etc/init.d/smb stop >> /etc/webmin/status/monitor.pl >> Shift refresh the browser in this address: https://myserver:10000/status/ >> >> System and Server Status main page still show V on samba server! >> >> Entering to the sabma page >> https://myserver:10000/status/edit_mon.cgi?id=samba >> >> On this page the Current status is 'Down' (as it really is) >> >> My feeling is that monitor.pl exit very fast and don't do nothing >> >> Any idea? >> >> >> >> >> >> >> >> >> >> Jamie Cameron wrote: >> >> >>> Very odd - I tested this on a few of my own systems, but the status >>> was always correctly updated. >>> Are you running Webmin 1.320 (the latest version) ? >>> >>> - Jamie >>> >>> On 27/Jan/2007 12:29 Addady wrote .. >>> >>>> Its single system. >>>> >>>> >>>> Jamie Cameron wrote: >>>> >>>> >>>>> That is rather odd.. Are you monitoring any remote hosts, or just a >>>>> >> single system? >> >>>>> - Jamie >>>>> >>>>> On 27/Jan/2007 11:40 Addady wrote .. >>>>> >>>>> >>>>>> Hello, >>>>>> >>>>>> >>>>>> I set the 'Status to display in list' to 'From last scheduled check'. >>>>>> >>>>>> When running monitor.pl and reload the page or pressing the 'Refresh >>>>>> Status' the status is not changing. >>>>>> >>>>>> But when the 'Current status' the display is update. >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Addady >>>>>> >>>>>> >>>>>> Jamie Cameron wrote: >>>>>> >>>>>> >>>>>> >>>>>>> On 26/Jan/2007 00:24 Addady wrote .. >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Go to the Read User Mail module, and make sure that on the Module >>>>>>>>> >> Config >> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> page >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> the SMTP server to send email with is set correctly. If you run >>>>>>>>> >> a local >> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> mail server, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> 'localhost' should work just fine. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> I change it to STMP localhost, >>>>>>>> >>>>>>>> But still manually running: >>>>>>>> >>>>>>>> /etc/webmin/status/monitor.pl >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Another thing to check is if you intentionally take down some service >>>>>>> and then re-run monitor.pl, does it update the status on the main >>>>>>> >> page >> >>>>>>> of the module in Webmin? Before you do this, make sure you click >>>>>>> >> on >> >>>>>>> Module Config first and change the 'Status to display in list' to >>>>>>> 'From last scheduled check'. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Don't seems to try sending any email. No trace in /var/log/maillog >>>>>>>> >>>>>>>> Is there any debug flag to monitor.pl? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Unfortunately, no.. >>>>>>> >>>>>>> - Jamie >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Addady >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Jamie Cameron wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> On 25/Jan/2007 01:21 Addady wrote .. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> The System and Server Status monitor show the correct status on >>>>>>>>>> >> each >> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>> on >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>> the checked component. >>>>>>>>>> >>>>>>>>>> I define the module to send me an email alert once a day, >>>>>>>>>> >>>>>>>>>> but no email is send. >>>>>>>>>> >>>>>>>>>> I show it add this command to the cron >>>>>>>>>> >>>>>>>>>> /etc/webmin/status/monitor.pl >>>>>>>>>> >>>>>>>>>> When I try to run run form shell there is no output and no email >>>>>>>>>> >> send. >> >>>>>>>>>> In /var/log/maillog I can find any attempts to send email. >>>>>>>>>> >>>>>>>>>> Any idea? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> Go to the Read User Mail module, and make sure that on the Module >>>>>>>>> >> Config >> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> page >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> the SMTP server to send email with is set correctly. If you run >>>>>>>>> >> a local >> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> mail server, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> 'localhost' should work just fine. >>>>>>>>> >>>>>>>>> - Jamie >>>>>>>>> >>>>>>>>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> >> your >> >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> ------------------------------------------------------------------------ >>> >>> - >>> Forwarded by the Webmin mailing list at web...@li... >>> To remove yourself from this list, go to >>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >>> >>> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> - >> Forwarded by the Webmin mailing list at web...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |