Re: [Nagios-users] Nagios flooding outside email addresses

2012-03-14 Thread Assaf Flatto
What is your definition for rechecks and notification intervals ,and 
first and last notifications ( see service and service escalation 
definitions )?


Also how many issue does your system has that are un handled that nagios 
is producing so many alerts ?





On 13/03/12 13:34, Jeremy Gibbs wrote:
I have sendmail setup to use our smtp server as a forwarder.  This has 
been working great so far.  The only issue I am seeing is, outside 
email addresses such as a cell number @vtext.com http://vtext.com is 
having messages sent to it several times a second; until Verizon 
finally rate limits the messages.  This in turn queues up the 
messages, and a large number come through again.  This does NOT happen 
with any internal email addresses.  If I check the mail log, I can see 
Nagios sending the message several times a second to only outside 
email addresses and only once to internal email addresses.



I am not sure what the issue is.

I will give you a sample of my config


define contact{
namegeneric-contact ; The 
name of this contact template
service_notification_period 24x7; 
service notifications can be sent anytime
host_notification_period24x7; host 
notifications can be sent anytime
service_notification_optionsw,u,c,r,f,s ; send 
notifications for all service states, flapping events, and scheduled 
downtime events
host_notification_options   d,u,r,f,s   ; send 
notifications for all host states, flapping events, and scheduled 
downtime events
service_notification_commands   notify-service-by-email ; send 
service notifications via email
host_notification_commands  notify-host-by-email; send 
host notifications via email
register0   ; DONT 
REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE!

}

define contact{
contact_name  guys-cell
use generic-contact
alias   John Doe
email xxx8777...@vtext.com mailto:xxx8777...@vtext.com
}


define contactgroup{
contactgroup_name   network-admin
alias Switches and networking admins
members guys-cell
}


Thanks


--
Jeremy L. Gibbs
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 223-2383




--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d


___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Ackowledge this service link is missing

2012-03-14 Thread Andrew Thompson
Hi all

Nagios 3.3.1 on Ubuntu 11.04 Desktop.

I have just come to acknowledge a critical service and much to my surprise I 
don't have the option too.

Is this a known bug? Any help appreciated.

Kind Regards
Andrew

T: 01386 834000
F: 01386 834100

and...@fulgent.co.ukmailto:and...@fulgent.co.uk
www.fulgent.co.ukhttp://www.fulgent.co.uk/


Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, 
WR11 8JJ. This communication contains information which is confidential and may 
also be privileged or protected by copyright. It is for the exclusive use of 
the addressee. If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication or the 
information is prohibited. If you have received this communication in error, 
please telephone us immediately and also delete the communication from your 
computer.

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Ackowledge this service link is missing

2012-03-14 Thread Frost, Mark {BIS}
Andrew,

I don't know that this is it, but you can only acknowledge something that is in 
a hard critical state.   That is, it has to have hit the threshold of failures 
before it is considered in a hard state.   The service details should tell you 
if it is, but I've had times where I've thought the same thing only to realize 
that the service hadn't gotten all the way to a hard state just yet.


Mark


From: Andrew Thompson [and...@fulgent.co.uk]
Sent: Wednesday, March 14, 2012 8:44 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Ackowledge this service link is missing

Hi all

Nagios 3.3.1 on Ubuntu 11.04 Desktop.

I have just come to acknowledge a critical service and much to my surprise I 
don’t have the option too.

Is this a known bug? Any help appreciated.

Kind Regards
Andrew

T: 01386 834000
F: 01386 834100

and...@fulgent.co.ukmailto:and...@fulgent.co.uk
www.fulgent.co.ukhttp://www.fulgent.co.uk/


Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, 
WR11 8JJ. This communication contains information which is confidential and may 
also be privileged or protected by copyright. It is for the exclusive use of 
the addressee. If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication or the 
information is prohibited. If you have received this communication in error, 
please telephone us immediately and also delete the communication from your 
computer.


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] AUTO: Eliot Picken is out of the office (returning 19/03/2012)

2012-03-14 Thread Eliot Picken

I am out of the office until 19/03/2012.

I am currently out of the office on leave, and your email has not been
forwarded.

For emergency issues, please contact Alex Lawrie on +44 (0) 1224 894 000
otherwise I will respond to your email upon my return







Note: This is an automated response to your message  [Nagios-users]
Ackowledge this service link is missing sent on 3/14/2012 12:44:57 PM.

This is the only notification you will receive while this person is away.


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Ackowledge this service link is missing

2012-03-14 Thread Ollie Campbell
Just a shot in the dark, but could it be that the user you're logging in
with doesn't have access to run the commands on the interface?



On 14 March 2012 13:01, Frost, Mark {BIS} mark.fro...@pepsico.com wrote:

 Andrew,

 I don't know that this is it, but you can only acknowledge something that
 is in a hard critical state.   That is, it has to have hit the threshold of
 failures before it is considered in a hard state.   The service details
 should tell you if it is, but I've had times where I've thought the same
 thing only to realize that the service hadn't gotten all the way to a hard
 state just yet.


 Mark

 
 From: Andrew Thompson [and...@fulgent.co.uk]
 Sent: Wednesday, March 14, 2012 8:44 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Ackowledge this service link is missing

 Hi all

 Nagios 3.3.1 on Ubuntu 11.04 Desktop.

 I have just come to acknowledge a critical service and much to my surprise
 I don’t have the option too.

 Is this a known bug? Any help appreciated.

 Kind Regards
 Andrew

 T: 01386 834000
 F: 01386 834100

 and...@fulgent.co.ukmailto:and...@fulgent.co.uk
 www.fulgent.co.ukhttp://www.fulgent.co.uk/


 Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham,
 Evesham, WR11 8JJ. This communication contains information which is
 confidential and may also be privileged or protected by copyright. It is
 for the exclusive use of the addressee. If you are not the addressee please
 note that any distribution, reproduction, copying, publication or use of
 this communication or the information is prohibited. If you have received
 this communication in error, please telephone us immediately and also
 delete the communication from your computer.



 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




