Best way to monitor 2 ECM-1240s w/ btmon?
-
- Posts: 5
- Joined: Tue Oct 07, 2014 4:53 pm
Re: Best way to monitor 2 ECM-1240s w/ btmon?
deleted
Last edited by Dax333 on Tue Dec 02, 2014 11:13 pm, edited 1 time in total.
-
- Posts: 41
- Joined: Fri Jan 10, 2014 3:33 pm
Re: Best way to monitor 2 ECM-1240s w/ btmon?
FWIW, I'm using 3.0.7 (from http://lancet.mit.edu/mwall/projects/po ... -1.0.3.tgz), which seems latest (with my local hacks, though I don't think any should matter for this). (Hm, and 3.0.5 on the PIs, for some reason...)Testing using btmon 301 and 303.
What if you run the "collect" instance with --verbose or --debug and see what it says? IIRC it's pretty explicit about what it's doing at each step along the way.
I think I do have my ecm's in "realtime" mode, IIRC - at least, the serial poll interval is commented out in the config files.
-
- Posts: 5
- Joined: Tue Oct 07, 2014 4:53 pm
Re: Best way to monitor 2 ECM-1240s w/ btmon?
Ran both instances with --debug. Also upgraded to btmon 3.0.7
Hopefully the files I attached come through. Had to zip them to submit
Hopefully the files I attached come through. Had to zip them to submit
- Attachments
-
- Scripts&logs.zip
- (27.52 KiB) Downloaded 170 times
-
- Posts: 41
- Joined: Fri Jan 10, 2014 3:33 pm
Re: Best way to monitor 2 ECM-1240s w/ btmon?
Did you let it run for 4-5 minutes? There's definitely some latency introduced in the round-trip through the database...
-
- Posts: 5
- Joined: Tue Oct 07, 2014 4:53 pm
Re: Best way to monitor 2 ECM-1240s w/ btmon?
Fixed rPi local time. Deleted Database ecm. Ran collector for 10 minutes. Ran uploader after the first 5 minutes for the remaining time. Including Mysql config in the zip this time although it's pretty vanilla.
Same results.
Same results.
- Attachments
-
- Archive.zip
- (137.71 KiB) Downloaded 181 times
-
- Posts: 41
- Joined: Fri Jan 10, 2014 3:33 pm
Re: Best way to monitor 2 ECM-1240s w/ btmon?
Hm, lots of
on the uploader end, despite
on the collector end, were inserted prior to the check, and have later timestamps.
I'm definitely not a mysql expert. I don't remember doing anything special, but it seems like the reads are not finding the most recent updates.
Code: Select all
2014/12/02 21:38:41 DB: found 0 rows since 1417584803
Code: Select all
2014/12/02 21:38:23 DB: inserted 16 values for redacted at 1417585101
2014/12/02 21:38:23 DB: inserted 16 values for redacted at 1417585102
I'm definitely not a mysql expert. I don't remember doing anything special, but it seems like the reads are not finding the most recent updates.
-
- Posts: 61
- Joined: Thu Oct 28, 2010 6:17 pm
Re: Best way to monitor 2 ECM-1240s w/ btmon?
Yeah, I took mine out of real-time modeDax333 wrote:For this to work I assume I have to take my ecm's out of real time mode?
I tested the settings but get:
2014/12/03 03:22:35 wrong response 0x0, expected 0xfc
2014/12/03 03:22:35 wrong response 0x41, expected 0xfc
2014/12/03 03:22:35 wrong response 0x0, expected 0xfc
2014/12/03 03:22:35 3 requests failed for device fc
The SQL approach from Sandeen looked useful because I could gather real time info into MySQL and then disseminate it as needed.