|
From: Grant P. <gp...@th...> - 2006-03-05 15:57:23
|
Hi all, I am having troubles with a server, and have tried to add a monitor in the System and Server status Module. The system being monitored is freezing solid. I can PING it but instead of just loosing packets, I am getting a "Host is Donw" message which I think is fooling the script .... I am not getting emails. Has anyone some experience with this ? Can I pick your brains! Thanks all, -Grant Here is the /etc/webmin/status/nnnnnnn.serv file: runon=0 depend= host=192.168.0.7 ema...@my... ondown= clone= onup= wait=5 fails=1 desc=Remote Ping type=ping id=1140983277 notify=email nosched=0 _file=/etc/webmin/status/services/1140983277.serv oldremote= |
|
From: Jamie C. <jca...@we...> - 2006-03-06 06:37:37
|
On Sun, 2006-03-05 at 23:57, Grant Peel wrote: > Hi all, > > I am having troubles with a server, and have tried to add a monitor in the > System and Server status Module. > > The system being monitored is freezing solid. I can PING it but instead of > just loosing packets, I am getting a "Host is Donw" message which I think is > fooling the script .... I am not getting emails. > > Has anyone some experience with this ? Can I pick your brains! > > Thanks all, > > -Grant > > Here is the /etc/webmin/status/nnnnnnn.serv file: > > runon=0 > depend= > host=192.168.0.7 > ema...@my... > ondown= > clone= > onup= > wait=5 > fails=1 > desc=Remote Ping > type=ping > id=1140983277 > notify=email > nosched=0 > _file=/etc/webmin/status/services/1140983277.serv > oldremote= Hi Grant, Where is this 'Host is down' message showing up in Webmin exactly? Also, what happens if you run a command like : ping -c 1 the.host.address from the Unix shell prompt? - Jamie |
|
From: Grant P. <gp...@th...> - 2006-03-06 09:48:24
|
'Host is down" shows up when I do I ping to the server being monitored. What I am thinking is ... webmin is looking for a blank response,e but instead is getting "Host is Down" -Grant ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Monday, March 06, 2006 4:37 AM Subject: Re: [webmin-l] Host Is Down > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: >> Hi all, >> >> I am having troubles with a server, and have tried to add a monitor in >> the >> System and Server status Module. >> >> The system being monitored is freezing solid. I can PING it but instead >> of >> just loosing packets, I am getting a "Host is Donw" message which I think >> is >> fooling the script .... I am not getting emails. >> >> Has anyone some experience with this ? Can I pick your brains! >> >> Thanks all, >> >> -Grant >> >> Here is the /etc/webmin/status/nnnnnnn.serv file: >> >> runon=0 >> depend= >> host=192.168.0.7 >> ema...@my... >> ondown= >> clone= >> onup= >> wait=5 >> fails=1 >> desc=Remote Ping >> type=ping >> id=1140983277 >> notify=email >> nosched=0 >> _file=/etc/webmin/status/services/1140983277.serv >> oldremote= > > Hi Grant, > Where is this 'Host is down' message showing up in Webmin exactly? > Also, what happens if you run a command like : > > ping -c 1 the.host.address > > from the Unix shell prompt? > > - Jamie > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 > |
|
From: Jamie C. <jca...@we...> - 2006-03-06 12:14:21
|
Webmin doesn't actually use the output from the ping command - instead, it either checks the exit status of the ping command (0 for success or 1 for failure), or sends its own UDP ping packets. By the way, which OS are you using there? It is FreeBSD, right? - Jamie On Mon, 2006-03-06 at 17:48, Grant Peel wrote: > 'Host is down" shows up when I do I ping to the server being monitored. > > What I am thinking is ... webmin is looking for a blank response,e but > instead is getting "Host is Down" > > -Grant > > ----- Original Message ----- > From: "Jamie Cameron" <jca...@we...> > To: <web...@li...> > Sent: Monday, March 06, 2006 4:37 AM > Subject: Re: [webmin-l] Host Is Down > > > > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: > >> Hi all, > >> > >> I am having troubles with a server, and have tried to add a monitor in > >> the > >> System and Server status Module. > >> > >> The system being monitored is freezing solid. I can PING it but instead > >> of > >> just loosing packets, I am getting a "Host is Donw" message which I think > >> is > >> fooling the script .... I am not getting emails. > >> > >> Has anyone some experience with this ? Can I pick your brains! > >> > >> Thanks all, > >> > >> -Grant > >> > >> Here is the /etc/webmin/status/nnnnnnn.serv file: > >> > >> runon=0 > >> depend= > >> host=192.168.0.7 > >> ema...@my... > >> ondown= > >> clone= > >> onup= > >> wait=5 > >> fails=1 > >> desc=Remote Ping > >> type=ping > >> id=1140983277 > >> notify=email > >> nosched=0 > >> _file=/etc/webmin/status/services/1140983277.serv > >> oldremote= > > > > Hi Grant, > > Where is this 'Host is down' message showing up in Webmin exactly? > > Also, what happens if you run a command like : > > > > ping -c 1 the.host.address > > > > from the Unix shell prompt? > > > > - Jamie > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > - > > 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 > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 > |
|
From: Grant P. <gp...@th...> - 2006-03-06 22:40:06
|
I suppose the next time the server to be monitored goes down, I can try pinging it and sending you the output, but I hope it does not happen! Here is the ping results from the server running the ping command to the server to be monitored, from the command line of course. Yes, FreeBSD 5.4 defiant# ping -c 1 192.168.0.7 PING 192.168.0.7 (192.168.0.7): 56 data bytes 64 bytes from 192.168.0.7: icmp_seq=0 ttl=64 time=0.325 ms --- 192.168.0.7 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.325/0.325/0.325/0.000 ms defiant# -GRant ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Monday, March 06, 2006 7:13 AM Subject: Re: [webmin-l] Host Is Down > Webmin doesn't actually use the output from the ping command - instead, > it either checks the exit status of the ping command (0 for success or 1 > for failure), or sends its own UDP ping packets. > > By the way, which OS are you using there? It is FreeBSD, right? > > - Jamie > > On Mon, 2006-03-06 at 17:48, Grant Peel wrote: >> 'Host is down" shows up when I do I ping to the server being monitored. >> >> What I am thinking is ... webmin is looking for a blank response,e but >> instead is getting "Host is Down" >> >> -Grant >> >> ----- Original Message ----- >> From: "Jamie Cameron" <jca...@we...> >> To: <web...@li...> >> Sent: Monday, March 06, 2006 4:37 AM >> Subject: Re: [webmin-l] Host Is Down >> >> >> > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: >> >> Hi all, >> >> >> >> I am having troubles with a server, and have tried to add a monitor in >> >> the >> >> System and Server status Module. >> >> >> >> The system being monitored is freezing solid. I can PING it but >> >> instead >> >> of >> >> just loosing packets, I am getting a "Host is Donw" message which I >> >> think >> >> is >> >> fooling the script .... I am not getting emails. >> >> >> >> Has anyone some experience with this ? Can I pick your brains! >> >> >> >> Thanks all, >> >> >> >> -Grant >> >> >> >> Here is the /etc/webmin/status/nnnnnnn.serv file: >> >> >> >> runon=0 >> >> depend= >> >> host=192.168.0.7 >> >> ema...@my... >> >> ondown= >> >> clone= >> >> onup= >> >> wait=5 >> >> fails=1 >> >> desc=Remote Ping >> >> type=ping >> >> id=1140983277 >> >> notify=email >> >> nosched=0 >> >> _file=/etc/webmin/status/services/1140983277.serv >> >> oldremote= >> > >> > Hi Grant, >> > Where is this 'Host is down' message showing up in Webmin exactly? >> > Also, what happens if you run a command like : >> > >> > ping -c 1 the.host.address >> > >> > from the Unix shell prompt? >> > >> > - Jamie >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> > language >> > that extends applications into web and mobile media. Attend the live >> > webcast >> > and join the prime developer group breaking into this new coding >> > territory! >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> > - >> > 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 >> > >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> - >> 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 >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 > |
|
From: Jamie C. <jca...@we...> - 2006-03-07 00:34:06
|
Hi Grant, On FreeBSD, Webmin uses the command ping -c 1 -t 1 192.168.0.7 to check the host, and then looks at it's exit status. If it is exiting with status 0 (meaning OK) even when the host is down, then this is a problem .. - Jamie On Tue, 2006-03-07 at 06:39, Grant Peel wrote: > I suppose the next time the server to be monitored goes down, I can try > pinging it and sending you the output, but I hope it does not happen! > > Here is the ping results from the server running the ping command to the > server to be monitored, from the command line of course. > > Yes, FreeBSD 5.4 > > defiant# ping -c 1 192.168.0.7 > PING 192.168.0.7 (192.168.0.7): 56 data bytes > 64 bytes from 192.168.0.7: icmp_seq=0 ttl=64 time=0.325 ms > > --- 192.168.0.7 ping statistics --- > 1 packets transmitted, 1 packets received, 0% packet loss > round-trip min/avg/max/stddev = 0.325/0.325/0.325/0.000 ms > defiant# > > -GRant > > ----- Original Message ----- > From: "Jamie Cameron" <jca...@we...> > To: <web...@li...> > Sent: Monday, March 06, 2006 7:13 AM > Subject: Re: [webmin-l] Host Is Down > > > > Webmin doesn't actually use the output from the ping command - instead, > > it either checks the exit status of the ping command (0 for success or 1 > > for failure), or sends its own UDP ping packets. > > > > By the way, which OS are you using there? It is FreeBSD, right? > > > > - Jamie > > > > On Mon, 2006-03-06 at 17:48, Grant Peel wrote: > >> 'Host is down" shows up when I do I ping to the server being monitored. > >> > >> What I am thinking is ... webmin is looking for a blank response,e but > >> instead is getting "Host is Down" > >> > >> -Grant > >> > >> ----- Original Message ----- > >> From: "Jamie Cameron" <jca...@we...> > >> To: <web...@li...> > >> Sent: Monday, March 06, 2006 4:37 AM > >> Subject: Re: [webmin-l] Host Is Down > >> > >> > >> > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: > >> >> Hi all, > >> >> > >> >> I am having troubles with a server, and have tried to add a monitor in > >> >> the > >> >> System and Server status Module. > >> >> > >> >> The system being monitored is freezing solid. I can PING it but > >> >> instead > >> >> of > >> >> just loosing packets, I am getting a "Host is Donw" message which I > >> >> think > >> >> is > >> >> fooling the script .... I am not getting emails. > >> >> > >> >> Has anyone some experience with this ? Can I pick your brains! > >> >> > >> >> Thanks all, > >> >> > >> >> -Grant > >> >> > >> >> Here is the /etc/webmin/status/nnnnnnn.serv file: > >> >> > >> >> runon=0 > >> >> depend= > >> >> host=192.168.0.7 > >> >> ema...@my... > >> >> ondown= > >> >> clone= > >> >> onup= > >> >> wait=5 > >> >> fails=1 > >> >> desc=Remote Ping > >> >> type=ping > >> >> id=1140983277 > >> >> notify=email > >> >> nosched=0 > >> >> _file=/etc/webmin/status/services/1140983277.serv > >> >> oldremote= > >> > > >> > Hi Grant, > >> > Where is this 'Host is down' message showing up in Webmin exactly? > >> > Also, what happens if you run a command like : > >> > > >> > ping -c 1 the.host.address > >> > > >> > from the Unix shell prompt? > >> > > >> > - Jamie > >> > > >> > > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> > language > >> > that extends applications into web and mobile media. Attend the live > >> > webcast > >> > and join the prime developer group breaking into this new coding > >> > territory! > >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> > - > >> > 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 > >> > > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> language > >> that extends applications into web and mobile media. Attend the live > >> webcast > >> and join the prime developer group breaking into this new coding > >> territory! > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> - > >> 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 > >> > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > - > > 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 > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 > |
|
From: Grant P. <gp...@th...> - 2006-03-07 09:06:38
|
Hi Jamie, I shut down em1 on the target host and here is the ping result. defiant# ping -c 1 -t 1 192.168.0.7 PING 192.168.0.7 (192.168.0.7): 56 data bytes --- 192.168.0.7 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss -GRant ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Monday, March 06, 2006 7:33 PM Subject: Re: [webmin-l] Host Is Down > Hi Grant, > On FreeBSD, Webmin uses the command > > ping -c 1 -t 1 192.168.0.7 > > to check the host, and then looks at it's exit status. If it is exiting > with status 0 (meaning OK) even when the host is down, then this is a > problem .. > > - Jamie > > On Tue, 2006-03-07 at 06:39, Grant Peel wrote: >> I suppose the next time the server to be monitored goes down, I can try >> pinging it and sending you the output, but I hope it does not happen! >> >> Here is the ping results from the server running the ping command to the >> server to be monitored, from the command line of course. >> >> Yes, FreeBSD 5.4 >> >> defiant# ping -c 1 192.168.0.7 >> PING 192.168.0.7 (192.168.0.7): 56 data bytes >> 64 bytes from 192.168.0.7: icmp_seq=0 ttl=64 time=0.325 ms >> >> --- 192.168.0.7 ping statistics --- >> 1 packets transmitted, 1 packets received, 0% packet loss >> round-trip min/avg/max/stddev = 0.325/0.325/0.325/0.000 ms >> defiant# >> >> -GRant >> >> ----- Original Message ----- >> From: "Jamie Cameron" <jca...@we...> >> To: <web...@li...> >> Sent: Monday, March 06, 2006 7:13 AM >> Subject: Re: [webmin-l] Host Is Down >> >> >> > Webmin doesn't actually use the output from the ping command - instead, >> > it either checks the exit status of the ping command (0 for success or >> > 1 >> > for failure), or sends its own UDP ping packets. >> > >> > By the way, which OS are you using there? It is FreeBSD, right? >> > >> > - Jamie >> > >> > On Mon, 2006-03-06 at 17:48, Grant Peel wrote: >> >> 'Host is down" shows up when I do I ping to the server being >> >> monitored. >> >> >> >> What I am thinking is ... webmin is looking for a blank response,e >> >> but >> >> instead is getting "Host is Down" >> >> >> >> -Grant >> >> >> >> ----- Original Message ----- >> >> From: "Jamie Cameron" <jca...@we...> >> >> To: <web...@li...> >> >> Sent: Monday, March 06, 2006 4:37 AM >> >> Subject: Re: [webmin-l] Host Is Down >> >> >> >> >> >> > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: >> >> >> Hi all, >> >> >> >> >> >> I am having troubles with a server, and have tried to add a monitor >> >> >> in >> >> >> the >> >> >> System and Server status Module. >> >> >> >> >> >> The system being monitored is freezing solid. I can PING it but >> >> >> instead >> >> >> of >> >> >> just loosing packets, I am getting a "Host is Donw" message which I >> >> >> think >> >> >> is >> >> >> fooling the script .... I am not getting emails. >> >> >> >> >> >> Has anyone some experience with this ? Can I pick your brains! >> >> >> >> >> >> Thanks all, >> >> >> >> >> >> -Grant >> >> >> >> >> >> Here is the /etc/webmin/status/nnnnnnn.serv file: >> >> >> >> >> >> runon=0 >> >> >> depend= >> >> >> host=192.168.0.7 >> >> >> ema...@my... >> >> >> ondown= >> >> >> clone= >> >> >> onup= >> >> >> wait=5 >> >> >> fails=1 >> >> >> desc=Remote Ping >> >> >> type=ping >> >> >> id=1140983277 >> >> >> notify=email >> >> >> nosched=0 >> >> >> _file=/etc/webmin/status/services/1140983277.serv >> >> >> oldremote= >> >> > >> >> > Hi Grant, >> >> > Where is this 'Host is down' message showing up in Webmin exactly? >> >> > Also, what happens if you run a command like : >> >> > >> >> > ping -c 1 the.host.address >> >> > >> >> > from the Unix shell prompt? >> >> > >> >> > - Jamie >> >> > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------- >> >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> > language >> >> > that extends applications into web and mobile media. Attend the live >> >> > webcast >> >> > and join the prime developer group breaking into this new coding >> >> > territory! >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> > - >> >> > 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 >> >> > >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> language >> >> that extends applications into web and mobile media. Attend the live >> >> webcast >> >> and join the prime developer group breaking into this new coding >> >> territory! >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> - >> >> 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 >> >> >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> > language >> > that extends applications into web and mobile media. Attend the live >> > webcast >> > and join the prime developer group breaking into this new coding >> > territory! >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> > - >> > 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 >> > >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> - >> 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 >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 > |
|
From: Jamie C. <jca...@we...> - 2006-03-07 09:10:09
|
Hi Grant, What output do you get if you run the command echo $? after the ping completes? - Jamie On 7/Mar/2006 03:06 Grant Peel wrote .. > Hi Jamie, > > I shut down em1 on the target host and here is the ping result. > > defiant# ping -c 1 -t 1 192.168.0.7 > PING 192.168.0.7 (192.168.0.7): 56 data bytes > > --- 192.168.0.7 ping statistics --- > 1 packets transmitted, 0 packets received, 100% packet loss > > > -GRant > > ----- Original Message ----- > From: "Jamie Cameron" <jca...@we...> > To: <web...@li...> > Sent: Monday, March 06, 2006 7:33 PM > Subject: Re: [webmin-l] Host Is Down > > > > Hi Grant, > > On FreeBSD, Webmin uses the command > > > > ping -c 1 -t 1 192.168.0.7 > > > > to check the host, and then looks at it's exit status. If it is exiting > > with status 0 (meaning OK) even when the host is down, then this is a > > problem .. > > > > - Jamie > > > > On Tue, 2006-03-07 at 06:39, Grant Peel wrote: > >> I suppose the next time the server to be monitored goes down, I can > try > >> pinging it and sending you the output, but I hope it does not happen! > >> > >> Here is the ping results from the server running the ping command to > the > >> server to be monitored, from the command line of course. > >> > >> Yes, FreeBSD 5.4 > >> > >> defiant# ping -c 1 192.168.0.7 > >> PING 192.168.0.7 (192.168.0.7): 56 data bytes > >> 64 bytes from 192.168.0.7: icmp_seq=0 ttl=64 time=0.325 ms > >> > >> --- 192.168.0.7 ping statistics --- > >> 1 packets transmitted, 1 packets received, 0% packet loss > >> round-trip min/avg/max/stddev = 0.325/0.325/0.325/0.000 ms > >> defiant# > >> > >> -GRant > >> > >> ----- Original Message ----- > >> From: "Jamie Cameron" <jca...@we...> > >> To: <web...@li...> > >> Sent: Monday, March 06, 2006 7:13 AM > >> Subject: Re: [webmin-l] Host Is Down > >> > >> > >> > Webmin doesn't actually use the output from the ping command - instead, > >> > it either checks the exit status of the ping command (0 for success > or > >> > 1 > >> > for failure), or sends its own UDP ping packets. > >> > > >> > By the way, which OS are you using there? It is FreeBSD, right? > >> > > >> > - Jamie > >> > > >> > On Mon, 2006-03-06 at 17:48, Grant Peel wrote: > >> >> 'Host is down" shows up when I do I ping to the server being > >> >> monitored. > >> >> > >> >> What I am thinking is ... webmin is looking for a blank response,e > >> >> but > >> >> instead is getting "Host is Down" > >> >> > >> >> -Grant > >> >> > >> >> ----- Original Message ----- > >> >> From: "Jamie Cameron" <jca...@we...> > >> >> To: <web...@li...> > >> >> Sent: Monday, March 06, 2006 4:37 AM > >> >> Subject: Re: [webmin-l] Host Is Down > >> >> > >> >> > >> >> > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: > >> >> >> Hi all, > >> >> >> > >> >> >> I am having troubles with a server, and have tried to add a monitor > >> >> >> in > >> >> >> the > >> >> >> System and Server status Module. > >> >> >> > >> >> >> The system being monitored is freezing solid. I can PING it but > >> >> >> instead > >> >> >> of > >> >> >> just loosing packets, I am getting a "Host is Donw" message which > I > >> >> >> think > >> >> >> is > >> >> >> fooling the script .... I am not getting emails. > >> >> >> > >> >> >> Has anyone some experience with this ? Can I pick your brains! > >> >> >> > >> >> >> Thanks all, > >> >> >> > >> >> >> -Grant > >> >> >> > >> >> >> Here is the /etc/webmin/status/nnnnnnn.serv file: > >> >> >> > >> >> >> runon=0 > >> >> >> depend= > >> >> >> host=192.168.0.7 > >> >> >> ema...@my... > >> >> >> ondown= > >> >> >> clone= > >> >> >> onup= > >> >> >> wait=5 > >> >> >> fails=1 > >> >> >> desc=Remote Ping > >> >> >> type=ping > >> >> >> id=1140983277 > >> >> >> notify=email > >> >> >> nosched=0 > >> >> >> _file=/etc/webmin/status/services/1140983277.serv > >> >> >> oldremote= > >> >> > > >> >> > Hi Grant, > >> >> > Where is this 'Host is down' message showing up in Webmin exactly? > >> >> > Also, what happens if you run a command like : > >> >> > > >> >> > ping -c 1 the.host.address > >> >> > > >> >> > from the Unix shell prompt? > >> >> > > >> >> > - Jamie > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > ------------------------------------------------------- > >> >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> >> > language > >> >> > that extends applications into web and mobile media. Attend the > live > >> >> > webcast > >> >> > and join the prime developer group breaking into this new coding > >> >> > territory! > >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> >> > - > >> >> > 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 > >> >> > > >> >> > >> >> > >> >> > >> >> > >> >> ------------------------------------------------------- > >> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> >> language > >> >> that extends applications into web and mobile media. Attend the live > >> >> webcast > >> >> and join the prime developer group breaking into this new coding > >> >> territory! > >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> >> - > >> >> 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 > >> >> > >> > > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> > language > >> > that extends applications into web and mobile media. Attend the live > >> > webcast > >> > and join the prime developer group breaking into this new coding > >> > territory! > >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> > - > >> > 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 > >> > > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> language > >> that extends applications into web and mobile media. Attend the live > >> webcast > >> and join the prime developer group breaking into this new coding > >> territory! > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> - > >> 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 > >> > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > - > > 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 > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 |
|
From: Grant P. <gp...@th...> - 2006-03-07 09:22:13
|
Hi James, defiant# ping -c 1 -t 1 192.168.0.7 PING 192.168.0.7 (192.168.0.7): 56 data bytes --- 192.168.0.7 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss defiant# echo $? 2 defiant# -Grant ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Tuesday, March 07, 2006 3:26 AM Subject: Re: [webmin-l] Host Is Down > Hi Grant, > What output do you get if you run the command echo $? after the ping > completes? > > - Jamie > > On 7/Mar/2006 03:06 Grant Peel wrote .. >> Hi Jamie, >> >> I shut down em1 on the target host and here is the ping result. >> >> defiant# ping -c 1 -t 1 192.168.0.7 >> PING 192.168.0.7 (192.168.0.7): 56 data bytes >> >> --- 192.168.0.7 ping statistics --- >> 1 packets transmitted, 0 packets received, 100% packet loss >> >> >> -GRant >> >> ----- Original Message ----- >> From: "Jamie Cameron" <jca...@we...> >> To: <web...@li...> >> Sent: Monday, March 06, 2006 7:33 PM >> Subject: Re: [webmin-l] Host Is Down >> >> >> > Hi Grant, >> > On FreeBSD, Webmin uses the command >> > >> > ping -c 1 -t 1 192.168.0.7 >> > >> > to check the host, and then looks at it's exit status. If it is exiting >> > with status 0 (meaning OK) even when the host is down, then this is a >> > problem .. >> > >> > - Jamie >> > >> > On Tue, 2006-03-07 at 06:39, Grant Peel wrote: >> >> I suppose the next time the server to be monitored goes down, I can >> try >> >> pinging it and sending you the output, but I hope it does not happen! >> >> >> >> Here is the ping results from the server running the ping command to >> the >> >> server to be monitored, from the command line of course. >> >> >> >> Yes, FreeBSD 5.4 >> >> >> >> defiant# ping -c 1 192.168.0.7 >> >> PING 192.168.0.7 (192.168.0.7): 56 data bytes >> >> 64 bytes from 192.168.0.7: icmp_seq=0 ttl=64 time=0.325 ms >> >> >> >> --- 192.168.0.7 ping statistics --- >> >> 1 packets transmitted, 1 packets received, 0% packet loss >> >> round-trip min/avg/max/stddev = 0.325/0.325/0.325/0.000 ms >> >> defiant# >> >> >> >> -GRant >> >> >> >> ----- Original Message ----- >> >> From: "Jamie Cameron" <jca...@we...> >> >> To: <web...@li...> >> >> Sent: Monday, March 06, 2006 7:13 AM >> >> Subject: Re: [webmin-l] Host Is Down >> >> >> >> >> >> > Webmin doesn't actually use the output from the ping command - >> >> > instead, >> >> > it either checks the exit status of the ping command (0 for success >> or >> >> > 1 >> >> > for failure), or sends its own UDP ping packets. >> >> > >> >> > By the way, which OS are you using there? It is FreeBSD, right? >> >> > >> >> > - Jamie >> >> > >> >> > On Mon, 2006-03-06 at 17:48, Grant Peel wrote: >> >> >> 'Host is down" shows up when I do I ping to the server being >> >> >> monitored. >> >> >> >> >> >> What I am thinking is ... webmin is looking for a blank response,e >> >> >> but >> >> >> instead is getting "Host is Down" >> >> >> >> >> >> -Grant >> >> >> >> >> >> ----- Original Message ----- >> >> >> From: "Jamie Cameron" <jca...@we...> >> >> >> To: <web...@li...> >> >> >> Sent: Monday, March 06, 2006 4:37 AM >> >> >> Subject: Re: [webmin-l] Host Is Down >> >> >> >> >> >> >> >> >> > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: >> >> >> >> Hi all, >> >> >> >> >> >> >> >> I am having troubles with a server, and have tried to add a >> >> >> >> monitor >> >> >> >> in >> >> >> >> the >> >> >> >> System and Server status Module. >> >> >> >> >> >> >> >> The system being monitored is freezing solid. I can PING it but >> >> >> >> instead >> >> >> >> of >> >> >> >> just loosing packets, I am getting a "Host is Donw" message >> >> >> >> which >> I >> >> >> >> think >> >> >> >> is >> >> >> >> fooling the script .... I am not getting emails. >> >> >> >> >> >> >> >> Has anyone some experience with this ? Can I pick your brains! >> >> >> >> >> >> >> >> Thanks all, >> >> >> >> >> >> >> >> -Grant >> >> >> >> >> >> >> >> Here is the /etc/webmin/status/nnnnnnn.serv file: >> >> >> >> >> >> >> >> runon=0 >> >> >> >> depend= >> >> >> >> host=192.168.0.7 >> >> >> >> ema...@my... >> >> >> >> ondown= >> >> >> >> clone= >> >> >> >> onup= >> >> >> >> wait=5 >> >> >> >> fails=1 >> >> >> >> desc=Remote Ping >> >> >> >> type=ping >> >> >> >> id=1140983277 >> >> >> >> notify=email >> >> >> >> nosched=0 >> >> >> >> _file=/etc/webmin/status/services/1140983277.serv >> >> >> >> oldremote= >> >> >> > >> >> >> > Hi Grant, >> >> >> > Where is this 'Host is down' message showing up in Webmin >> >> >> > exactly? >> >> >> > Also, what happens if you run a command like : >> >> >> > >> >> >> > ping -c 1 the.host.address >> >> >> > >> >> >> > from the Unix shell prompt? >> >> >> > >> >> >> > - Jamie >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > ------------------------------------------------------- >> >> >> > This SF.Net email is sponsored by xPML, a groundbreaking >> >> >> > scripting >> >> >> > language >> >> >> > that extends applications into web and mobile media. Attend the >> live >> >> >> > webcast >> >> >> > and join the prime developer group breaking into this new coding >> >> >> > territory! >> >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> >> > - >> >> >> > 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 >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> >> language >> >> >> that extends applications into web and mobile media. Attend the >> >> >> live >> >> >> webcast >> >> >> and join the prime developer group breaking into this new coding >> >> >> territory! >> >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> >> - >> >> >> 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 >> >> >> >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------- >> >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> > language >> >> > that extends applications into web and mobile media. Attend the live >> >> > webcast >> >> > and join the prime developer group breaking into this new coding >> >> > territory! >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> > - >> >> > 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 >> >> > >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> language >> >> that extends applications into web and mobile media. Attend the live >> >> webcast >> >> and join the prime developer group breaking into this new coding >> >> territory! >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> - >> >> 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 >> >> >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> > language >> > that extends applications into web and mobile media. Attend the live >> > webcast >> > and join the prime developer group breaking into this new coding >> > territory! >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> > - >> > 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 >> > >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> - >> 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 > |
|
From: Jamie C. <jca...@we...> - 2006-03-07 10:05:26
|
That looks OK then .. Does the same thing happen if the host is in this hung state you reported ? Also, what happens if you setup a monitor in Webmin to ping 192.168.0.7 ? - Jamie On 7/Mar/2006 03:22 Grant Peel wrote .. > Hi James, > > defiant# ping -c 1 -t 1 192.168.0.7 > PING 192.168.0.7 (192.168.0.7): 56 data bytes > > --- 192.168.0.7 ping statistics --- > 1 packets transmitted, 0 packets received, 100% packet loss > defiant# echo $? > 2 > defiant# > > -Grant > > ----- Original Message ----- > From: "Jamie Cameron" <jca...@we...> > To: <web...@li...> > Sent: Tuesday, March 07, 2006 3:26 AM > Subject: Re: [webmin-l] Host Is Down > > > > Hi Grant, > > What output do you get if you run the command echo $? after the ping > > completes? > > > > - Jamie > > > > On 7/Mar/2006 03:06 Grant Peel wrote .. > >> Hi Jamie, > >> > >> I shut down em1 on the target host and here is the ping result. > >> > >> defiant# ping -c 1 -t 1 192.168.0.7 > >> PING 192.168.0.7 (192.168.0.7): 56 data bytes > >> > >> --- 192.168.0.7 ping statistics --- > >> 1 packets transmitted, 0 packets received, 100% packet loss > >> > >> > >> -GRant > >> > >> ----- Original Message ----- > >> From: "Jamie Cameron" <jca...@we...> > >> To: <web...@li...> > >> Sent: Monday, March 06, 2006 7:33 PM > >> Subject: Re: [webmin-l] Host Is Down > >> > >> > >> > Hi Grant, > >> > On FreeBSD, Webmin uses the command > >> > > >> > ping -c 1 -t 1 192.168.0.7 > >> > > >> > to check the host, and then looks at it's exit status. If it is exiting > >> > with status 0 (meaning OK) even when the host is down, then this is > a > >> > problem .. > >> > > >> > - Jamie > >> > > >> > On Tue, 2006-03-07 at 06:39, Grant Peel wrote: > >> >> I suppose the next time the server to be monitored goes down, I can > >> try > >> >> pinging it and sending you the output, but I hope it does not happen! > >> >> > >> >> Here is the ping results from the server running the ping command > to > >> the > >> >> server to be monitored, from the command line of course. > >> >> > >> >> Yes, FreeBSD 5.4 > >> >> > >> >> defiant# ping -c 1 192.168.0.7 > >> >> PING 192.168.0.7 (192.168.0.7): 56 data bytes > >> >> 64 bytes from 192.168.0.7: icmp_seq=0 ttl=64 time=0.325 ms > >> >> > >> >> --- 192.168.0.7 ping statistics --- > >> >> 1 packets transmitted, 1 packets received, 0% packet loss > >> >> round-trip min/avg/max/stddev = 0.325/0.325/0.325/0.000 ms > >> >> defiant# > >> >> > >> >> -GRant > >> >> > >> >> ----- Original Message ----- > >> >> From: "Jamie Cameron" <jca...@we...> > >> >> To: <web...@li...> > >> >> Sent: Monday, March 06, 2006 7:13 AM > >> >> Subject: Re: [webmin-l] Host Is Down > >> >> > >> >> > >> >> > Webmin doesn't actually use the output from the ping command - > >> >> > instead, > >> >> > it either checks the exit status of the ping command (0 for success > >> or > >> >> > 1 > >> >> > for failure), or sends its own UDP ping packets. > >> >> > > >> >> > By the way, which OS are you using there? It is FreeBSD, right? > >> >> > > >> >> > - Jamie > >> >> > > >> >> > On Mon, 2006-03-06 at 17:48, Grant Peel wrote: > >> >> >> 'Host is down" shows up when I do I ping to the server being > >> >> >> monitored. > >> >> >> > >> >> >> What I am thinking is ... webmin is looking for a blank response,e > >> >> >> but > >> >> >> instead is getting "Host is Down" > >> >> >> > >> >> >> -Grant > >> >> >> > >> >> >> ----- Original Message ----- > >> >> >> From: "Jamie Cameron" <jca...@we...> > >> >> >> To: <web...@li...> > >> >> >> Sent: Monday, March 06, 2006 4:37 AM > >> >> >> Subject: Re: [webmin-l] Host Is Down > >> >> >> > >> >> >> > >> >> >> > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: > >> >> >> >> Hi all, > >> >> >> >> > >> >> >> >> I am having troubles with a server, and have tried to add a > >> >> >> >> monitor > >> >> >> >> in > >> >> >> >> the > >> >> >> >> System and Server status Module. > >> >> >> >> > >> >> >> >> The system being monitored is freezing solid. I can PING it > but > >> >> >> >> instead > >> >> >> >> of > >> >> >> >> just loosing packets, I am getting a "Host is Donw" message > >> >> >> >> which > >> I > >> >> >> >> think > >> >> >> >> is > >> >> >> >> fooling the script .... I am not getting emails. > >> >> >> >> > >> >> >> >> Has anyone some experience with this ? Can I pick your brains! > >> >> >> >> > >> >> >> >> Thanks all, > >> >> >> >> > >> >> >> >> -Grant > >> >> >> >> > >> >> >> >> Here is the /etc/webmin/status/nnnnnnn.serv file: > >> >> >> >> > >> >> >> >> runon=0 > >> >> >> >> depend= > >> >> >> >> host=192.168.0.7 > >> >> >> >> ema...@my... > >> >> >> >> ondown= > >> >> >> >> clone= > >> >> >> >> onup= > >> >> >> >> wait=5 > >> >> >> >> fails=1 > >> >> >> >> desc=Remote Ping > >> >> >> >> type=ping > >> >> >> >> id=1140983277 > >> >> >> >> notify=email > >> >> >> >> nosched=0 > >> >> >> >> _file=/etc/webmin/status/services/1140983277.serv > >> >> >> >> oldremote= > >> >> >> > > >> >> >> > Hi Grant, > >> >> >> > Where is this 'Host is down' message showing up in Webmin > >> >> >> > exactly? > >> >> >> > Also, what happens if you run a command like : > >> >> >> > > >> >> >> > ping -c 1 the.host.address > >> >> >> > > >> >> >> > from the Unix shell prompt? > >> >> >> > > >> >> >> > - Jamie > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > ------------------------------------------------------- > >> >> >> > This SF.Net email is sponsored by xPML, a groundbreaking > >> >> >> > scripting > >> >> >> > language > >> >> >> > that extends applications into web and mobile media. Attend > the > >> live > >> >> >> > webcast > >> >> >> > and join the prime developer group breaking into this new coding > >> >> >> > territory! > >> >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> >> >> > - > >> >> >> > 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 > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> ------------------------------------------------------- > >> >> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> >> >> language > >> >> >> that extends applications into web and mobile media. Attend the > >> >> >> live > >> >> >> webcast > >> >> >> and join the prime developer group breaking into this new coding > >> >> >> territory! > >> >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> >> >> - > >> >> >> 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 > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > ------------------------------------------------------- > >> >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> >> > language > >> >> > that extends applications into web and mobile media. Attend the > live > >> >> > webcast > >> >> > and join the prime developer group breaking into this new coding > >> >> > territory! > >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> >> > - > >> >> > 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 > >> >> > > >> >> > >> >> > >> >> > >> >> > >> >> ------------------------------------------------------- > >> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> >> language > >> >> that extends applications into web and mobile media. Attend the live > >> >> webcast > >> >> and join the prime developer group breaking into this new coding > >> >> territory! > >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> >> - > >> >> 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 > >> >> > >> > > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> > language > >> > that extends applications into web and mobile media. Attend the live > >> > webcast > >> > and join the prime developer group breaking into this new coding > >> > territory! > >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> > - > >> > 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 > >> > > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> language > >> that extends applications into web and mobile media. Attend the live > >> webcast > >> and join the prime developer group breaking into this new coding > >> territory! > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > >> - > >> 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 > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > - > > 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 > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 |
|
From: Grant P. <gp...@th...> - 2006-03-07 22:30:39
|
If the host is in the hung state or, I shut down the interface, the result is the same, As below. -Grant ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: <web...@li...> Sent: Tuesday, March 07, 2006 4:21 AM Subject: Re: [webmin-l] Host Is Down > That looks OK then .. > Does the same thing happen if the host is in this hung state you reported > ? > Also, what happens if you setup a monitor in Webmin to ping 192.168.0.7 ? > > - Jamie > > On 7/Mar/2006 03:22 Grant Peel wrote .. >> Hi James, >> >> defiant# ping -c 1 -t 1 192.168.0.7 >> PING 192.168.0.7 (192.168.0.7): 56 data bytes >> >> --- 192.168.0.7 ping statistics --- >> 1 packets transmitted, 0 packets received, 100% packet loss >> defiant# echo $? >> 2 >> defiant# >> >> -Grant >> >> ----- Original Message ----- >> From: "Jamie Cameron" <jca...@we...> >> To: <web...@li...> >> Sent: Tuesday, March 07, 2006 3:26 AM >> Subject: Re: [webmin-l] Host Is Down >> >> >> > Hi Grant, >> > What output do you get if you run the command echo $? after the ping >> > completes? >> > >> > - Jamie >> > >> > On 7/Mar/2006 03:06 Grant Peel wrote .. >> >> Hi Jamie, >> >> >> >> I shut down em1 on the target host and here is the ping result. >> >> >> >> defiant# ping -c 1 -t 1 192.168.0.7 >> >> PING 192.168.0.7 (192.168.0.7): 56 data bytes >> >> >> >> --- 192.168.0.7 ping statistics --- >> >> 1 packets transmitted, 0 packets received, 100% packet loss >> >> >> >> >> >> -GRant >> >> >> >> ----- Original Message ----- >> >> From: "Jamie Cameron" <jca...@we...> >> >> To: <web...@li...> >> >> Sent: Monday, March 06, 2006 7:33 PM >> >> Subject: Re: [webmin-l] Host Is Down >> >> >> >> >> >> > Hi Grant, >> >> > On FreeBSD, Webmin uses the command >> >> > >> >> > ping -c 1 -t 1 192.168.0.7 >> >> > >> >> > to check the host, and then looks at it's exit status. If it is >> >> > exiting >> >> > with status 0 (meaning OK) even when the host is down, then this is >> a >> >> > problem .. >> >> > >> >> > - Jamie >> >> > >> >> > On Tue, 2006-03-07 at 06:39, Grant Peel wrote: >> >> >> I suppose the next time the server to be monitored goes down, I can >> >> try >> >> >> pinging it and sending you the output, but I hope it does not >> >> >> happen! >> >> >> >> >> >> Here is the ping results from the server running the ping command >> to >> >> the >> >> >> server to be monitored, from the command line of course. >> >> >> >> >> >> Yes, FreeBSD 5.4 >> >> >> >> >> >> defiant# ping -c 1 192.168.0.7 >> >> >> PING 192.168.0.7 (192.168.0.7): 56 data bytes >> >> >> 64 bytes from 192.168.0.7: icmp_seq=0 ttl=64 time=0.325 ms >> >> >> >> >> >> --- 192.168.0.7 ping statistics --- >> >> >> 1 packets transmitted, 1 packets received, 0% packet loss >> >> >> round-trip min/avg/max/stddev = 0.325/0.325/0.325/0.000 ms >> >> >> defiant# >> >> >> >> >> >> -GRant >> >> >> >> >> >> ----- Original Message ----- >> >> >> From: "Jamie Cameron" <jca...@we...> >> >> >> To: <web...@li...> >> >> >> Sent: Monday, March 06, 2006 7:13 AM >> >> >> Subject: Re: [webmin-l] Host Is Down >> >> >> >> >> >> >> >> >> > Webmin doesn't actually use the output from the ping command - >> >> >> > instead, >> >> >> > it either checks the exit status of the ping command (0 for >> >> >> > success >> >> or >> >> >> > 1 >> >> >> > for failure), or sends its own UDP ping packets. >> >> >> > >> >> >> > By the way, which OS are you using there? It is FreeBSD, right? >> >> >> > >> >> >> > - Jamie >> >> >> > >> >> >> > On Mon, 2006-03-06 at 17:48, Grant Peel wrote: >> >> >> >> 'Host is down" shows up when I do I ping to the server being >> >> >> >> monitored. >> >> >> >> >> >> >> >> What I am thinking is ... webmin is looking for a blank >> >> >> >> response,e >> >> >> >> but >> >> >> >> instead is getting "Host is Down" >> >> >> >> >> >> >> >> -Grant >> >> >> >> >> >> >> >> ----- Original Message ----- >> >> >> >> From: "Jamie Cameron" <jca...@we...> >> >> >> >> To: <web...@li...> >> >> >> >> Sent: Monday, March 06, 2006 4:37 AM >> >> >> >> Subject: Re: [webmin-l] Host Is Down >> >> >> >> >> >> >> >> >> >> >> >> > On Sun, 2006-03-05 at 23:57, Grant Peel wrote: >> >> >> >> >> Hi all, >> >> >> >> >> >> >> >> >> >> I am having troubles with a server, and have tried to add a >> >> >> >> >> monitor >> >> >> >> >> in >> >> >> >> >> the >> >> >> >> >> System and Server status Module. >> >> >> >> >> >> >> >> >> >> The system being monitored is freezing solid. I can PING it >> but >> >> >> >> >> instead >> >> >> >> >> of >> >> >> >> >> just loosing packets, I am getting a "Host is Donw" message >> >> >> >> >> which >> >> I >> >> >> >> >> think >> >> >> >> >> is >> >> >> >> >> fooling the script .... I am not getting emails. >> >> >> >> >> >> >> >> >> >> Has anyone some experience with this ? Can I pick your >> >> >> >> >> brains! >> >> >> >> >> >> >> >> >> >> Thanks all, >> >> >> >> >> >> >> >> >> >> -Grant >> >> >> >> >> >> >> >> >> >> Here is the /etc/webmin/status/nnnnnnn.serv file: >> >> >> >> >> >> >> >> >> >> runon=0 >> >> >> >> >> depend= >> >> >> >> >> host=192.168.0.7 >> >> >> >> >> ema...@my... >> >> >> >> >> ondown= >> >> >> >> >> clone= >> >> >> >> >> onup= >> >> >> >> >> wait=5 >> >> >> >> >> fails=1 >> >> >> >> >> desc=Remote Ping >> >> >> >> >> type=ping >> >> >> >> >> id=1140983277 >> >> >> >> >> notify=email >> >> >> >> >> nosched=0 >> >> >> >> >> _file=/etc/webmin/status/services/1140983277.serv >> >> >> >> >> oldremote= >> >> >> >> > >> >> >> >> > Hi Grant, >> >> >> >> > Where is this 'Host is down' message showing up in Webmin >> >> >> >> > exactly? >> >> >> >> > Also, what happens if you run a command like : >> >> >> >> > >> >> >> >> > ping -c 1 the.host.address >> >> >> >> > >> >> >> >> > from the Unix shell prompt? >> >> >> >> > >> >> >> >> > - Jamie >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > ------------------------------------------------------- >> >> >> >> > This SF.Net email is sponsored by xPML, a groundbreaking >> >> >> >> > scripting >> >> >> >> > language >> >> >> >> > that extends applications into web and mobile media. Attend >> the >> >> live >> >> >> >> > webcast >> >> >> >> > and join the prime developer group breaking into this new >> >> >> >> > coding >> >> >> >> > territory! >> >> >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> >> >> > - >> >> >> >> > 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 >> >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> >> >> This SF.Net email is sponsored by xPML, a groundbreaking >> >> >> >> scripting >> >> >> >> language >> >> >> >> that extends applications into web and mobile media. Attend the >> >> >> >> live >> >> >> >> webcast >> >> >> >> and join the prime developer group breaking into this new coding >> >> >> >> territory! >> >> >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> >> >> - >> >> >> >> 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 >> >> >> >> >> >> >> > >> >> >> > >> >> >> > >> >> >> > ------------------------------------------------------- >> >> >> > This SF.Net email is sponsored by xPML, a groundbreaking >> >> >> > scripting >> >> >> > language >> >> >> > that extends applications into web and mobile media. Attend the >> live >> >> >> > webcast >> >> >> > and join the prime developer group breaking into this new coding >> >> >> > territory! >> >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> >> > - >> >> >> > 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 >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> >> language >> >> >> that extends applications into web and mobile media. Attend the >> >> >> live >> >> >> webcast >> >> >> and join the prime developer group breaking into this new coding >> >> >> territory! >> >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> >> - >> >> >> 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 >> >> >> >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------- >> >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> > language >> >> > that extends applications into web and mobile media. Attend the live >> >> > webcast >> >> > and join the prime developer group breaking into this new coding >> >> > territory! >> >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> > - >> >> > 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 >> >> > >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> >> language >> >> that extends applications into web and mobile media. Attend the live >> >> webcast >> >> and join the prime developer group breaking into this new coding >> >> territory! >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> >> - >> >> 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 >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> > language >> > that extends applications into web and mobile media. Attend the live >> > webcast >> > and join the prime developer group breaking into this new coding >> > territory! >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> > - >> > 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 >> > >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> - >> 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 > |