[Nagios-users] Notification after Acknowledgment

2011-05-13 Thread Andre Kruger
Hi
 
Can you guys please give me your input on how you handle the following 
situation.
 
Lets take monitoring a disk as an example. For arguments sake lets say when the 
disk reaches 80% capacity I send out a warning and at 90% I send out a 
critical. There is also a Service Escalation configured to send out 
notifications when this service reaches critical.
 
So at 80 percent I get my notification all is well. I then go ahead and 
acknowledge the event and in doing so Nagios will not send out any further 
notifications. Which according to the Nagios logic is correct.
 
The problem is if the disk in the mean time reaches critical, 90% capacity, I 
won't get another notification. Not even the Service Escalation helps here, 
because the event has already been acknowledged.
 
Do you guys have any suggestions on how this problem can be solved?
 
Regards
Andre


Please consider your environmental responsibility before printing this e-mail 
or any other document. Ask yourself whether you need a hard copy.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] Notification after Acknowledgment

2011-05-13 Thread Jim Avery
On 13 May 2011 08:34, Andre Kruger andre.kru...@trw.com wrote:
 Hi

 Can you guys please give me your input on how you handle the following
 situation.

 Lets take monitoring a disk as an example. For arguments sake lets say when
 the disk reaches 80% capacity I send out a warning and at 90% I send out a
 critical. There is also a Service Escalation configured to send out
 notifications when this service reaches critical.

 So at 80 percent I get my notification all is well. I then go ahead and
 acknowledge the event and in doing so Nagios will not send out any further
 notifications. Which according to the Nagios logic is correct.

 The problem is if the disk in the mean time reaches critical, 90% capacity,
 I won't get another notification. Not even the Service Escalation helps
 here, because the event has already been acknowledged.

 Do you guys have any suggestions on how this problem can be solved?

 Regards
 Andre


The way I sometimes use for prolonged issues like this is I will
acknowledge the alert, but then raise the warning and critical
thresholds in Nagios.  The problem with this approach is that Nagios
then reports the status as OK which might give a false impression to
other users.  It is also important to remember to reduce the warning
threshold back to its usual level once the issue is resolved.

For issues which might be fast-moving I would suggest that it is not
appropriate to acknowledge the issue unless you are in a postion
actively to manage it until resolution.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] Notification after Acknowledgment

2011-05-13 Thread Andre Kruger
Hi
 
Thanks for that.
 
I just read how non-sticky acknowledgments work from 3.2.3. I think this solves 
my problem.
 
http://wiki.nagios.org/index.php/Acknowledgementlogic
 

Assuming you have a service with notifications enabled for all states with a 
max retry attempts of 1, these are the notifications you should get based on 
the following transitions: 
service in OK 
service goes into WARNING - notification sent 
non-sticky acknowledgement applied 
service goes into CRITICAL. Acknowledgement removed. Notification sent 
non-sticky acknowledgement applied 
service goes into WARNING. Acknowledgement removed. Notification sent 
non-sticky acknowledgement applied 
service goes into CRITICAL. Acknowledgement removed. Notification sent 
service goes into OK. Recovery notification sent 


 Jim Avery j...@jimavery.me.uk 2011/05/13 09:57 
On 13 May 2011 08:34, Andre Kruger andre.kru...@trw.com wrote:
 Hi

 Can you guys please give me your input on how you handle the following
 situation.

 Lets take monitoring a disk as an example. For arguments sake lets say when
 the disk reaches 80% capacity I send out a warning and at 90% I send out a
 critical. There is also a Service Escalation configured to send out
 notifications when this service reaches critical.

 So at 80 percent I get my notification all is well. I then go ahead and
 acknowledge the event and in doing so Nagios will not send out any further
 notifications. Which according to the Nagios logic is correct.

 The problem is if the disk in the mean time reaches critical, 90% capacity,
 I won't get another notification. Not even the Service Escalation helps
 here, because the event has already been acknowledged.

 Do you guys have any suggestions on how this problem can be solved?

 Regards
 Andre


The way I sometimes use for prolonged issues like this is I will
acknowledge the alert, but then raise the warning and critical
thresholds in Nagios.  The problem with this approach is that Nagios
then reports the status as OK which might give a false impression to
other users.  It is also important to remember to reduce the warning
threshold back to its usual level once the issue is resolved.

For issues which might be fast-moving I would suggest that it is not
appropriate to acknowledge the issue unless you are in a postion
actively to manage it until resolution.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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


Please consider your environmental responsibility before printing this e-mail 
or any other document. Ask yourself whether you need a hard copy.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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: Jason Shaffer is out of the office. (returning 05/16/2011)

2011-05-13 Thread Jason . Shaffer

I am out of the office until 05/16/2011.

