11-25-2008
daya.pandit,
Make sure that your nagios server can send outgoing emails. You can specify the email address in the conf of nagios that can receive email notifications did you explore that option?
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I configured nagios version 1.0b on solaris 9
and it working fine, but when hosts goes down or unreachable I do not get hosts notification. I get service notification when servive is critical, unrechable and recovered but not an hosts notification.
here is my contact.cfg
define contact{... (1 Reply)
Discussion started by: hassan2
1 Replies
2. AIX
Hallo, can anybody help me with my issue? Iīd like to know if it is possible to send me a mail (to @mail.com for example) when some account password will expired? eg. few days ago of this expiration. We donīt use this account every day, it is used for DB2 and DB2 has problem every 90īs day because... (2 Replies)
Discussion started by: JiriVenera
2 Replies
3. Shell Programming and Scripting
I'm very new to unix. I need help in writing a shell script that will automatically take output file from a particular folder from a server and if the file is generated send email notifications to certain group of ppl and if it is not generated send a mail wid error msg..
can any1 help me on... (4 Replies)
Discussion started by: anzie.sharma
4 Replies
4. Infrastructure Monitoring
Hi
i have installed Nagios 3.0.6 on Centos 5.2 also to configure it i have installed Centreon, my problem is the following , i have created a user for Nagios on google talk and using an script from the web trying to send notification for host status and services.
i have tested the script using... (0 Replies)
Discussion started by: pokker67
0 Replies
5. Shell Programming and Scripting
plzzz help me, I want to send emails for exchange group members when the used file-system % gets more than 90%, this notification must include df -g, netstat -i,and errpt with the hostname
thx in advance (0 Replies)
Discussion started by: majd_ece
0 Replies
6. UNIX for Advanced & Expert Users
Hi Guys,
AM not true whether have to ask this que on this forum or not !
Am getting lots of CRITICAL notification from Nagios as Additional Info:"null" .
Is there any way we can suppress it at Nagios level .
Version : NagiosŪ Core™ 3.2.3 running... (0 Replies)
Discussion started by: Shirishlnx
0 Replies
7. Shell Programming and Scripting
dear all,
i have script rsync like this :
#!/bin/sh
RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
RUSER=root
RHOST=123.123.123.1
INTRPATH=/home/jargo/log/internasional/
INTHPATH=/var/www/international/
IIXRPATH=/home/jargo/log/iix/
IIXHPATH=/var/www/iix/
TTLRPATH=/home/jargo/log/total/... (2 Replies)
Discussion started by: indracyd
2 Replies
LEARN ABOUT DEBIAN
jifty::plugin::comment::notification::commentpublished
Jifty::Plugin::Comment::Notification::CommentPublished(3User Contributed Perl DocumentaJifty::Plugin::Comment::Notification::CommentPublished(3pm)
NAME
Jifty::Plugin::Comment::Notification::CommentPublished - new comments made
SYNOPSIS
To activate this notification, you must override the notification in your application.
use strict;
use warnings;
package MyApp::Notification::CommentPublished;
use base qw/ Jifty::Plugin::Comment::Notification::CommentPublished /;
sub setup {
my $self = shift;
# Send to the author of the post
$self->to_list($self->parent->author);
$self->SUPER::setup(@_);
}
sub url {
my $self = shift;
return Jifty->config->framework('Web')->{'BaseURL'}
. $self->parent->permalink
. '#comment-'.$self->comment->id;
}
1;
DESCRIPTION
This notification (when properly configured) is sent out to any who need to know when a comment has been published.
METHODS
setup
This method sets up the notification. This method should be overridden to setup "to_list" in Jifty::Notification to select who will receive
this message. See the "SYNOPSIS".
comment
This will contain the Jifty::Plugin::Comment::Model::Comment that has been published.
parent
This will contain the object that the comment has been attached to.
url
This returns the URL that the message will link to. This should be overridden to provide application-specific URLs. The default
implementation returns the BaseURL setting for the application.
SEE ALSO
Jifty::Notification, Jifty::Plugin::Comment::Notification::CommentNeedsModeration
AUTHOR
Andrew Sterling Hanenkamp, "<hanenkamp@cpan.org>"
COPYRIGHT AND LICENSE
Copyright 2008 Boomer Consulting, Inc. All Rights Reserved.
This program is free software and may be modified and distributed under the same terms as Perl itself.
perl v5.12.4 2009-03-09 Jifty::Plugin::Comment::Notification::CommentPublished(3pm)