Assuming you'll use pager field in contact:
define command{
command_namenotify-host-by-jabber
command_line$USER1$/notify_via_jabber $CONTACTPAGER$ "Host
notification: $NOTIFICATIONTYPE$ Host: $HOSTNAME$ State: $HOSTSTATE$
Address: $HOSTADDRESS$ Info: $HOSTOUTPUT$"
Please furnish me with your settings in command.cfg for this script.
Regards,
Alex
On Wed, Mar 19, 2008 at 10:18 PM, Wojciech Kocjan <[EMAIL PROTECTED]>
wrote:
> On Wed, 19 Mar 2008 17:57:36 +0100, Alex Dehaini <[EMAIL PROTECTED]>
> wrote:
>
> > This is what I got
> > [EMAIL PROTECTED] bin]# /us
Dnia 19-03-2008 o 15:00:06 Alex Dehaini <[EMAIL PROTECTED]> napisał(a):
> Excellent, it worked. How can I get this to work using googletalk. I
> passed
> the same parameters but this is the error I got.
> /usr/local/bin/notify_via_jabber [EMAIL PROTECTED] "I am alive"
> Cannot connect (Invalid a
Excellent, it worked. How can I get this to work using googletalk. I passed
the same parameters but this is the error I got.
/usr/local/bin/notify_via_jabber [EMAIL PROTECTED] "I am alive"
Cannot connect (Invalid argument).
These were the settings in my notify_via_jabber file
use constant RECIPIE
Dnia 19-03-2008 o 11:31:28 Alex Dehaini <[EMAIL PROTECTED]> napisał(a):
> How can I test it using the commandline and see the debugging output?
Hi,
You need to:
1/ Change username and password in the script
(you'll need a separate account for your Nagios notifications)
2/ Make sure you have
How can I test it using the commandline and see the debugging output?
On Tue, Mar 18, 2008 at 6:47 PM, Wojciech Kocjan <[EMAIL PROTECTED]>
wrote:
> On Tue, 18 Mar 2008 18:39:52 +0100, Alex Dehaini <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Guys,
> > I will like to implement IM notification. Can I get
On Tue, 18 Mar 2008 18:39:52 +0100, Alex Dehaini <[EMAIL PROTECTED]>
wrote:
> Hi Guys,
> I will like to implement IM notification. Can I get any detailed help
> from
> the house. I will like to use jabber and some script. How can I get this
> to
> work?
Does
http://www.gridpp.ac.uk/wiki/Na
Hi Guys,
I will like to implement IM notification. Can I get any detailed help from
the house. I will like to use jabber and some script. How can I get this to
work?
Regards,
--
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
--