I will respond to your message when I return. If you need immediate
assistance please call 419-629-3097 and someone will be able to assist you.


Note: This is an automated response to your message  Re: [Nagios-users]
Remote command plugins sent on 5/13/2011 12:19:38 AM.

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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] Notification after Acknowledgment

2011-05-13 Thread Yueh-Hung Liu
what's the purpose of acknowledging the service problems?
just to suppress the notifications or ?


On Fri, May 13, 2011 at 3:34 PM, Andre Kruger andre.kru...@trw.com wrote:
 Hi

 Can you guys please give me your input on how you handle the following
 situation.

 Lets take monitoring a disk as an example. For arguments sake lets say when
 the disk reaches 80% capacity I send out a warning and at 90% I send out a
 critical. There is also a Service Escalation configured to send out
 notifications when this service reaches critical.

 So at 80 percent I get my notification all is well. I then go ahead and
 acknowledge the event and in doing so Nagios will not send out any further
 notifications. Which according to the Nagios logic is correct.

 The problem is if the disk in the mean time reaches critical, 90% capacity,
 I won't get another notification. Not even the Service Escalation helps
 here, because the event has already been acknowledged.

 Do you guys have any suggestions on how this problem can be solved?

 Regards
 Andre

 P Please consider your environmental responsibility before printing this
 e-mail or any other document. Ask yourself whether you need a hard copy.
 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] Notification after Acknowledgment

2011-05-13 Thread Deborah Martin
Andre,

I wouldn't acknowledge it unless you plan to actually do something about it.

I use escalations which instigate callouts to engineers. When the oncall 
engineer acks an alert it means they are investigating. It would be pointless 
surely to ack something which you aren't going to do anything about.

Also, think about why you'd ack at 80% if it's just a warning. We have 
thresholds of 85% for disk usage warnings but in all honesty it's there as 
exactly that - a warning. We don't send notifications for warnings on disk 
usage. We just monitor via the web interface. Notifications are sent on 
critical alerts because that is the time when action needs to be taken and 
users need to pay attention.

But this is all based on our requirements rather than yours so this is just my 
tuppence worth!

Regards,
Deborah




From: Andre Kruger [mailto:andre.kru...@trw.com]
Sent: 13 May 2011 08:35
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Notification after Acknowledgment

Hi

Can you guys please give me your input on how you handle the following 
situation.

Lets take monitoring a disk as an example. For arguments sake lets say when the 
disk reaches 80% capacity I send out a warning and at 90% I send out a 
critical. There is also a Service Escalation configured to send out 
notifications when this service reaches critical.

So at 80 percent I get my notification all is well. I then go ahead and 
acknowledge the event and in doing so Nagios will not send out any further 
notifications. Which according to the Nagios logic is correct.

The problem is if the disk in the mean time reaches critical, 90% capacity, I 
won't get another notification. Not even the Service Escalation helps here, 
because the event has already been acknowledged.

Do you guys have any suggestions on how this problem can be solved?

Regards
Andre


P Please consider your environmental responsibility before printing this e-mail 
or any other document. Ask yourself whether you need a hard copy.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] Notification after Acknowledgment

2011-05-13 Thread Andre Kruger
Yes, it was to stop the notifications, but I would then like to receive 
notifications again when the service that was acknowledged goes into a critical 
state. But non-sticky acknowledgments has solved this problem for me.
 
I think I am going to change my default to non-sticky.

 Yueh-Hung Liu yuehung@gmail.com 2011/05/13 10:07 
what's the purpose of acknowledging the service problems?
just to suppress the notifications or ?


On Fri, May 13, 2011 at 3:34 PM, Andre Kruger andre.kru...@trw.com wrote:
 Hi

 Can you guys please give me your input on how you handle the following
 situation.

 Lets take monitoring a disk as an example. For arguments sake lets say when
 the disk reaches 80% capacity I send out a warning and at 90% I send out a
 critical. There is also a Service Escalation configured to send out
 notifications when this service reaches critical.

 So at 80 percent I get my notification all is well. I then go ahead and
 acknowledge the event and in doing so Nagios will not send out any further
 notifications. Which according to the Nagios logic is correct.

 The problem is if the disk in the mean time reaches critical, 90% capacity,
 I won't get another notification. Not even the Service Escalation helps
 here, because the event has already been acknowledged.

 Do you guys have any suggestions on how this problem can be solved?

 Regards
 Andre

 P Please consider your environmental responsibility before printing this
 e-mail or any other document. Ask yourself whether you need a hard copy.
 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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


Please consider your environmental responsibility before printing this e-mail 
or any other document. Ask yourself whether you need a hard copy.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] Default Acknowledge Behavior

2011-05-13 Thread Andre Kruger
Hi
 
