| |
Search found 27 matches |
Author | Message |
---|---|
Topic: Monitoring AT+CSQ from Solarwinds | |
peterlyttle Replies: 13 Views: 20108 |
Forum: PageGate Support Posted: Fri Sep 16, 2016 7:02 am Subject: Monitoring AT+CSQ from Solarwinds |
This worked a treat!!
FYI here is my powershell monitor for SAM $input_file = "E:\PageGateData\Logs\PGDial1.log" $regex = "^(.*Received:.*\+CSQ:.)(.*)(,)(.*)(<CR><LF><CR><LF>)(.*)(<CR><LF>)$" $output = select-string -Path $input_file -Pattern $regex -AllMatches | % { $_.Matches } | % { $_.Value } | Select -Last 1 $signal_strength = [regex]::Match($output,$regex).captures.groups[2].value $bit_error_rate = [regex]::Match($output,$regex).captures.groups[4].value $status = [regex]::Match($output,$regex).captures.groups[6].value Switch ($signal_strength) { 1{Write-Host "Message.Signal:Poor:"$signal_strength" (-112dB)" Write-Host "Statistic.Signal:"$signal_strength} 2{Write-Host "Message.Signal:Marginal:"$signal_strength" (-109dB)" Write-Host "Statistic.Signal:"$signal_strength} 3{Write-Host "Message.Signal:Marginal:"$signal_strength" (-107dB)" Write-Host "Statistic.Signal:"$signal_strength} 4{Write-Host "Message.Signal:Marginal:"$signal_strength" (-105dB)" Write-Host "Statistic.Signal:"$signal_strength} 5{Write-Host "Message.Signal:Marginal:"$signal_strength" (-103dB)" Write-Host "Statistic.Signal:"$signal_strength} 6{Write-Host "Message.Signal:Marginal:"$signal_strength" (-101dB)" Write-Host "Statistic.Signal:"$signal_strength} 7{Write-Host "Message.Signal:Marginal:"$signal_strength" (-99dB)& ... |
|
Topic: Monitoring AT+CSQ from Solarwinds | |
peterlyttle Replies: 13 Views: 20108 |
Forum: PageGate Support Posted: Fri Sep 16, 2016 6:55 am Subject: Monitoring AT+CSQ from Solarwinds |
If you use the GSMReply feature - the connector will poll the modem every 60 seconds. As long as "AT+CSQ" is in the INIT string, it will log the signal strength. This option also gives you the ability to REMOVE received messages so the modem does not suffer from memory overload and lockup due to too many unread messages
Nice, i'll give this a shot and see how it goes! Thanks |
|
Topic: Monitoring AT+CSQ from Solarwinds | |
peterlyttle Replies: 13 Views: 20108 |
Forum: PageGate Support Posted: Thu Sep 15, 2016 10:01 am Subject: Monitoring AT+CSQ from Solarwinds |
Thats great thanks! | |
Topic: Monitoring AT+CSQ from Solarwinds | |
peterlyttle Replies: 13 Views: 20108 |
Forum: PageGate Support Posted: Thu Sep 15, 2016 3:23 am Subject: Monitoring AT+CSQ from Solarwinds |
Ah ok, can I raise that as a feature request? Some way initiating AT commands without needing to stop the Connector and connect with putty etc? | |
Topic: Monitoring AT+CSQ from Solarwinds | |
peterlyttle Replies: 13 Views: 20108 |
Forum: PageGate Support Posted: Wed Sep 14, 2016 8:57 am Subject: Monitoring AT+CSQ from Solarwinds |
Just a quick question, as the log file will only have the AT+CSQ from the last message that was sent. Can I drop a .asc file for the GetAscii module to pick up that will force the AT+CSQ to be issued? | |
Topic: Monitoring AT+CSQ from Solarwinds | |
peterlyttle Replies: 13 Views: 20108 |
Forum: PageGate Support Posted: Tue Sep 13, 2016 10:22 am Subject: Monitoring AT+CSQ from Solarwinds |
Ah ok cool thanks, just hoped there would be an easier way to do it -
First shot at the regex is (maybe useful for someone else) - ^(.*Received:<CR><LF>\+CSQ:.)(.*)(,)(.*)(<CR><LF><CR><LF>)(.*)(<CR><LF>)$ |
|
Topic: Monitoring AT+CSQ from Solarwinds | |
peterlyttle Replies: 13 Views: 20108 |
Forum: PageGate Support Posted: Tue Sep 13, 2016 9:14 am Subject: Monitoring AT+CSQ from Solarwinds |
Yep, the init is set as AT+CSQ for the Carrier | |
Topic: Monitoring AT+CSQ from Solarwinds | |
peterlyttle Replies: 13 Views: 20108 |
Forum: PageGate Support Posted: Tue Sep 13, 2016 5:24 am Subject: Monitoring AT+CSQ from Solarwinds |
Hello,
If I have connector 1 connected to my modem I am unable to connect and run AT+CSQ to get the signal strength due to the com port being in use. Does PageGate poll this value periodically and if so is there anywhere that I can extract the value to report/alert on from within Solarwinds? Thanks, Peter |
|
Topic: SMTP Module for <mobile>@fqdn.com | |
peterlyttle Replies: 4 Views: 9467 |
Forum: PageGate Support Posted: Thu Nov 20, 2014 9:24 am Subject: SMTP Module for <mobile>@fqdn.com |
I think OzCom has it, the output would be to SMS Carrier but the number could be anything. We were just looking to try and utilize our current SMS infrastructure rather than going to the Nexmo route for SMS gateway. | |
Topic: SMTP Module for <mobile>@fqdn.com | |
peterlyttle Replies: 4 Views: 9467 |
Forum: PageGate Support Posted: Tue Nov 18, 2014 9:00 am Subject: SMTP Module for <mobile>@fqdn.com |
Hello,
Am I trying to do something that's not currently possible? I want to email 079132456@internal.fqdn.com where the mobile number will change and wouldn't be setup as a per-user via the Admin? Thanks, Peter |
|
Topic: PageGate GetMail & Exchange | |
peterlyttle Replies: 2 Views: 6628 |
Forum: PageGate Support Posted: Sat Aug 25, 2012 8:27 am Subject: PageGate GetMail & Exchange |
Spot on thanks, used the Smarthost rather than the MX record and thats seemed to work ok on the trial license. | |
Topic: PageGate GetMail & Exchange | |
peterlyttle Replies: 2 Views: 6628 |
Forum: PageGate Support Posted: Fri Aug 24, 2012 10:31 am Subject: PageGate GetMail & Exchange |
Hello,
We've recently purchased the GetMail Interface. I've been doing a bit of reading on the GetMail Interface but from what I've read its more for mobile_number@domain.com What I would like to do is any email sent to pagegate1@domain.com go to recipient group 1 and pagegate2@domain.com go to recipient group 2 Any advise the best way to configure this (with or without Distribution Groups) would be much appreciated. Thanks, Peter |
|
Topic: Disable SMS saying 1of2 and 2of2? | |
peterlyttle Replies: 6 Views: 10888 |
Forum: PageGate Support Posted: Tue Jun 12, 2012 10:50 am Subject: Disable SMS saying 1of2 and 2of2? |
ok fair enough. I guess I could put a CR/LF for the first line and would make it a little more readable.
Thanks |
|
Topic: Disable SMS saying 1of2 and 2of2? | |
peterlyttle Replies: 6 Views: 10888 |
Forum: PageGate Support Posted: Tue Jun 12, 2012 7:46 am Subject: Disable SMS saying 1of2 and 2of2? |
Hello,
Yes I just want to remove the 1 of x part so that when a message comes through it wouldnt look like this - 1 of 2:Status: Up Name: Servername Model: HP etc Hardware Fault: PSU S/N: AB345 2 of 2:Part Number: 1234 Instead it would look like this - Status: Up Name: Servername Model: HP etc Hardware Fault: PSU S/N: AB345 Part Number: 1234 |
|
Topic: Disable SMS saying 1of2 and 2of2? | |
peterlyttle Replies: 6 Views: 10888 |
Forum: PageGate Support Posted: Tue Jun 12, 2012 5:38 am Subject: Disable SMS saying 1of2 and 2of2? |
Yea, I have a carrier limit of 150 and recipient of 600 (4 messages) but had hoped I could hide the 1 of x so that the messages get assembled correctly. | |
All times are GMT - 5 Hours |