View previous topic :: View next topic |
Author |
Message |
jt23
Joined: 27 Feb 2012 Posts: 46
|
Posted: Mon Sep 24, 2012 2:05 pm Post subject: |
|
|
i have it sending the dns name, ip address, and status of the node
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Mon Sep 24, 2012 2:09 pm Post subject: |
|
|
If you would, open the Basic Alert Manager and go in to the properties of the Alert in question. Once there, go under the Alert Trigger and in the Alert Trigger, go to the Action tab. What do you have listed as the Alert Trigger Actions? |
|
Back to top |
|
jt23
Joined: 27 Feb 2012 Posts: 46
|
Posted: Mon Sep 24, 2012 2:16 pm Post subject: |
|
|
i have it set to log alert to hpnpm.txt
then under that i have the following
alert log file:C:\PageGateData\ascii\hpnpm.txt
message to log when triggered:Alert: ${NodeName} is ${Status}.
message to log wehn reset:Reset: ${NodeName} is ${Status}
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Mon Sep 24, 2012 2:17 pm Post subject: |
|
|
Okay, knowing that, if you go in to the PageGate Admin and go to the Interfaces - GetAscii - Settings - Advanced Polling - Recipient section, is it set on Static or Dynamic? |
|
Back to top |
|
jt23
Joined: 27 Feb 2012 Posts: 46
|
Posted: Mon Sep 24, 2012 2:18 pm Post subject: |
|
|
right now static but i would assume i need dynamic. just not sure how to set that up to make it read a group
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Mon Sep 24, 2012 2:25 pm Post subject: |
|
|
Actually, just create the group in the program and set the group as the Static Recipient for the messages in the Advanced Polling - Recipients section. |
|
Back to top |
|
jt23
Joined: 27 Feb 2012 Posts: 46
|
Posted: Mon Sep 24, 2012 2:28 pm Post subject: |
|
|
you mean create the recipient group in npm? I have found email groups but not anything to create groups for the logging.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Mon Sep 24, 2012 2:53 pm Post subject: |
|
|
No, in PageGate Admin, find the Groups section. Right click on it and left click on Add to add a new group in to the program, then go to the Members sub-section of the group and add anyone who should be a member, then specify that group you just created in Pagegate in the Advanced Polling - Recipients section. |
|
Back to top |
|
jt23
Joined: 27 Feb 2012 Posts: 46
|
Posted: Mon Sep 24, 2012 2:55 pm Post subject: |
|
|
but would that not only allow me to send to 1 group? i have multiple groups I need to create
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Tue Sep 25, 2012 8:23 am Post subject: |
|
|
Right, doing it this way would allow you to only send to one group. if you need to send to multiple groups, you'll need to reconfigure a few parts of both PageGate AND NPM.
On the PageGate side of things, you're going to need to take a copy of the sendpage32.exe in the PageGate program directory and place it in the \\hpnetnpm\PageGateData\ascii\ folder, if it doesn't already exist there.
Next, you'll need to add a new line to the Advanced Polling - Files table that is as follows:
Recipient: *
From: Whatever you like
Files: *.asc
Path: \\hpnetnpm\PageGateData\ascii\
File Type: Standard
Then, on the NPM side of things, you'll need to add an additional Alert Action to each alert. The Alert Action is going to be to Execute an External Program and you're going to tell it to execute \\hpnetnpm\PageGateData\ascii\sendpage32.exe
Now, there are three different variables that will have to be passed after the executable, so include those in the Alert Action line as well. Your whole command needs to be:
sendpage32 <recipient> <sender> <message>
Recipient - This needs to be the name of a recipient or group in PageGate. Whatever you enter here is who NPM is going to tell PageGate to message when this Alert Action triggers.
Sender - This is what's going to show up on the phones or pagers as who/what sent the message.
Message - You can use any number of Orion variables in this section or you can type out a static message. |
|
Back to top |
|
jt23
Joined: 27 Feb 2012 Posts: 46
|
Posted: Tue Sep 25, 2012 8:44 am Post subject: |
|
|
ok, I can have the pagegate side setup. on the npm side i have the new action to execute the file setup. Not sure how to pass the info.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Tue Sep 25, 2012 8:45 am Post subject: |
|
|
What info are you unsure of how to pass? |
|
Back to top |
|
jt23
Joined: 27 Feb 2012 Posts: 46
|
Posted: Tue Sep 25, 2012 8:50 am Post subject: |
|
|
the part with the recipient, sender, and message.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4382
|
Posted: Tue Sep 25, 2012 8:56 am Post subject: |
|
|
You literally type them in after the executable. So, in Orion, you would reference the command to execute quite literally as:
\\hpnetnpm\PageGateData\ascii\sendpage32.exe jt23 Orion Test Message.
That would send a message to a recipient or group named jt23 from Orion that said "Test Message". |
|
Back to top |
|
jt23
Joined: 27 Feb 2012 Posts: 46
|
Posted: Tue Sep 25, 2012 9:20 am Post subject: |
|
|
ok did that and the message came through but it does not fill in the device name or ip address. Can I make that read that dynamically?
|
|
Back to top |
|
|