Can the default behavior for acknowledging an event be changed. As in can the 
default be changed from the Sticky Acknowedgement being always checked, to 
always unchecked?
 
I have read a post on the internet that this is hard coded and you would have 
to change the source and recompile in order to accomplish this. 
http://article.gmane.org/gmane.network.nagios.user/54147
 
This post is very old...maybe this has changed in 3.2.3?
 
Regards
Andre


Please consider your environmental responsibility before printing this e-mail 
or any other document. Ask yourself whether you need a hard copy.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] [Nagios-devel] nagios patches 3 old, 1 new (fix flexible downtime on service hard state change doesn't get triggered/activated)

2011-05-13 Thread Andreas Ericsson
On 05/12/2011 04:52 PM, Julien Mathis wrote:
 
 Thanks for the link though. I've been looking for it but was unable to
 find the download before you posted it. It should be interesting to see
 if they can solve the I/O load problems like someone here at the
 Bolzano conference mentioned they're working on. That's one of my goals
 too, but so far I haven't had time to sit down and think it through
 properly. If they have, we should be able to profit from their work
 quite easily.


 Yes we will work on the subject. We hope you will benefit these
 developments.

Glad to hear it :)

Which version (svn revision number or git commit id) did you fork from?
I'm trying to see what you've done so far, but with patches recently
being applied in Nagios core as well, it's hard to make out the diff
properly. If you're using an import of the code for your repositories
it might be easiest just to publish those online, if possible.

 We have repeatedly offered our help, without success...
 

That must be something I've missed. I know some patches have fallen
between the cracks last year and some this spring when I was busy at
$dayjob with various things, but the amount of patches submitted and
that I've been poked for isn't such a vast amount that I'd think it
worth announcing a new fullblown fork of Nagios for. Ah well.

I know that not all patches that are submitted are accepted into the
core. That's normal. If I *had* accepted all patches submitted in the
2 or more years that I've been reviewing and queueing patches for
Nagios, few of the addons that exist today would still work without
major surgery, and Nagios would have been bloated beyond belief.

Some patches get accepted immediately. Some get deferred until the
next major release because they break the API's that broker modules
rely on. Some patches get accepted after a couple of rounds of review
and polish, and some patches get dropped on the floor because they
add something that is highly complex and useful only to some very
few people, or they solve a problem for which there is a very easy
different way to solve the same thing that doesn't involve adding
complexity to the core. Some also have been dropped because they
were downright crap. I tend to not remember who was responsible for
a particular patch, but if the content of the patch is mentioned I
will usually remember what I thought of it. Very engineerish, imo.

 
 Shinken is already proofing what's possible, let's welcome another
 competitor in the game :)


 Yes. And no. Shinken is incompatible with all of Nagios' current
 broker modules. Icinga have broken the ABI compatibility, but not to
 the same extent. Shinken has some very neat ideas (and some not so
 neat ones too). Like all good engineers, I'll happily borrow the
 good ones and let the bad ones go hang.

 
 That's not the goal. We want to keep the compatibility.
 
 We do not want war. We do not want to split between all projects Nagios (R)
 .
 We just want to bring new thinking and help the project without breaking
 your
 organization. We hope you understand us.
 

Sure do. So let's work together. Me, Ton and Ethan just had a meeting
about an hour ago where we decided on some features that we want to
implement in Nagios that, according to ideas.nagios.org and the Nagios
bugtracker at tracker.nagios.org matches quite closely what the users
want.

I'll be sending out an email tomorrow afternoon, crossposting to
nagios-users and nagios-devel (actually, it'll be several emails),
requesting help in certain areas that we've decided to improve on
in the very near future. I've also committed to make these changes
my self, though I'd prefer to share the work with the rest of the
community. Matthieu Kermagoret, among others, would be a valuable
asset in that, as he's proven more than once that he's not only a
competent coder but also very pleasant to work with.

Feel free to pick up one of the tasks we've decided to do from
those emails, either for Centreon Engine (from where we can backport
it to Nagios if it plans out the way I expect it will), or as patches
to Nagios. Or perhaps both. Either way works for me.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios 

Re: [Nagios-users] Default Acknowledge Behavior

2011-05-13 Thread Deborah Martin

It might be nice to have a flag in nagios.cfg or somewhere so that the 
behaviour can be set system wide. This gives the flexibility to everyone to 
have the behaviour they want.





From: Andre Kruger [mailto:andre.kru...@trw.com]
Sent: 13 May 2011 09:30
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Default Acknowledge Behavior

Hi

Can the default behavior for acknowledging an event be changed. As in can the 
default be changed from the Sticky Acknowedgement being always checked, to 
always unchecked?

I have read a post on the internet that this is hard coded and you would have 
to change the source and recompile in order to accomplish this. 
http://article.gmane.org/gmane.network.nagios.user/54147

This post is very old...maybe this has changed in 3.2.3?

Regards
Andre


P Please consider your environmental responsibility before printing this e-mail 
or any other document. Ask yourself whether you need a hard copy.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] Default Acknowledge Behavior

