GithubHelp home page GithubHelp logo

salseeg / ping-indicator Goto Github PK

View Code? Open in Web Editor NEW
90.0 14.0 13.0 3.1 MB

Network monitoring Ubuntu indicator that constantly pings given servers and shows latency on logarithm scale

Home Page: http://salseeg.github.io/ping-indicator/

Makefile 6.41% Python 92.21% C 0.90% Shell 0.48%

ping-indicator's Issues

Some system do not respond to same ping ID

I have system that will not respond to the same Ping ID after network failure. It looks like a security feature in the OS.

The same system will respond to standard linux ping command e.g.:

$ ping 192.168.1.1

The command line ping changes the Ping ID with every invocation, however ping-indicator keeps the same process id.

I have tested version of ping-indicator-daemon.py where I generate the Ping ID in every call of make_ping_object(self.hostname, randomint(1, 65534))

That seems to be making it perfect.

ping-indicator-daemon.py.patch.txt

ImportError: No module named 'gtk'

I downloaded and installed the .deb on Ubuntu 16.04 and executed from the command line:

ping-indicator

Traceback (most recent call last):
File "/usr/bin/ping-indicator", line 4, in
import gtk
ImportError: No module named 'gtk'

Not depend on python system-wide packages

Can you please make your indicator not requiring python-appindicator, python-glade2, python-imaging packages? I really don't want to install any python-* package system-wide.

Other distro support

Hi,

First of all great job and thanks for your work!
Do you plan to support other distributions (Fedora, Arch)? Could you provide some building instructions?

Best Regards,
Presian

Reinstall app after incorrect installation: rm: cannot remove '/usr/bin/ping-indicator':

precondition: ubuntu 
uname -a
Linux ba100344 5.16.7-051607-generic #202202051431 SMP PREEMPT Sat Feb 5 20:23:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

sudo lshw -short
H/W path              Device     Class          Description
===========================================================
                                 system         21A4 (LENOVO_MT_21A4_BU_idea_FM_ThinkBook 15 G3 ACL)
/0                               bus            LNVNB161216
/0/0                             memory         128KiB BIOS
/0/4                             processor      AMD Ryzen 5 5500U with Radeon Graphics
/0/4/5                           memory         384KiB L1 cache
/0/4/6                           memory         3MiB L2 cache
/0/4/7                           memory         8MiB L3 cache
/0/22                            memory         16GiB System Memory
/0/22/0                          memory         8GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 3200 MHz (0.3 ns)
/0/22/1                          memory         8GiB Row of chips DDR4 Synchronous Unbuffered (Unregistered) 3200 MHz (0.3 n
$ sudo dpkg -i ping-indicator_1.0-2_amd64.deb 
(Reading database ... 225616 files and directories currently installed.)
Preparing to unpack ping-indicator_1.0-2_amd64.deb ...
Unpacking ping-indicator (1.0-2) over (1.0-2) ...
rm: cannot remove '/usr/bin/ping-indicator': No such file or directory
dpkg: warning: old ping-indicator package post-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
rm: cannot remove '/usr/bin/ping-indicator': No such file or directory
dpkg: error processing archive ping-indicator_1.0-2_amd64.deb (--install):
 new ping-indicator package post-removal script subprocess returned error exit status 1
rm: cannot remove '/usr/bin/ping-indicator': No such file or directory
dpkg: error while cleaning up:
 new ping-indicator package post-removal script subprocess returned error exit status 1
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
 ping-indicator_1.0-2_amd64.deb

please add 32bit deb download

Only a 64bit deb is offered for download. Please consider adding a 32bit deb as well.

Deleted initial bug report, I see there's also a daemon wrapper that's arch-specific, so it can be built for all architectures.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.