Ubuntu Servers :: Application To Monitor Ping Times To Clients
Sep 11, 2010
I have an embedded server running Ubuntu which is on a network with a lot of wireless AP's. The AP's doesn't support SNMP or anything else, so I monitor if they are up or down by simply pinging them continuously.
My question is if there is anything I could install on the server that could provide me with a webpage where I could see the ping time to the AP's? So it just shows a list of the IP's I have told it to ping, and what their latest response time is. This is what I basically need, but if it were more advanced than that, and could give warnings if ping time were to high etc.
I recently setup a new Linux server running Fedora 10. For some reason all ping response times are rounded to the nearest 10ms. For example, running the simple command "ping yahoo.com" give the following sample results:
64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=12 ttl=57 time=60.0 ms 64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=13 ttl=56 time=50.0 ms 64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=14 ttl=56 time=40.0 ms 64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=15 ttl=56 time=50.0 ms
I could post a larger result set but its all the same... every response is rounded to a multiple of 10ms. This wouldn't be a big deal except that the server is running Nagios for monitoring so accurate stats are important. The Nagios check_ping and check_icmp commands are also returning rounded off results. How can I get ping to simply respond with the actual response times rather than a rounded off number?
i wonder if you can modify KDE so that users can only log in once with one session.Currently, with KDE 4.5, i have the problem that user can log in several times and then ending up with an application used in a different session which means that you can not use it in the other session.
I'm porting C++ application from ARM to MIPS platform. It works now, but I see some strange timing problems. I've seen now that My app process is called multiply time. Here is "top" output:
I have a strange problem for internet. My clients (winxp - S2) can't get internet.Let me explain my scenerios. Fedora 10 with lan (eth0) having direct internet from dsl model, client (XP service pack 2) can use samba shares using dhcp (wlan0) installed in Fedora 10 box. client can ping my linux box.Now problem is: client (dosbox) can ping the google ip address (i.e ping 74.125.39.106) but can't use 'ping www.google.com'. That means ping with ip works for internet from my client. My linux box can. I can use internet from FC10 but can't use iexplorer from my client to have internet. I have enable ipmasquarding in Firewall and dhcpd is running on wlan0 for dynamic ip address of my clients.Can someone suggest me what kind of problem having I? What should i do to success iexplorer for internet? what possibly am i missing?
I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.
But if I gave ping -I eth1 <IP> then I can ping.
I cannot install any package, so tell me solution which includes not installing any package.
I run the ping command using system() in C. It start pinging the desired destination but when I close my application it continues to ping. Is there any solution that as soon as I close my application it also stops pinging. Any change required in my C code?
I am noticing really odd behaviour after upgrading from 8.10 to 9.10 (via 9.04). My server frequently becomes unreachable. I am using it as an application server, running Apache, JBoss and MySql. Once the server goes idle, all web connections time out. SSH also times out. Usually the server wakes up on second SSH attempt and then everything: Web, SSH etc seems to run fine.
This is a server machine with no GUI. Can anyone point me to power management or other such settings I can tune from commandline? I have disabled power management by adding kernel parameter acpi=off. I still have the problem. The first network connection after the machine has gone idle takes a long time. All later connections run pretty smoothly.
I administrat a school in Denmark, with around 40 clients runnig xp pro and a windows 2003 server, but i read about the possibility of running a linux server, with thin clintes that can run from the server, if it has network pxe boot.
I was wondering if anybody now any links to a good how to page, on what is needed on the setup side of the server, and clients. To make it work. And i have to use my dhcp from the win 2003 server. Is that possible.
Im having a problem with our pxe environment. We have around 200 clients per server to boot from tftp and when we hit 250 the service just freezes. So, our options are to either add more servers or move to a more robust protocol. Is this feasible?? How can clients boot from ftp?
I have got a 10.4 LTS LTSP server running as i needed it should do.
When i boot-up one of the terminal it sees the DHCP and starts loading from the LTSP all working ok.... when it gets the login screen some of the terminals get the box on the screen to enter the user name and password. the other terminal dose not.
The work around i have got is that i have to click on the blank screen at the bottom left to get the "pick a session" button then i can login and can login as normal.
When all the clients login all is well, And works as if the system was loaded locally its fast and at the mow its reliable. The only thing that is not working as it should is the log in screen.
I've done some searching around but can't find anything conclusive on this error. The tech at my remote site restarted the 9.04 server(not sure if it was accidental or planned) and when it started the boot process, an error like the following shows up...
"The display server has restarted 6 times in the past 90 seconds. This indicates that something bad is happening."
At work, we use two very powerful servers to host a series of VMs to do some heavy-lifting analytical work. Part of my job has been to evaluate a variety of different virtualization environments, including changing the host OS (or dom0 kernel for Xen), changing the platform (KVM, Xen, ESXI, etc.), and changing the guest OS types.
I noticed a number of behaviors that Ubuntu exhibited that set it apart (almost always in a positive way) from the other OSes. Most astounding though was that when an Ubuntu 10.04 AMD64 server VM was booted from an Ubuntu 10.04 AMD64 server host (that is, same version of Host OS and Guest OS) in KVM, the guest boots in roughly 2 seconds. At least, the guest boots faster than the VNC connection can initialize.
I'm certainly not complaining, but I can't for the life of me figure out how this could be possible. I understand that the Upstart init daemon is very good about startup times.
When ever i run ssh -p <port> <user>@<remote IP>, i get a connection has timed out error. (i use the -p <port> part because i'm using a custom port). does anyone know what could be causing this? i know of a few *possible* problems, but i don't know how to test them all.
- I am on the same network as the server (I'm trying to test using remote IP to make sure it works before i go out an try it somewhere else)
-The router could be blocking it (i'm using linksys)
-IPtables may not be set up right (i think it is though. the only thing i've run is "sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT". I have changed the port for the server since then. maybe i have to restart it or something for it to recognise the change? I know very little about IPtables though).
-maybe i have to change something in my client or server config files? (the only config file i've changed is the sshd_config file on the seerver, and that was to change the port to my custom port).
thats all i can think of for now. It may be none of those. I do have the sshd_config and port forwarding in my router set to the same port, so thats good.
I would like to know whether ldap can be used to authenticate wireless clients with my server.server and clients are connected to a wireless router and i am able to get wireless adapter work in my ubuntu. Is there any anything extra which is required or the openldap server will work for wireless clients?
I do not understand this command well. Yes, I have looked at man route and that whilst that gives lots of information about the switches I cannot see it in context. I have a server with two nics. One to the Internet (eth1) and one to the lan (eth0). I use pppoe and when it is running I get a virtual adapter appear in ifconfic called ppp0 which shows the public DNS and ISP session IP. I entered the command: route add -host (gateway IP) dev eth1 and get the Internet to appear on the server. However, I do not get the Internet to the clients. I have turned off the firewall to be sure that this is not the problem.
We have been using Ubuntu 8.04 with ltsp the server is Intel P4 with 2 GB Ram and the 8 client consist of either Atom or old P3 and P4. Now we want to increase the clients and want to upgrade to latest ubuntu 10.04.
I heard AMD does excellent job with LTSP but is it possible to have intel clients and AMD as a server. If not then which the best intel server I can have other than xenon (Bcoz of the price factor i dont want to go for that)
On a Lucid server, dnsmasq is happily running DHCP together with a local DNS; although, in setting up NFS, I seem to have a small problem... I have /etc/exports referencing the hostname of the clients but these IPs change when the DHCP lease is renewed. Unless I restart NFS or run exportfs, I cannot mount the exports on my clients. I know that it would be good to make the all the addresses static; however, I was wondering whether there is another way to configure NFS such as possibly adding in a script to continually monitor /var/lib/misc/dnsmasq.leases and re-export accordingly?
I must be very thick as i cannot seem to get my dhcp clients to connect to the Internet properly. on my lucid server i installed dhcp3 server and bind9, i can ping and dig all on the local network. on the clients however, as soon as i go out of the local network there's messages like "unknown host www.google.com" or "network is unreachable".
I've successfully built my server, and any fat or thin client that I connect to it boots wonderfully, with great response. I've gone through this exercise because we need a more efficient way of testing computers before delivery to our customers. So, I'm trying to run Passmark's BurnInTest. I've run it before with previous versions (9.something, I think) and it worked well, but I needed to build a new server so we can test more computers concurrently, so I figured I'd get the latest release.
My problem occurs when I try to run BurnInTest - it must have root access to test the local USB, parallel, and serial ports, and the optical drive. For the previous iteration I used a script that dropped into a local xterm session, su'd to a root session, and called the BiT GUI. In this attempt, the same scripts, even when I single-step them manually, results in 'authentication failure' when the su is attempted.
I have enabled the root account and created a password for it in the chroot /opt/ltsp/i386, and rebuilt the image, multiple times, no joy. Using ctrl-alt-F1 I can log in as root, and using dmesg I can see the USB device register when I connect it, so as far as I can tell the root account is alive and well, just not available in a local xterm session for some reason.
I have one local mail server hosted in Mdaemon in my office and ip is 192.168.10.2. My clients can't use the email from the outside. If they want to use the mail, they need to come to office. I want them to use from the outside. How can i set up the mail server. Do i need to host the server on the hosting? I want to synchronize with my local mail server. I don't have the public IP BTW.
I changed over to U-Verse which means I have a new router, gateway and IPs. Took some doing but everything is working on my server with one exception.Outgoing SMTP mail.I get CONNECTION TIMEOUT when ever something from inside my network tries to hit an SMTP server outside.Any computer within my network does a Telnet (hostname or IP) 25 and I get a time out.Port 25 is open on the router.
I'm using Fedora 12 with Apache 2.2.14, and I was having this error on 2.2.13 as well.
Even when I connect to my server over LAN, Firefox times out occasionally while connecting. I can't figure out what is causing this. The error_log isn't showing anything. I even cleaned the error_log file, so that if something happened, it'd be a little easier to spot. But I'm still getting time outs, and nothing in the error_log.
Here is my httpd.conf [URL]
It's the default Fedora configuration, I've only changed the ServerName if I remember correctly. it's not the Timeout setting, because on LAN it should never time out.
what cloud computing is and i think it can help me with some of my clients i want to switch my clients from a normal ubuntu server to a ubuntu cloud. as of right now i have to send out a bill to them and if they dont pay i have to shut down there service till they pay. what i would like to do is to have a cloud where i can sell them based on what they use not a set price like it is now. and have them be able to pay there bill on the cloud and if they miss the bill then the cloud can shut off there service till its payed.
i dont know if this is possible and i have looked everywhere and all i can find is info on other businesses billing and now how to set up a cloud to do this. i wish there was some kind of tutorial for this. if anyone can direct me to some good notes/tutorials that would be very helpful. this could be a big changing point in my business if i can do this. it would save a lot of time and cash.