2011-05-13 Thread C. Bensend

 Can the default behavior for acknowledging an event be changed. As in can
 the default be changed from the Sticky Acknowedgement being always
 checked, to always unchecked?

 I have read a post on the internet that this is hard coded and you would
 have to change the source and recompile in order to accomplish this.
 http://article.gmane.org/gmane.network.nagios.user/54147

 This post is very old...maybe this has changed in 3.2.3?

This behavior cannot be changed without hacking cgi/cmd.c.  It's a
simple change:  on lines 951 and 977 (this is Nagios 3.2.3), remove
the CHECKED from that line.  That will make the checkboxes default
to *not* checked.

I believe this is a much more sane default than checked.

Benny


-- 
You were doing well until everyone died.
-- God, Futurama



--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] Notification after Acknowledgment

2011-05-13 Thread Jim Avery
On 13 May 2011 09:01, Andre Kruger andre.kru...@trw.com wrote:

 I just read how non-sticky acknowledgments work from 3.2.3. I think this
 solves my problem.

 http://wiki.nagios.org/index.php/Acknowledgementlogic


Neat!  Thanks I hadn't noticed that.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] pnp4nagios Nagios

2011-05-13 Thread khurram aziz
Hi All,

I have configured Nagios 3.2.3 with default settings and for generating 
graphs 
i have configured pnp4nagios-0.6.11. I have added a server in Nagios by 
installing the host file on that server and its working fine. i am also able to 
generate graphs for that server in pnp4nagios. b
Now i have added 4 of my web servers using SNMP and they are all added in 
Nagios 
but they dont appear in pnp4nagiogs. can some1 tell me how i can make these web 
servers appear in pnp4nagios so that i can generate graph.


 Khurram Aziz Khalid
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] Remote command plugins

2011-05-13 Thread Luis Miguel Silva
Thank you very much!
I'll do a little research on it :o)

Thank you,
Luis Miguel Silva

On May 12, 2011, at 10:26 PM, Joerg Linge pitchf...@ederdrom.de wrote:

 Luis Miguel Silva schrieb:
 Dear all,
 
 I'm pretty new to Nagios and i was wondering how can i extract
 information from remote hosts with Nagios?
 i.e. get the remote hosts's cpu load, available disk, etc?
 
 p.s. All my nodes have share ssh keys (so i can easily ssh into them);
 
 you can use check_by_ssh which is part of nagios plugins package.
 you have to install the plugins you want to use (check_disk, check_load ...) 
 on the remote side too.
 
 Joerg  
 
 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 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

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] pnp4nagios Nagios

2011-05-13 Thread Martin Hugo
Did you add the pnp4nagios commands to your commands file?  Are your hosts 
using the host-pnp template? Is your service definition using the srv-pnp 
template?

Marty

From: khurram aziz [mailto:khurramazizkha...@yahoo.com]
Sent: Friday, May 13, 2011 10:58 AM
To: nagios mailinglist
Subject: [Nagios-users] pnp4nagios  Nagios

Hi All,

I have configured Nagios 3.2.3 with default settings and for generating 
graphs i have configured pnp4nagios-0.6.11. I have added a server in Nagios 
by installing the host file on that server and its working fine. i am also able 
to generate graphs for that server in pnp4nagios. b
Now i have added 4 of my web servers using SNMP and they are all added in 
Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make 
these web servers appear in pnp4nagios so that i can generate graph.

Khurram Aziz Khalid

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] pnp4nagios Nagios

2011-05-13 Thread Michael Friedrich

khurram aziz wrote:


* Did you add the pnp4nagios commands to your commands file?
  o NO i did not add any pnp4nagios commands to my
commands file, not for the server that is showing grpahs
in pnp4nagios and not for the servers which i have added
using SNMP
* Are your hosts using the host-pnp template?
  o NO, my hosts are using the default templates
* Is your service definition using the srv-pnp template?
  o No, my service definitions are using the default definitions.

Khurram Aziz Khalid


check

- service defitions - enable perfdata
- check plugin itsself - does it return perfdata
- read the pluginapi.html for further information how perfdata will look 
like






*From:* Martin Hugo martin_h...@hboe.org
*To:* Nagios Users List nagios-users@lists.sourceforge.net
*Sent:* Fri, May 13, 2011 8:23:20 PM
*Subject:* Re: [Nagios-users] pnp4nagios  Nagios

Did you add the pnp4nagios commands to your commands file?  Are your 
hosts using the host-pnp template? Is your service definition using 
the srv-pnp template?


Marty