This transmission is from BBH Partners LLP, it is confidential and intended 
solely for the person or organisation to whom it is addressed. This 
transmission may contain confidential information within its content or any 
attachment.  You should not copy, use or distribute in any way any of the 
information contained within this transmission other than in accordance with 
the prior written permission of an authorised BBH representative.

Partnership Information: 
Registered name: BBH Partners LLP 
Registered office: 60 Kingly Street London W1B 5DS
Place of registration: England and Wales 
Registered number: OC355051

Although all messages/file attachments passing through this gateway are scanned 
for viruses we cannot guarantee that any file is 100% virus-free.

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Ackowledge this service link is missing

2012-03-14 Thread Andrew Thompson
Mark you are absolutely spot on.

Thought I was going mad because I knew I had used it before!

Cheers

-Original Message-
From: Frost, Mark {BIS} [mailto:mark.fro...@pepsico.com] 
Sent: 14 March 2012 13:02
To: Nagios Users List
Subject: Re: [Nagios-users] Ackowledge this service link is missing

Andrew,

I don't know that this is it, but you can only acknowledge something that is in 
a hard critical state.   That is, it has to have hit the threshold of failures 
before it is considered in a hard state.   The service details should tell you 
if it is, but I've had times where I've thought the same thing only to realize 
that the service hadn't gotten all the way to a hard state just yet.


Mark


From: Andrew Thompson [and...@fulgent.co.uk]
Sent: Wednesday, March 14, 2012 8:44 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Ackowledge this service link is missing

Hi all

Nagios 3.3.1 on Ubuntu 11.04 Desktop.

I have just come to acknowledge a critical service and much to my surprise I 
don't have the option too.

Is this a known bug? Any help appreciated.

Kind Regards
Andrew

T: 01386 834000
F: 01386 834100

and...@fulgent.co.ukmailto:and...@fulgent.co.uk
www.fulgent.co.ukhttp://www.fulgent.co.uk/


Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, 
WR11 8JJ. This communication contains information which is confidential and may 
also be privileged or protected by copyright. It is for the exclusive use of 
the addressee. If you are not the addressee please note that any distribution, 
reproduction, copying, publication or use of this communication or the 
information is prohibited. If you have received this communication in error, 
please telephone us immediately and also delete the communication from your 
computer.


--
Virtualization  Cloud Management Using Capacity Planning Cloud computing makes 
use of virtualization - but cloud computing also focuses on allowing computing 
to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] How to import modified host and service files in DB from CLI

2012-03-14 Thread Alex Griffin
You can simply run /usr/local/nagiosxi/scripts/reconfigure_nagios.sh 
after dropping your config files into /usr/local/nagios/etc/import/.

Alex Griffin
---
Tech Team
agrif...@nagios.com

Manish_Kmr wrote:
 Hi,

 We are using NagiosXI, but still we prefer to do most of the things from
 CLI. Most often we are adding or removing some service from a no. of
 files and again we need to import these modified files into DB using
 NagiosXI UI. Its very difficult to search and import a large no. of
 these files using UI. Is there any way i can import these modified files
 into NagiosXI DB from command line without using NagiosXI User Interface.

 Thanks,
 Manish Kumar,
 Mahindra Satyam, Tools Team


 

 DISCLAIMER:
 This email (including any attachments) is intended for the sole use of
 the intended recipient/s and may contain material that is CONFIDENTIAL
 AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
 copying or distribution or forwarding of any or all of the contents in
 this message is STRICTLY PROHIBITED. If you are not the intended
 recipient, please contact the sender by email and delete all copies;
 your cooperation in this regard is appreciated.



 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d



 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] escalations question

2012-03-14 Thread Divan Santana
Hi All,

I'm wondering if one can do this with Nagios. One can do similar things with 
check_mk unfortunately check_mk doesn't support anyway to define escalations so 
this needs to be done in nagios core.

Challenge 1
=
With this set in nagios.cfg
use_regexp_matching=1
use_true_regexp_matching=0

define serviceescalation{
hostgroup_name  hostgroup
service_description !fs_/app.*,.*
first_notification  3
last_notification   0
notification_interval   15
contact_groups  tsdmidrangelinux-admins-escalate
}
results in this error:
Error: Could not find a service matching host name 'example1.blah.com' and 
description '!fs_/app.*' (config file '/etc/nagios/objects/escalations.cfg', 
starting on line 41)

Challenge 2
=
With this set in nagios.cfg
use_regexp_matching=1
use_true_regexp_matching=0

define serviceescalation{
hostgroup_name  hostgroup
service_description ExampleService
first_notification  3
last_notification   0
notification_interval   15
contact_groups  tsdmidrangelinux-admins-escalate
}
results in this error:
Error: Could not find a service matching host name 'example1.blah.com' and 
description 'ExampleService' (config file 
'/etc/nagios/objects/escalations.cfg', 
starting on line 41)

This ExampleService would exist on another example2.blah.com . It would be 
nice if one could achieve this in Nagios.
-- 
Divan Santana

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null