Web Hosting Talk







View Full Version : PortSensor


Cirtex
08-23-2006, 10:48 PM
Just saw the ads for Portsensor here on WHT, thought it looked very nice. Anyone tried it yet?

Cheers!

Techark
08-24-2006, 05:37 PM
Just joined the beta and will be setting it up in the next few days to test.

Will update here once we get it going and see how well it does with a hundred or so servers.

Matt
08-24-2006, 08:38 PM
Installed the Beta last night and so far, so good. I really like the ability to customize what you want monitored for multiple servers/sensors in one single location.

tickedon
08-25-2006, 04:07 AM
I've been using it for a number of weeks now, must say it's very good at what it does. It's come along nicely since the early builds :)

Meisam
08-26-2006, 04:39 PM
Been using it for a few days now and i must say its looking good.

Meisam

Olate
08-29-2006, 11:03 AM
I would also agree. Although I don't like the warning sound, it is nice and easy to use and works fine once set up. I've made a couple of suggestions about ordering and startup on Windows but it's working nicely for us.

HostRefugee-Vince
08-31-2006, 10:16 PM
Installed it last night and so far I love it!

Had my first Heart Attack this morning when my DSL service dropped it's connection. The warning sound will definently get anyone's attention.

Today I hacked together a Disk Space sensor like they show in the screen shot on there homepage. Was not incredibly hard, just added a few lines to the /usr/local/portsensor/service file and coded a small perl script that I stuck in the same directory.

I agree with David that Sensor Ordering should be added. Also would be nice to see some documentation on setting up sensors. It's still a beta though, so I am sure all that stuff is coming soon!

Jeremy Johnstone
08-31-2006, 11:55 PM
While I am slightly biased having previously worked for the company who wrote the app, I can say I have been using it since it's early early versions and it's a really awesome app. Its one of the best publicly available apps I have seen for the task and I have tested a ton of them previously. Look on my blog and I should have a full writeup on it this weekend hopefully.

jstanden
09-01-2006, 12:12 AM
Hey there! I'm one of the PortSensor developers at WebGroup Media. We also do a couple other things, so you can just ignore my sig. ;)

Had my first Heart Attack this morning when my DSL service dropped it's connection. The warning sound will definently get anyone's attention.

haha! I went a little overboard making the sound pierce 4 walls to wake me up at night. We'll be putting together a library of freely available sounds on our site -- including some more "traditional" alarms.

In the newest build you can add a "false alarm" url to File->Preferences->General. If your DSL/wifi/etc drops PortSensor will check the URL (say, yahoo.com/google.com). If that site is down, and all your sensors are down, it won't sound the alarm and wake you up (or send you to the hospital, or cure your hiccups).

Today I hacked together a Disk Space sensor like they show in the screen shot on there homepage. Was not incredibly hard, just added a few lines to the /usr/local/portsensor/service file and coded a small perl script that I stuck in the same directory.

I'm glad you found the process easy! With the newest build (on the site now) you can do the same thing using SSH Sensors (and ditch xinetd entirely).

I agree with David that Sensor Ordering should be added. Also would be nice to see some documentation on setting up sensors. It's still a beta though, so I am sure all that stuff is coming soon!

Sensor ordering is also available in the version that's on the public website now.

We're definitely putting together more information on the custom sensors. Some of that is already in the application help system (Help->Contents). We'll also be putting together a 'cookbook' of useful Linux snippets for various measurements.

Assuming you're using BASH, here are a couple of my favorites:

Load:
cat /proc/loadavg | awk '{print $1" "$2" "$3}'

Highest CPU Processes:
ps -auxw | awk '{print $3"% "$11}' | sort -n -r | head -n 5

Single Partition Disk Space (customize the partition):
df -h | grep /dev/sda3 | awk '{print "Space used: "$5" Free: "$4}'

All Partition Disk Space:
df | grep -v Filesystem | awk '{print $1" "$5}'

Qmail Messages in Queue:
/var/qmail/bin/qmail-qstat | head -n 1

Thanks for all the great feedback guys!

cyberdyne
09-05-2006, 03:23 PM
Gonna give this app a try and it seems interesting and right what I'm wanting.