*From:*khurram aziz [mailto:khurramazizkha...@yahoo.com]
*Sent:* Friday, May 13, 2011 10:58 AM
*To:* nagios mailinglist
*Subject:* [Nagios-users] pnp4nagios  Nagios

Hi All,

I have configured *Nagios 3.2.3* with default settings and for 
generating graphs i have configured *pnp4nagios-0.6.11*. I have 
added a server in Nagios by installing the host file on that server 
and its working fine. i am also able to generate graphs for that 
server in pnp4nagios. b
Now i have added 4 of my web servers using SNMP and they are all added 
in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i 
can make these web servers appear in pnp4nagios so that i can generate 
graph.


Khurram Aziz Khalid


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay


___
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



--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  michael.friedr...@univie.ac.at
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:+43 1 4277 14338
web:http://www.univie.ac.at/zid
http://www.aco.net

Icinga Core  IDOUtils Developer
http://www.icinga.org

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] Message Subject - PROBLEM Service Alert: hostname is UP (fixed)

2011-05-13 Thread Terry Carmen
Quoting Terry Carmen te...@cnysupport.com:

 I've been receiving a continuous stream of these messages and can't
 seem to figure out why or make them stop.

 Nagios is sending repeated notifications that various hosts are up
 even though they have never been down.

 I've googled a number of similar problems, but unfortunately no
 applicable solutions.

 Does anybody have any ideas what I could check?

Here's an update:

I found a seemingly unrelated problem. I had duplicated the  
notify-host-by-email command into the notify-service-by-email command.

While this accounted for the inappropriate message content, fixing it  
seems to have also fixed the repeating notifications (haven't received  
any in a while).

No idea why fixing the invalid message text would also fix the  
repeating notifications, but it seems OK now.

I'm posting the answer here in case anybody else runs into this problem.

The lines below are working nicely on a system that uses postfix as  
the mailer.

This also takes care of postix's sendmail not respecting the -s  
(subject) command line option. The macros below add the subject to the  
message.

// from commands.cfg ///

# 'notify-host-by-email' command definition
define command{
command_namenotify-host-by-email
command_line/usr/bin/printf %b Subject: ** $NOTIFICATIONTYPE$  
Host Alert: $HOSTNAME$ is $HOSTSTATE$ **\n\n* Nagios  
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:  
$HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:  
$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nService:  
$SERVICECHECKCOMMAND$Host Output: [$HOSTOUTPUT$]\n\nHost Output  
(Long): $LONGHOSTOUTPUT$\n\nPerformance Data: $HOSTPERFDATA$\n\n |  
/usr/sbin/sendmail -f nag...@example.com $CONTACTEMAIL$
}

# 'notify-service-by-email' command definition
define command{
command_namenotify-service-by-email
command_line/usr/bin/printf %b Subject: ** $NOTIFICATIONTYPE$  
alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n* Nagios  
@VERSION@ *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:  
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:  
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nService Output:  
$SERVICEOUTPUT$\n\nLong Service Output:  
$LONGSERVICEOUTPUT$\n\nAdditional Info:\n\n$OUTPUT$ |  
/usr/sbin/sendmail -f nag...@example.com $CONTACTEMAIL$
}


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] pnp4nagios Nagios

2011-05-13 Thread khurram aziz
perfdata is enabled is I am using generic services for all of my servers. 
graphs 
are generated by using perfdata for the server on which i have installed the 
client and performance data is also being collected for the server which is 
added using SNMP. Attaced screenshot shows that performance data is being 
collected for the later server.

 Khurram Aziz Khalid





From: Michael Friedrich michael.friedr...@univie.ac.at
To: nagios-users@lists.sourceforge.net
Sent: Fri, May 13, 2011 8:44:51 PM
Subject: Re: [Nagios-users] pnp4nagios  Nagios

khurram aziz wrote: 
* Did   you add the pnp4nagios commands to your commands 
file? 

   * NO i did not add any pnp4nagios commands to my 
 commands 
file, not for the server that is showing grpahs in pnp4nagios 
and not for the servers which i have added using SNMP

   * Are your hosts using the host-pnp template?
   * NO, my hosts are using the default templates
   * Is   your service definition using the srv-pnp template?
   * No, my service definitions are using the default  

definitions.

 
Khurram Aziz Khalid
check

- service defitions - enable perfdata
- check plugin itsself - does it return perfdata
- read the pluginapi.html for further information how perfdata will look 
like








From: Martin Hugo martin_h...@hboe.org
To: Nagios   Users List nagios-users@lists.sourceforge.net
Sent: Fri,   May 13, 2011 8:23:20 PM
Subject: Re: [Nagios-users] pnp4nagios  Nagios

 
Did you add the pnp4nagios commands   to your commands file?  
Are your hosts using the   host-pnp template? Is your service 
definition using   the srv-pnp template?
 
