Subscribe: NotePage, Inc.
http://www.notepage.net/forum/rss.php
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
getweb  https notepage  message  net  notepage net  notepage  pagegate  printf  recipient group  recipient  script  sender  set 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: NotePage, Inc.

NotePage, Inc.



Support Forum



Last Build Date: Sun, 22 Apr 2018 00:58:24 GMT

 



PageGate Support - RE: Importing Recipients and Groups in to PageGate version 8
Author: sekots
Subject: Importing Recipients and Groups in to PageGate version 8
Posted: Tue Apr 17, 2018 2:55 pm (GMT -5)

Great post



General Questions and Announcements - RE: Your app and Solarwinds questions
Author: Luckystrike70
Posted: Wed Apr 04, 2018 10:31 am (GMT -5)

Thank you very much for the info, exactly what I needed to know.






General Questions and Announcements - Your app and Solarwinds questions
Author: Luckystrike70
Subject: Your app and Solarwinds questions
Posted: Wed Apr 04, 2018 9:19 am (GMT -5)

Hello,
I downloaded Notepager pro to demo sending alerts from Orion NPM to my cell and I got it working ok but have a couple of questions.

First, i'm seeing conflicting information, some places say to use Notepager Pro and some places say to use Pagegate. What is the difference?

Second, when I log off my Solarwinds server, Notepager pro stops working. I'm guessing because its not running as a service. Is there a way to set it up to always run? I could not locate any info on this on your site or solarwinds site.

Thanks!



PageGate Support - Linux Script for GetWeb
Author: Tech Support
Subject: Linux Script for GetWeb
Posted: Tue Apr 03, 2018 10:21 am (GMT -5)

This is for use with GetWeb and requires the GetWeb interface be configured. Basic information and an overview of GetWeb can be found here:
https://www.notepage.net/videos/overview-of-pagegate-web-interface.htm

Configuration steps can be found in our video tutorial series here:
https://www.notepage.net/videos/how-to-configure-web-interface.htm

You can also find detailed information in the PageGate Admin - GetWeb section of our documentation:
https://www.notepage.net/manuals/pg/v8/server/html/index.html

The following Linux script can be used to make calls to GetWeb's CGI Executable.

#!/bin/bash
# set each part of the URL to send
UrlToCgi=$(printf "http://127.0.0.1/scripts/webgate.exe")
RecipientVar=$(printf "?USER=")
Recipient=$(printf "pageyou")
SenderVar=$(printf "&FRM=")
Sender=$(printf "fromme")
MessageVar=$(printf "&MSG=")
# set message to all the text sent on the command line
Message=$@
# url encode message text
Message=$(php -r "echo urlencode(\"$Message\");")
# build the request URL
FullUrl=$UrlToCgi$RecipientVar$Recipient$SenderVar$Sender$MessageVar$Message
# send the request
wget -O- "$FullUrl"

You'll want to update the UrlToCgi value to the URL to your hosted webgate.exe

Update the Recipient value to the name of the recipient or group you want the messages delivered to. This doesn't necessarily have to be a static value, it can be set to a variable value. However, the name variable you submit to the field must match the name of a recipient or group as it exists in the PageGate Admin.

Update the Sender variable with the desired sender's name.

Happy messaging!
_________________
Tech Support
support@notepage.com
http://www.notepage.net



PageGate Support - Powershell Script for GetWeb
Author: Tech Support
Subject: Powershell Script for GetWeb
Posted: Tue Apr 03, 2018 10:20 am (GMT -5)

This is for use with GetWeb and requires the GetWeb interface be configured. Basic information and an overview of GetWeb can be found here:
https://www.notepage.net/videos/overview-of-pagegate-web-interface.htm

Configuration steps can be found in our video tutorial series here:
https://www.notepage.net/videos/how-to-configure-web-interface.htm

You can also find detailed information in the PageGate Admin - GetWeb section of our documentation:
https://www.notepage.net/manuals/pg/v8/server/html/index.html

The following Powershell script can be used to make calls to GetWeb's CGI Executable.
# set each part of the URL to send
$UrlToCgi="http://127.0.0.1/scripts/webgate.exe"
$RecipientVar="?USER="
$Recipient="pageyou"
$SenderVar="&FRM="
$Sender="fromme"
$MessageVar="&MSG="
# set message to all the text sent on the command line
$Message=$args
# url encode message text
[uri]::EscapeUriString($Message)
# build the request URL
$FullUrl=$UrlToCgi + $RecipientVar + $Recipient + $SenderVar + $Sender + $MessageVar + $Message
# send the request
Invoke-WebRequest -Uri $FullUrl

