9 votes

How do I monitor the temperature ever 3 seconds without entering new commands?

I think using watch command is much easier, for example: watch {your command} In your case, it will be: watch vcgencmd measure_temp That will refresh by 2 seconds, if you want to define the ...
GoForce5500's user avatar
5 votes

Detect Power Loss in AC outlet

Here is a simple one... Why not set up two pi's, one on the circuit that has power and have it send a heartbeat, then another that is on a UPS circuit, when the heartbeat stops, the power is gone...
Mthylynn's user avatar
4 votes

spy urls on rpi hotspot

There are several considerations here. The straightforward way is to log what the DNS forwarding (you've probably enabled) in your pi does. Typically, this will be a service such as dnsmasq, depending ...
PMF's user avatar
  • 886
3 votes

Why don't I see a CPU usage monitor in menu bar on my raspberry Pi 4? And how can I get one?

There is a CPU Usage Monitor which you can activate in the Panel. Whether it is useful on a Pi4 is doubtful. Right click on the Panel then the Add button and select from the list.
Milliways's user avatar
  • 60k
3 votes

Monitor a log file in real time, and do something. How?

Try using the watch command. Click here for man page. Maybe something like: watch tail /var/log/omxlog | awk '/player_new/ { "echo hello" }' watch runs command (in your case tail) repeatedly and ...
NonStandardModel's user avatar
3 votes

Using Raspberry Pi as a Wi-Fi Scanner/Analyser

Yes it's possible, a great tutorial is Wi-Fi on the Command Line, but make sure to use an 8dBi, or greater, omni-direcional/uni-directional antenna with your Wi-Fi card. Feel free to ask further ...
Alexey Vesnin's user avatar
3 votes

Detect Power Loss in AC outlet

Take a crummy old 5V phone charger or something. Wire it to the input side an optocoupler with an appropriate resistor. Connect the output side of the optocoupler to a pair of GPIO pins (I'm more ...
Wayne's user avatar
  • 31
3 votes

How can I log all packets sent by connected devices over WiFi when using a Pi as a bridge?

The capturing is a job for tcpdump. As you have a bridge, you can capture on either side (eth0 or wlan0), but I would recommend the side where the device you want to monitor is attached. If you have ...
RalfFriedl's user avatar
  • 2,188
3 votes
Accepted

How can I monitor LAN traffic on raspberry pi?

Probably the most popular related project with GUI is Wireshark Wireshark is the world’s foremost and widely-used network protocol analyzer. It lets you see what’s happening on your network at a ...
Ephemeral's user avatar
  • 2,157
2 votes

Raspberry Pi as a network monitoring device

I am tracking network traffic of my TPLink router using a Raspberry Pi that is running collecd. Install collectd with sudo apt-get install collectd collectd-utils Edit /etc/collectd/collectd.conf ...
Nik Wekwerth's user avatar
2 votes

Home energy monitor devices

The open energy monitor site you've mentioned is possibly the best place to start for background reading/research. Ideas and snippets cam be used to roll ones own setup if inclined. This link ...
Azeo's user avatar
  • 21
2 votes
Accepted

Using many individual Raspberry Pi's as monitoring systems in a 'business' usage setting

Regarding 'version control' / 'configuration management' - you might want to check out Puppet or something of that ilk for easier management of multiple end points. You'd probably also want to look ...
KennetRunner's user avatar
  • 1,050
2 votes

How to check traffic and connected devices?

You can use the ipfm command line tool, a very good tool for your requirements. For more information, see man(8) ipfm. Sample output: # IPFMv0.11.5 2017/07/24 10:12:08 -- dump every 0d00:00:01 -- ...
praveen's user avatar
  • 63
2 votes

Detect Power Loss in AC outlet

I agree with all other answers, MAINS IS DEADLY! With that warning aside, a viable solution would be a opto coupler/isolator. A opto coupler separate the mains from the more sensitive GPIO pins on ...
MatsK's user avatar
  • 2,791
2 votes

How to install latest munin server

This appears to be the same issue as bug #837788 in the Debian bug tracker. It appears that this is actually by design, and Munin installed without any problems from the repo on your Pi: On Fri, 10 ...
Aurora0001's user avatar
  • 6,308
2 votes

Monitor directory for regular file creation and alert if the stream of files stops

You are correct about ifnotify - and kudos to you for discovering it. It cannot react to the absence of an event. What you are going to want is a script or a python program to do as you described. ...
SDsolar's user avatar
  • 2,348
2 votes

How to monitor network utilization on raspberry pi 3 (raspbian stretch)?

Edit the file /etc/rpimonitor/template/network.conf a. Comment those lines you want to left out (eg "To activate network monitoring ..." by inserting a # in front of the line. b. Comment out ...
Peter's user avatar
  • 21
2 votes
Accepted

How to set up a basic heartbeat monitor

https://healthchecks.io/ is a great tool for basic monitoring and alerting, and works perfectly for a heartbeat check. Simply create a check with a relatively frequent period (I went with a 30 minute ...
dimo414's user avatar
  • 752
2 votes

How can I monitor LAN traffic on raspberry pi?

You can use tcpdump too. It may already be installed on your distro. It depends on how far you want to go into the analysis of captured packets.
Kate's user avatar
  • 304
2 votes
Accepted

remote sensors for soil moisture

MQTT is a little heavyweight for what @jonsken needs. For low power low bandwidth sensor networks where the data flows from sensor to computer the better solution would be to use a LoRaWAN, short for ...
Nicholas Walton's user avatar
1 vote

Why don't I see a CPU usage monitor in menu bar on my raspberry Pi 4? And how can I get one?

Right click on task bar and select Add/Remove Panel items. In panel preferences window highlight Menu. Click on Add. This opens the Add plugin to panel window. Scroll down to CPU Usage Monitor and ...
user157690's user avatar
1 vote
Accepted

CPU/RAM monitoring of one process

Try running the following command in a loop and see if you can get the update rate you want: ps -p <PID> -mo %cpu %mem >> log.txt Depending on what you mean by "memory", you may be ...
Dmitry Grigoryev's user avatar
1 vote

Script for monitoring RAID status

You don't even need a script for this, you can just use the watch command. watch cat /proc/mdstat Options you may want to use: -d, --differences [permanent] Highlight the differences between ...
RalfFriedl's user avatar
  • 2,188
1 vote

munin setup cannot add client

Problem has been solved by changing the name to /etc/hosts & hostname & reboot
john's user avatar
  • 131
1 vote
Accepted

Apache Server Monitoring

Use tail -f <file> to output the end of, and follow new writes to, a text file. You probably want to follow /var/log/apache/access.log (but the location may vary, check https://unix....
Bex's user avatar
  • 2,929
1 vote

How can any cellphone LCD be used as a portable monitor?

Please consider it's almost impossible to use a random screen with your rpi ... If you are extremely lucky, you will be able to find your screen reference on this github wiki. In other cases, you ...
Technico.top's user avatar
  • 1,406
1 vote
Accepted

WiFi network usage shows more than Ethernet usage

Obviously there's some local traffic between your mobile and the hotspot. mDNS would be the first suspect in my list. You can track active connections with netstat to find out what it really is.
Dmitry Grigoryev's user avatar
1 vote
Accepted

Monitor output is always my touchscreen, not my computer monitor

Assuming you are using the waveshare 3.5in. TFT (or a compatible display), You can switch back to HDMI mode with the following commands: cd LCD-show/ ./LCD-hdmi Then remove the touchscreen and ...
Steve Robillard's user avatar
1 vote

Android Tablet as Pi monitor without WiFi

I have used an approach to access a personal Wiki running on the Pi from other computers that might work for what you want to do. This approach also allows me to remote into the Pi from a tablet, ...
Ricardo's user avatar
  • 1,048

Only top scored, non community-wiki answers of a minimum length are eligible