Marty
 
From:khurram aziz   [mailto:khurramazizkha...@yahoo.com] 
Sent: Friday, May 13, 2011 10:58 AM
To: nagios mailinglist
Subject: [Nagios-users] pnp4nagiosNagios
 
Hi   All,

I have configured Nagios 3.2.3 with default   settings and 
for 
generating graphs i have configured pnp4nagios-0.6.11.   I 
have added a server in Nagios by installing the host   file on 
that server and its working fine. i am also   able to generate 
graphs for that server in pnp4nagios.   b
Now i have added 4 of my web servers using SNMP and   they are 
all added in Nagios but they dont appear in   pnp4nagiogs. can 
some1 tell me how i can make these   web servers appear in 
pnp4nagios so that i can   generate graph.
 
Khurram Aziz Khalid
 
 --
  
Achieve unprecedented app performance and reliability What every C/C++ and 
Fortran developer should know. Learn how Intel has extended the reach of its 
next-generation tools to help boost performance applications - inlcuding 
clusters. http://p.sf.net/sfu/intel-dev2devmay
 ___ 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


--  DI (FH) Michael Friedrich  Vienna University Computer Center 
Universitaetsstrasse 7 A-1010 Vienna, Austria  email: 
michael.friedr...@univie.ac.at phone:   +43 1 4277 14359  mobile: +43 
664 60277 
14359  fax: +43 1 4277 14338 web:   http://www.univie.ac.at/zid 
http://www.aco.net  Icinga Core  IDOUtils Developer http://www.icinga.org 


Perfdata.png
Description: Binary data
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
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] Message Subject - PROBLEM Service Alert: hostname is UP

2011-05-13 Thread Jim Avery
On 13 May 2011 16:09, Terry Carmen te...@cnysupport.com wrote:
 I've been receiving a continuous stream of these messages and can't
 seem to figure out why or make them stop.

 Nagios is sending repeated notifications that various hosts are up
 even though they have never been down.

 I've googled a number of similar problems, but unfortunately no
 applicable solutions.

 Does anybody have any ideas what I could check?

I would find the relevant host entry in the file
/usr/local/nagios/var/objects.cache, then make sure you understand all
the directives in that host definition - by all means post it here too
if you want a group opinion.

Check that you don't have more than one contact defined having the
same email address.

Also, check the status history for that host and see if anything is
happening in-between those times when it is UP.  Maybe it's going DOWN
in-between but you're just not getting the DOWN alerts!

It would be useful to know a bit more about what you're seeing, for
example are these repeat emails occurring with a particular frequency?
  Do you get a whole bunch of them at once and then none for a while?
Do they eventually stop and if so after how many repeats?

hth,

Jim

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] pnp4nagios Nagios

2011-05-13 Thread Martin Hugo
Hmm, don't know why it is not showing up.  I know that I have to add the 
host-pnp and srv-pnp templates to my hosts and services to generate graphs.  I 
typically add host-pnp to every host definition and then just add srv-pnp to 
every service check that I want graphed.  So a windows server would be  use 
windows-server,host-pnp and my switches are use generic-switch,host-pnp.

I also made all the edits to the Nagios.cfg and commands file as documented in 
the Nagios Manual.

I am running on CentOS installed from source.

Martin T. Hugo
Network Administrator
Hilliard City Schools
614-921-7102 (Ph)
614-771-7243 (Fax)
[Think before you print.]Think before you print

From: khurram aziz [mailto:khurramazizkha...@yahoo.com]
Sent: Friday, May 13, 2011 12:07 PM
To: Nagios Users List
Subject: Re: [Nagios-users] pnp4nagios  Nagios

perfdata is enabled is I am using generic services for all of my servers. 
graphs are generated by using perfdata for the server on which i have installed 
the client and performance data is also being collected for the server which is 
added using SNMP. Attaced screenshot shows that performance data is being 
collected for the later server.

Khurram Aziz Khalid



From: Michael Friedrich michael.friedr...@univie.ac.at
To: nagios-users@lists.sourceforge.net
Sent: Fri, May 13, 2011 8:44:51 PM
Subject: Re: [Nagios-users] pnp4nagios  Nagios

khurram aziz wrote:

  *   Did you add the pnp4nagios commands to your commands file?

 *   NO i did not add any pnp4nagios commands to my commands file, not 
for the server that is showing grpahs in pnp4nagios and not for the servers 
which i have added using SNMP

  *   Are your hosts using the host-pnp template?

 *   NO, my hosts are using the default templates

  *   Is your service definition using the srv-pnp template?

 *   No, my service definitions are using the default definitions.

Khurram Aziz Khalid

check

