Jabber Message to Google Talk not working

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Gavin
Posts: 58
Joined: Thu Sep 24, 2009 8:44 am

Jabber Message to Google Talk not working

Post by Gavin »

Hi,

I have setup the Jabber options in Primary Jabber Account:

Login server: Talk.google.com
SSL/TLS Explicit/5222
JabberID and Password: My service account google account details

I have then setup an Action Profile to "Send message to Jabber" with Quick Log "Store action results" ticked.

Start when 1 consequtive bad, repeat 1 time.

Action parameters send message to (my actual google talk account address) and a basic message template.

Needless to say this doesn't work and nothing is reporting to syslog.htm so I'm not sure where to go from here
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HostMonitor version?
Monitoring started?
Actions enabled?
Test changed status from "good" to "bad" after you setup this action?

Regards
Alex
Gavin
Posts: 58
Joined: Thu Sep 24, 2009 8:44 am

Post by Gavin »

Hi Alex,

Monitoring is starting as all other tests are active. Action is enabled, I assume this means I have selected it as the Alerts profile for the test. This is there and shows in the individual tests under column dead actions send message to Jabber.

I am testing this on a test that was already failing though. Do I need to pick a test that works, change profile then break it for it to work?

Regards,

Gavin
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

-------------------
> Start when 1 consequtive bad, repeat 1 time
> I am testing this on a test that was already failing though
-------------------
This means action should not be started.
You may change action settings (e.g. set "Repeat until status changes" option) or change test status (e.g. using "Reverse alert" option)

Regards
Alex
Gavin
Posts: 58
Joined: Thu Sep 24, 2009 8:44 am

Post by Gavin »

Got it reporting to the syslog now saying:

Error: Cannot send message to Jabber account myemail@gmail.com. Invalid recipient or recipient is unavailable; Set the 'to' attribute of stream element to the domain part of the user's JID. Example: to='gmail.com'.

I am definitely online on google talk. Any ideas?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Set the 'to' attribute of stream element to the domain part of the user's JID. Example: to='gmail.com'
What is to='gmail.com'??
If you want to send message to some jabber account, you should specify correct account name, e.g. username@jabber.com or jabberusername@google.com.

Regards
Alex
Gavin
Posts: 58
Joined: Thu Sep 24, 2009 8:44 am

Post by Gavin »

Fixed it - thanks. The issue here was I was using @googlemail.com when the account was @gmail.com

Thanks for your help as always, Alex.
Post Reply