Swynol 375 Posted March 9, 2017 Share Posted March 9, 2017 Wondering what people use to keep a eye on their equipment. I've started playing around with PRTG. only just installed it but so far its pretty decent. It uses sensors from the devices you add. so i added my server and it uses sensors from cpu, memory network card, disks etc which you can create graphs, tables and nice widgets to montior them. i have also added my router and switch and it can monitor the individual ports on the switch as well as throughput on each port. i also have it monitoring ports on my NGINX so it knows when when emby, sonarr, nzb etc etc services are up. Link to comment Share on other sites More sharing options...
CBers 6882 Posted March 9, 2017 Share Posted March 9, 2017 Do you have a link to PRTG please ?? Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 9, 2017 Author Share Posted March 9, 2017 ye sure its - https://www.paessler.com/prtg 100 sensors are free. i'm monitoring a few machines, one server, a few network devices and have used around 70 sensors. 1 Link to comment Share on other sites More sharing options...
Guest asrequested Posted March 9, 2017 Share Posted March 9, 2017 This might be useful in figuring out my network issue. Link to comment Share on other sites More sharing options...
pir8radio 1301 Posted March 10, 2017 Share Posted March 10, 2017 Good job @@Swynol, I love PRTG have used it for a long time.. You can monitor individual applications too (emby, ffmpeg, nginx) as well as hardware.. Packet sniffing sensor lets you dig into your network traffic, or enable snmp on your router get about the same info. Once you get some data captures under your belt it will alert you of abnormal patterns... Yea its great when you have issues too, you can go back and look, compare stats from a year ago if you need to.. get text/push/email alerts based on your settings... good to see more people using it! Stats are fun! Fans, power supply, temperatures: Link to comment Share on other sites More sharing options...
CBers 6882 Posted March 10, 2017 Share Posted March 10, 2017 I installed it last night and only had a quick play with it, but it looks very comprehensive. Need to let it run for some time to build the stats databases. The mobile app is pretty good also. Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 10, 2017 Author Share Posted March 10, 2017 Good job @@Swynol, I love PRTG have used it for a long time.. You can monitor individual applications too (emby, ffmpeg, nginx) as well as hardware.. Packet sniffing sensor lets you dig into your network traffic, or enable snmp on your router get about the same info. Once you get some data captures under your belt it will alert you of abnormal patterns... Yea its great when you have issues too, you can go back and look, compare stats from a year ago if you need to.. get text/push/email alerts based on your settings... good to see more people using it! Stats are fun! Fans, power supply, temperatures: how did you get the temp stats? are you using OHM and then a bat file? Link to comment Share on other sites More sharing options...
pir8radio 1301 Posted March 10, 2017 Share Posted March 10, 2017 how did you get the temp stats? are you using OHM and then a bat file? I'm using an HP server it has remote management iLO4 which outputs snmp info on all of the hardware. They have like 40 temperature sensors in them... But you should be able to get fan speeds and temps with OHM using WMI (if on windows). Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 10, 2017 Author Share Posted March 10, 2017 ah ok makes sense. just figured out how to use Open Hardware Monitor and a custom wmi. so managed to get cpu load and temp working across all cores. 1 Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 12, 2017 Author Share Posted March 12, 2017 (edited) @@pir8radio i know your good with NGINX reverse proxy. wondering if you can help me out with a config. I want to point stats.mydomain.com to http://127.0.0.1:8081/public/mapshow.htm?id=XXXX&mapid=\XXXXXXX-XXX-4XXX-XXXX-XXXXXXXXXXX i want to be able to see my PRTG map by just typing my subdomain rather than bookmarking or remembering the long string/key. i tired with the below but it doesnt load the map, only some errors - 10s 30s 60s refresh Loading... Map Refresh Failed Lost connection to PRTG server Your browser may not be supported, map may be shown incorrectly. #PRTG Stats Map## server { listen [::]:80; listen 80; listen [::]:443 ssl; listen 443 ssl; server_name stats.mydomain.com; ssl_session_timeout 30m; ssl_protocols TLSv1.2 TLSv1.1 TLSv1; ssl_certificate SSL/cert.pem; ssl_certificate_key SSL/private.key; ssl_session_cache shared:SSL:10m; if ($scheme = http) { return 301 https://$server_name$request_uri; } location / { proxy_pass http://127.0.0.1:8081/public/mapshow.htm?id=XXXX&mapid=\XXXXXXX-XXX-4XXX-XXXX-XXXXXXXXXXX; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #Next three lines allow websockets proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } } Edited March 12, 2017 by Swynol Link to comment Share on other sites More sharing options...
pir8radio 1301 Posted March 12, 2017 Share Posted March 12, 2017 @@pir8radio i know your good with NGINX reverse proxy. wondering if you can help me out with a config. I want to point stats.mydomain.com to http://127.0.0.1:8081/public/mapshow.htm?id=XXXX&mapid=\XXXXXXX-XXX-4XXX-XXXX-XXXXXXXXXXX i want to be able to see my PRTG map by just typing my subdomain rather than bookmarking or remembering the long string/key. i tired with the below but it doesnt load the map, only some errors - 10s 30s 60s refresh Loading... Map Refresh Failed Lost connection to PRTG server Your browser may not be supported, map may be shown incorrectly. #PRTG Stats Map## server { listen [::]:80; listen 80; listen [::]:443 ssl; listen 443 ssl; server_name stats.mydomain.com; ssl_session_timeout 30m; ssl_protocols TLSv1.2 TLSv1.1 TLSv1; ssl_certificate SSL/cert.pem; ssl_certificate_key SSL/private.key; ssl_session_cache shared:SSL:10m; if ($scheme = http) { return 301 https://$server_name$request_uri; } location / { proxy_pass http://127.0.0.1:8081/public/mapshow.htm?id=XXXX&mapid=\XXXXXXX-XXX-4XXX-XXXX-XXXXXXXXXXX; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #Next three lines allow websockets proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } } You really should use rewrite rules, but i assume you would want access to prtg (all of it) remotely anyway? Do you already have a PRTG.mydomain.com setup? Or do you only want to give access to the public map? Link to comment Share on other sites More sharing options...
pir8radio 1301 Posted March 12, 2017 Share Posted March 12, 2017 You can try this see if you can cheat, i didn't test, but it should allow the JS and whatnot to load I also removed the websocket stuff you can leave it in if you want: Nginx might throw you an error with this though.. Let me know if not, ill show you how to do a rewrite that will work. location / { proxy_pass http://127.0.0.1:8081/public/mapshow.htm?id=XXXX&mapid=\XXXXXXX-XXX-4XXX-XXXX-XXXXXXXXXXX; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /public/ { proxy_pass http://127.0.0.1:8081; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } } Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 12, 2017 Author Share Posted March 12, 2017 You really should use rewrite rules, but i assume you would want access to prtg (all of it) remotely anyway? Do you already have a PRTG.mydomain.com setup? Or do you only want to give access to the public map? i mainly want to access the map but by keeping my key private so people only see the url i want them to see. i could have a separate rewrite to access the rest of prtg Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 12, 2017 Author Share Posted March 12, 2017 You can try this see if you can cheat, i didn't test, but it should allow the JS and whatnot to load I also removed the websocket stuff you can leave it in if you want: Nginx might throw you an error with this though.. Let me know if not, ill show you how to do a rewrite that will work. location / { proxy_pass http://127.0.0.1:8081/public/mapshow.htm?id=XXXX&mapid=\XXXXXXX-XXX-4XXX-XXXX-XXXXXXXXXXX; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /public/ { proxy_pass http://127.0.0.1:8081; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } } thanks for the help. however i get the same error with that script. Link to comment Share on other sites More sharing options...
pir8radio 1301 Posted March 12, 2017 Share Posted March 12, 2017 (edited) thanks for the help. however i get the same error with that script. Ok Ill see if there is a rewrite rule that will work for that.. Just curious why hide the key? You can change it/revoke it at any time, and it only allows access to that one map within prtg. Like this: https://prtg.notallmine.net/public/mapshow.htm?id=2343&mapid=3DEC658DFE-E417-4B11-868F-505F1A328935 @@Swynol How about the following locations under your stats server tags. Again, I'm not at home so I couldn't test. location / { proxy_pass http://127.0.0.1:8081/public/mapshow.htm?id=XXXX&mapid=XXXXXXX-XXX-4XXX-XXXX-XXXXXXXXXXX; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location ~ /[0-9a-z]+/ { proxy_pass http://127.0.0.1:8081; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } } Edited March 12, 2017 by pir8radio Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 13, 2017 Author Share Posted March 13, 2017 (edited) Ok Ill see if there is a rewrite rule that will work for that.. Just curious why hide the key? You can change it/revoke it at any time, and it only allows access to that one map within prtg. Like this: https://prtg.notallmine.net/public/mapshow.htm?id=2343&mapid=3DEC658DFE-E417-4B11-868F-505F1A328935 @@Swynol How about the following locations under your stats server tags. Again, I'm not at home so I couldn't test. location / { proxy_pass http://127.0.0.1:8081/public/mapshow.htm?id=XXXX&mapid=XXXXXXX-XXX-4XXX-XXXX-XXXXXXXXXXX; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location ~ /[0-9a-z]+/ { proxy_pass http://127.0.0.1:8081; proxy_hide_header X-Powered-By; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } } not really too bothered about hiding the key, only want it pointing to my domain name so that i dont have to remember the URL everytime i am away somewhere and want to check stats. Also i didnt know the key was linked to only one map which means i am less worried about the security of it. Anyway that config you sent gets a bit further. i now get the 'loading' bar at the top of the page which i usually get just before the stats graphs load. Edited March 13, 2017 by Swynol Link to comment Share on other sites More sharing options...
colejack 30 Posted March 29, 2017 Share Posted March 29, 2017 Here's what I have currently for monitoring WAN connection 1 Link to comment Share on other sites More sharing options...
Swynol 375 Posted March 29, 2017 Author Share Posted March 29, 2017 what software are you using @@colejack Link to comment Share on other sites More sharing options...
colejack 30 Posted March 29, 2017 Share Posted March 29, 2017 what software are you using @@colejack Using TeleGraf installed on pfSense to send data to InfluxDB, then using Grafana to display the graphs. There's more to that page (thats just a small portion of it) but I'm working on the rest still. I'll update when I have it finished. Link to comment Share on other sites More sharing options...
JeremyFr79 228 Posted March 31, 2017 Share Posted March 31, 2017 (edited) Add another to the list of PRTG users, I use it both at home and extensively at work to monitor our nationwide sites. It's a great tool! Actually helped me to discover interference issues I was having at my old house with an ethernet over power connection I was running to my detached garage. By looking at the times the interference was happening I was able to quickly determine it was being caused by the LED bulbs in my dusk till dawn lights lol weirdest thing I've ever troubleshot. Edited March 31, 2017 by JeremyFr79 Link to comment Share on other sites More sharing options...
pir8radio 1301 Posted March 31, 2017 Share Posted March 31, 2017 Add another to the list of PRTG users, I use it both at home and extensively at work to monitor our nationwide sites. It's a great tool! Actually helped me to discover interference issues I was having at my old house with an ethernet over power connection I was running to my detached garage. By looking at the times the interference was happening I was able to quickly determine it was being caused by the LED bulbs in my dusk till dawn lights lol weirdest thing I've ever troubleshot. lol yea the PWM power supplies used in some of the LED bulbs put out quite a bit of EMI and harmonics on the line... Yay PRTG! 1 Link to comment Share on other sites More sharing options...
JeremyFr79 228 Posted March 31, 2017 Share Posted March 31, 2017 lol yea the PWM power supplies used in some of the LED bulbs put out quite a bit of EMI and harmonics on the line... Yay PRTG! Yeah when I realized what was going on I just shook my head. Luckily I'm in a new house and don't have to use any EOP links now lol Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now