- service defitions - enable perfdata
- check plugin itsself - does it return perfdata
- read the pluginapi.html for further information how perfdata will look like





From: Martin Hugo martin_h...@hboe.orgmailto:martin_h...@hboe.org
To: Nagios Users List 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Sent: Fri, May 13, 2011 8:23:20 PM
Subject: Re: [Nagios-users] pnp4nagios  Nagios
Did you add the pnp4nagios commands to your commands file?  Are your hosts 
using the host-pnp template? Is your service definition using the srv-pnp 
template?

Marty

From: khurram aziz [mailto:khurramazizkha...@yahoo.com]
Sent: Friday, May 13, 2011 10:58 AM
To: nagios mailinglist
Subject: [Nagios-users] pnp4nagios  Nagios

Hi All,

I have configured Nagios 3.2.3 with default settings and for generating 
graphs i have configured pnp4nagios-0.6.11. I have added a server in Nagios 
by installing the host file on that server and its working fine. i am also able 
to generate graphs for that server in pnp4nagios. b
Now i have added 4 of my web servers using SNMP and they are all added in 
Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make 
these web servers appear in pnp4nagios so that i can generate graph.

Khurram Aziz Khalid




--

Achieve unprecedented app performance and reliability

What every C/C++ and Fortran developer should know.

Learn how Intel has extended the reach of its next-generation tools

to help boost performance applications - inlcuding clusters.

http://p.sf.net/sfu/intel-dev2devmay



___

Nagios-users mailing list

Nagios-users@lists.sourceforge.netmailto: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


--

DI (FH) Michael Friedrich



Vienna University Computer Center

Universitaetsstrasse 7 A-1010 Vienna, Austria



email:  michael.friedr...@univie.ac.atmailto:michael.friedr...@univie.ac.at

phone:  +43 1 4277 14359

mobile: +43 664 60277 14359

fax:+43 1 4277 14338

web:http://www.univie.ac.at/zid

http://www.aco.net



Icinga Core  IDOUtils Developer

http://www.icinga.org
inline: image001.gif--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version 

Re: [Nagios-users] pnp4nagios Nagios

2011-05-13 Thread khurram aziz
can u give me the templates and tell the exact path where i need to place them.Khurram Aziz KhalidFrom: Martin Hugo martin_h...@hboe.orgTo: Nagios Users List nagios-users@lists.sourceforge.netSent: Fri, May 13, 2011 9:20:48 PMSubject: Re: [Nagios-users] pnp4nagios  Nagios


 
 




Hmm, don’t know why it is not showing up. I know that I have to add the host-pnp and srv-pnp templates to my hosts and services to generate graphs. I typically
 add host-pnp to every host definition and then just add srv-pnp to every service check that I want graphed. So a windows server would be “use windows-server,host-pnp” and my switches are “use generic-switch,host-pnp”. 
  
I also made all the edits to the Nagios.cfg and commands file as documented in the Nagios Manual. 
  
I am running on CentOS installed from source. 
  
Martin T. Hugo 
Network Administrator 
Hilliard City Schools 
614-921-7102 (Ph) 
614-771-7243 (Fax) 
Think before you print 
  


From: khurram aziz [mailto:khurramazizkha...@yahoo.com]

Sent: Friday, May 13, 2011 12:07 PM
To: Nagios Users List
Subject: Re: [Nagios-users] pnp4nagios  Nagios 


  

perfdata is enabled is I am using generic services for all of my servers. graphs are generated by using perfdata for the server on which i have installed the client and performance data is also being collected for the server which is added
 using SNMP. Attaced screenshot shows that performance data is being collected for the later server. 

 

Khurram Aziz Khalid 

  


  




From: Michael Friedrich michael.friedr...@univie.ac.at
To: nagios-users@lists.sourceforge.net
Sent: Fri, May 13, 2011 8:44:51 PM
Subject: Re: [Nagios-users] pnp4nagios  Nagios

khurram aziz wrote:  



Did you add the pnp4nagios commands to your commands file?
 



 NO i did not add any pnp4nagios commands to my commands file, not for the server that is showing grpahs in pnp4nagios and not for the servers which i have added using SNMP 



 Are your hosts using the host-pnp template? 



 NO, my hosts are using the default templates 



Is your service definition using the srv-pnp template? 



No, my service definitions are using the default definitions. 


 

Khurram Aziz Khalid 


check

- service defitions - enable perfdata
- check plugin itsself - does it return perfdata
- read the pluginapi.html for further information how perfdata will look like


 


  


  




From: Martin Hugo
martin_h...@hboe.org
To: Nagios Users List 
nagios-users@lists.sourceforge.net
Sent: Fri, May 13, 2011 8:23:20 PM
Subject: Re: [Nagios-users] pnp4nagios  Nagios 