Notes:
This is only compatible with Powershell v3 or newer.

Some systems might not have script execute rights. A way to temporarily give the right is to run the following command in the current powershell session:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned


You'll want to update the UrlToCgi value to the URL to your hosted webgate.exe

Update the Recipient value to the name of the recipient or group you want the messages delivered to. This doesn't necessarily have to be a static value, it can be set to a variable value. However, the name variable you submit to the field must match the name of a recipient or group as it exists in the PageGate Admin.

Update the Sender variable with the desired sender's name.

Happy messaging!
_________________
Tech Support
support@notepage.com
http://www.notepage.net



Integration Related Questions - Powershell Script for GetWeb
Author: Tech Support
Subject: Powershell Script for GetWeb
Posted: Tue Apr 03, 2018 10:19 am (GMT -5)

This is for use with GetWeb and requires the GetWeb interface be configured. Basic information and an overview of GetWeb can be found here:
https://www.notepage.net/videos/overview-of-pagegate-web-interface.htm

Configuration steps can be found in our video tutorial series here:
https://www.notepage.net/videos/how-to-configure-web-interface.htm

You can also find detailed information in the PageGate Admin - GetWeb section of our documentation:
https://www.notepage.net/manuals/pg/v8/server/html/index.html

The following Powershell script can be used to make calls to GetWeb's CGI Executable.
# set each part of the URL to send
$UrlToCgi="http://127.0.0.1/scripts/webgate.exe"
$RecipientVar="?USER="
$Recipient="pageyou"
$SenderVar="&FRM="
$Sender="fromme"
$MessageVar="&MSG="
# set message to all the text sent on the command line
$Message=$args
# url encode message text
[uri]::EscapeUriString($Message)
# build the request URL
$FullUrl=$UrlToCgi + $RecipientVar + $Recipient + $SenderVar + $Sender + $MessageVar + $Message
# send the request
Invoke-WebRequest -Uri $FullUrl

Notes:
This is only compatible with Powershell v3 or newer.

Some systems might not have script execute rights. A way to temporarily give the right is to run the following command in the current powershell session:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned


You'll want to update the UrlToCgi value to the URL to your hosted webgate.exe

Update the Recipient value to the name of the recipient or group you want the messages delivered to. This doesn't necessarily have to be a static value, it can be set to a variable value. However, the name variable you submit to the field must match the name of a recipient or group as it exists in the PageGate Admin.

Update the Sender variable with the desired sender's name.

Happy messaging!
_________________
Tech Support
support@notepage.com
http://www.notepage.net



Integration Related Questions - Linux Script for GetWeb
Author: Tech Support
Subject: Linux Script for GetWeb
Posted: Tue Apr 03, 2018 10:16 am (GMT -5)

This is for use with GetWeb and requires the GetWeb interface be configured. Basic information and an overview of GetWeb can be found here:
https://www.notepage.net/videos/overview-of-pagegate-web-interface.htm

Configuration steps can be found in our video tutorial series here:
https://www.notepage.net/videos/how-to-configure-web-interface.htm

You can also find detailed information in the PageGate Admin - GetWeb section of our documentation:
https://www.notepage.net/manuals/pg/v8/server/html/index.html

The following Linux script can be used to make calls to GetWeb's CGI Executable.

#!/bin/bash
# set each part of the URL to send
UrlToCgi=$(printf "http://127.0.0.1/scripts/webgate.exe")
RecipientVar=$(printf "?USER=")
Recipient=$(printf "pageyou")
SenderVar=$(printf "&FRM=")
Sender=$(printf "fromme")
MessageVar=$(printf "&MSG=")
# set message to all the text sent on the command line
Message=$@
# url encode message text
Message=$(php -r "echo urlencode(\"$Message\");")
# build the request URL
FullUrl=$UrlToCgi$RecipientVar$Recipient$SenderVar$Sender$MessageVar$Message
# send the request
wget -O- "$FullUrl"

You'll want to update the UrlToCgi value to the URL to your hosted webgate.exe

Update the Recipient value to the name of the recipient or group you want the messages delivered to. This doesn't necessarily have to be a static value, it can be set to a variable value. However, the name variable you submit to the field must match the name of a recipient or group as it exists in the PageGate Admin.

Update the Sender variable with the desired sender's name.

Happy messaging!
_________________
Tech Support
support@notepage.com
http://www.notepage.net