Did you add the pnp4nagios commands to your commands file? Are your hosts using the host-pnp template? Is your service definition using the srv-pnp template? 
 
Marty 
 


From: khurram aziz [mailto:khurramazizkha...@yahoo.com]

Sent: Friday, May 13, 2011 10:58 AM
To: nagios mailinglist
Subject: [Nagios-users] pnp4nagios  Nagios 


 

Hi All,

I have configured "Nagios 3.2.3" with default settings and for generating graphs i have configured "pnp4nagios-0.6.11". I have added a server in Nagios by installing the host file on that server and its working fine. i am also able to generate
 graphs for that server in pnp4nagios. b
Now i have added 4 of my web servers using SNMP and they are all added in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make these web servers appear in pnp4nagios so that i can generate graph. 

 

Khurram Aziz Khalid 

 






  
-- 
Achieve unprecedented app performance and reliability 
What every C/C++ and Fortran developer should know. 
Learn how Intel has extended the reach of its next-generation tools 
to help boost performance applications - inlcuding clusters. 
http://p.sf.net/sfu/intel-dev2devmay 
  
___ 
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 
  
--  
DI (FH) Michael Friedrich 
  
Vienna University Computer Center 
Universitaetsstrasse 7 A-1010 Vienna, Austria 
  
email:  michael.friedr...@univie.ac.at 
phone:  +43 1 4277 14359  
mobile: +43 664 60277 14359  
fax:  +43 1 4277 14338 
web: http://www.univie.ac.at/zid 
 http://www.aco.net 
  
Icinga Core  IDOUtils Developer 
http://www.icinga.org 










--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net

Re: [Nagios-users] recurring downtime

2011-05-13 Thread Chris Beattie
Julie S. Lin wrote:
 
 I'm trying to set up recurring downtimes for automatic reboots  Below 

Have you considered scheduling host downtime instead?  There's one fewer 
parameter to pass to the script.  I think the service name is the 
tripping point.  I was able to copypaste your command into a shell on my 
Nagios  (with minor mods to work in my environment) and have it work.

My services.cfg contains this:

use standard_service
nameDisk_C
service_description Disk: C
display_nameDisk: C
check_command   check_nt_disk!C!85!95

No matter what you use for the service name, it will show up in 
nagios.log.  However, it's only when I use Disk: C that the downtime 
shows up on the web page.  If I use Disk_C it does not.

All the services for which I regularly schedule downtime happen to have 
the same string for their name, service_description, and display_name. 
I didn't need to figure out which one I needed.  However, I did get 
tripped up setting service escalations the first time, because those use 
the service_description and not the name.  It might be the same case here.

-- 
-Chris

--


Nothing in this message is intended to make or accept an offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] recurring downtime

2011-05-13 Thread Julie S. Lin
HI Chris

thanks so much I could have sworn I tried smtp vs SMTP
but seems to be working now!

  identical service descriptions matter I guess. :)

Julie S. Lin
System Administrator
j...@livescribe.com
(510) 553 4912 (o)
(510) 367 5772 (c)



On May 13, 2011, at 11:52 AM, Chris Beattie wrote:

 Julie S. Lin wrote:

 I'm trying to set up recurring downtimes for automatic reboots  Below

 Have you considered scheduling host downtime instead?  There's one  
 fewer
 parameter to pass to the script.  I think the service name is the
 tripping point.  I was able to copypaste your command into a shell  
 on my
 Nagios  (with minor mods to work in my environment) and have it work.

 My services.cfg contains this:

 use standard_service
 nameDisk_C
 service_description Disk: C
 display_nameDisk: C
 check_command   check_nt_disk!C!85!95

 No matter what you use for the service name, it will show up in
 nagios.log.  However, it's only when I use Disk: C that the downtime
 shows up on the web page.  If I use Disk_C it does not.

 All the services for which I regularly schedule downtime happen to  
 have
 the same string for their name, service_description, and display_name.
 I didn't need to figure out which one I needed.  However, I did get
 tripped up setting service escalations the first time, because those  
 use
 the service_description and not the name.  It might be the same case  
 here.

 -- 
 -Chris

 --


 Nothing in this message is intended to make or accept an offer or to  
 form a contract, except that an attachment that is an image of a  
 contract bearing the signature of an officer of our company may be  
 or become a contract. This message (including any attachments) is  
 intended only for the use of the individual or entity to whom it is  
 addressed. It may contain information that is non-public,  
 proprietary, privileged, confidential, and exempt from disclosure  
 under applicable law or may constitute as attorney work product. If  
 you are not the intended recipient, we hereby notify you that any  
 use, dissemination, distribution, or copying of this message is  
 strictly prohibited. If you have received this message in error,  
 please notify us immediately by telephone and delete this message  
 immediately.

 Thank you.


 --
 Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 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


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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