[Nagios-users] $SERVICENOTIFICATIONID$ - Bug/issue in 3.0.6 ?

2009-02-20 Thread Seth P. Low
Hello,
  I am attempting to use the $SERVICENOTIFICATIONID$ macro in notifications 
as part of new auditing initiative. However, in Nagios 3.0.6, it is not 
behaving as expected. If I trip an alert, I get a notification with the 
$SERVICENOTIFICATIONID$ included in the body. The next alert to come in (say 
the recovery) is not incremented by one as I would have expected. I have 
checked the logs and this was the next notification sent out so it is not as if 
some other notifications were sent out to other users which I missed. I did see 
several state changes which would account for the numeric delta but none of 
those triggered an alert/notification. So, in a way, it appears as if the 
$SERVICENOTIFICATIONID$ macro is behaving much more like the $SERVICEEVENTID$ 
macro. Either this is a bug or I am misunderstanding the macro definition or I 
am doing something incorrectly. Can anyone else confirm either the correct or 
incorrect behavior in 3.0.6 or explain what I am missing here? Thanks as 
always, -Seth
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Cacti intigrate with nagios

2009-02-20 Thread Satish Patel
Thanks!

I dont want any with thresholds its plain integration thing is that i  
dont want to login both interface for same problem (monitoring) i need  
easy administration so i can make happy my client.

end user dont know about what is cacti and what is nagios i just want  
to give them one interface example : www.nagiomonitoring.com so they  
login into and check host services as well as host graph i am ready to  
add host on both system nagios and cacti but only watching from single  
interface i hope you got my idea..


i just want to create URL on nagios hosts for whenever i click on URL  
it takes me to cacti gharphing cool but not easy..i need your  
input...


Regards,

Satish Patel


Quoting D. Emmanuel Feinsmith dan...@danielemmanuelfeinsmith.com:

 Satish,

 Are you wanting to integrate the thresholds with Nagios, or the graphs,
 or ? To integrate the thresholds, you need to create a process of some
 kind that pulls data periodically out of the Cacti threshold database
 table and submit it as a passive check result to Nagios.

 If you want to integrate the RRDs into the Nagios UI, you'd basically
 have to modify the Nagios CGIs, which is probably not a great idea,
 since from what I hear, they are changing them a great deal in a
 forthcoming release.

 You could also create some kind of framework which offers single sign
 on for both Cacti and Nagios and have a single web console with both
 Nagios and Cacti on it.

 Daniel.

 On Feb 19, 2009, at 4:17 PM, Satish Patel wrote:

 Thanks!

 but reason is i am using cacti since last 4 years and there is lots of
 historical data which i dont want to lost thats why i want to
 integrate existing cacti with nagios. that why i am looking plugin
 which help me to do this i have read about cacinda but there is not
 more document on net so its difficult to work on this if you guy
 already using this solution so please suggest me i will be happier...



 Regards,

 Satish Patel


 Quoting Max perld...@webwizarddesign.com:

 Many of us have used Cacti and Nagios together (I did for several
 years) :), some probably still do.  better to go with a Nagios-centric
 graphing add-on like PNP (there are others available as well!) and not
 use Cacti at all .. trust me, you will be a happier person for not
 using both at the same time.

 You can write scripts that auto-add hosts to Nagios based on the Cacti
 database or vice-versa but it gets ugly pretty quickly.

 I personally replaced Cacti with PNP and am very content with the
 combination; MUCH less administration time than Cacti + Nagios and PNP
 makes adding new templates much easier than Cacti does for people who
 are comfortable with RRD syntax.

 - Max

 On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel sat...@linuxbug.org wrote:

 I have nagios running and now i want to intergate my cacti with nagios
 so i have only one frontend. anybody has done before this solution?
 please let me know.


 Regards,

 Satish Patel






 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San   
 Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the  
  Enterprise
 -Strategies to boost innovation and cut costs with open source   
 participation
 -Receive a $600 discount off the registration fee with the source  
  code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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






 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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




--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing 

Re: [Nagios-users] Cacti intigrate with nagios

2009-02-20 Thread Satish Patel
I will try this solution.. but one more problem is i have installed  
cacinda and when i open it on URL then i only can see host list and i  
select host it showing mesg No device class match for host  ( no  
graph there)

can you help me on this for to resolve cacinda problem...


Regards,

Satish Patel


Quoting Max perld...@webwizarddesign.com:

 Hi Satish,

 I wrote Cacinda, it is good for integrating the displays of the two,
 but does nothing to help with host and user management.  Sorry.

 Cacti uses RRD, so does PNP, so I would think you could use RRD files
 from Cacti with PNP; haven't tried, but I don't see why that wouldn't
 work.

 You could set up PNP, copy the files from Cacti into PNP directories
 and play with making a few templates and if that works then just use
 PNP to view the historical files from Cacti in one location and use a
 separate instance for new data.

 =- Max

 On Thu, Feb 19, 2009 at 7:17 PM, Satish Patel sat...@linuxbug.org wrote:
 Thanks!

 but reason is i am using cacti since last 4 years and there is lots of
 historical data which i dont want to lost thats why i want to integrate
 existing cacti with nagios. that why i am looking plugin which help me to do
 this i have read about cacinda but there is not more document on net so its
 difficult to work on this if you guy already using this solution so please
 suggest me i will be happier...



 Regards,

 Satish Patel


 Quoting Max perld...@webwizarddesign.com:

 Many of us have used Cacti and Nagios together (I did for several
 years) :), some probably still do.  better to go with a Nagios-centric
 graphing add-on like PNP (there are others available as well!) and not
 use Cacti at all .. trust me, you will be a happier person for not
 using both at the same time.

 You can write scripts that auto-add hosts to Nagios based on the Cacti
 database or vice-versa but it gets ugly pretty quickly.

 I personally replaced Cacti with PNP and am very content with the
 combination; MUCH less administration time than Cacti + Nagios and PNP
 makes adding new templates much easier than Cacti does for people who
 are comfortable with RRD syntax.

 - Max

 On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel sat...@linuxbug.org wrote:

 I have nagios running and now i want to intergate my cacti with nagios
 so i have only one frontend. anybody has done before this solution?
 please let me know.


 Regards,

 Satish Patel







 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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











--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Cacti intigrate with nagios

2009-02-20 Thread Max
Hi Satish,

On Fri, Feb 20, 2009 at 8:36 AM, Satish Patel sat...@linuxbug.org wrote:
 I dont want any with thresholds its plain integration thing is that i
 dont want to login both interface for same problem (monitoring) i need
 easy administration so i can make happy my client.

 end user dont know about what is cacti and what is nagios i just want
 to give them one interface example : www.nagiomonitoring.com so they
 login into and check host services as well as host graph i am ready to
 add host on both system nagios and cacti but only watching from single
 interface i hope you got my idea..

Read up on the notes_url attribute of hosts and services :), you can
easily set that up to jump a user from Nagios to PNP or Cacti .. that
might be the way to go for you .. have users log into Nagios, then
just provide links into Cacti / PNP from Nagios using the notes_url.

If Cacti is installed on an Intranet / trusted network, then you can
allow the guest user to have read all access so that when users jump
from Nagios to Cacti they will not be redirected to the Cacti login
page .. that is how I used to integrate the two from an web
perspective before I started on Cacinda.  Cacinda does provide a
unified view but the additional work to maintain yet another piece of
software just to have a Cacti/Nagios view might not honestly be worth
it for you.

- Max

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Cacti intigrate with nagios

2009-02-20 Thread Max
On Fri, Feb 20, 2009 at 8:40 AM, Satish Patel sat...@linuxbug.org wrote:
 I will try this solution.. but one more problem is i have installed cacinda
 and when i open it on URL then i only can see host list and i select host it
 showing mesg No device class match for host  ( no graph there)

 can you help me on this for to resolve cacinda problem...

I responded to you on the Cacinda-General mailing list, please follow
up with me there and I will help you get cacinda working or diagnose
the issue to a point where you can fix it yourself or submit a bug
report to me ;).

- Max

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Which books are best for Nagios 3

2009-02-20 Thread Steve Burton




Lee Azzarello wrote:

  On Wed, Feb 4, 2009 at 12:01 PM, Paul Weaver paul.wea...@bbc.co.uk wrote:
  
  

  On Jan 19, 2009, at 11:25 AM, James Miller wrote:

  
  
Recently I upgraded us from 2.9 to 3.0.6 and I'm looking for
recommendations for a book or two on 3.0 to take my

  
  knowledge to the
  
  
next level.  I've found the following books available and I'm
wondering which ones are the best:

  
  
Any suggestions would be _greatly_ appreciated!

  
  5. This list. Try to discover the answer to as many questions
as you can yourself by reading the docs and source and by
trial. Try to understand the why of an answer you discover or
provided by someone else. I consider it a much more
interesting and varied resource than the few standard
examples a book might have; plus it's free =).
  

Only once you reach a certain level. There are no doubt many lurkers
who have trouble getting started. I know I did. I got a copy of
"Building a Monitoring Infrastructure with Nagios" (Feb07) and found
that invaluable, but we're still on nagios version 2

  
  
Agreed. Dave Josephsen's book is excellent. I'm currently on the
visualization chapter. It's very comprehensive and practical. He's
opinionated enough to make reading chapters interesting.

-lee

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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

  

I agree about the book. You may like to know that Dave Josephsen has
also written some excellent articles in ;login: (the Journal of USENIX
http://www.usenix.org). Unfortunately, all but the first article
(http://www.usenix.org/publications/login/2007-08/pdfs/josephsen.pdf)
are only available to members at this time.

Steve Burton.


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__




--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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 and Solaris 10 client

2009-02-20 Thread Neu, Timothy
See
http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-o
n-solaris-10/

 

I had to change the logging code as well as the cipher list change
mentioned in the comments. 

 

Tim Neu

Tel +1 651 756 6383

Fax +1 651 490 4310

Mobile +1 651 238 8816

t...@sjm.com mailto:t...@tneu@sjm.com 



From: syed jafar [mailto:syed_ja...@hotmail.com] 
Sent: Thursday, February 19, 2009 9:51 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios and Solaris 10 client

 

  

Does anyone know how to add Solaris 10 client to NAGIOS host/server. The
server is running LINUX and I am trying to add Solaris 10 client and
want to be able to monitor disk space and CPU utilization. I was getting
errors during the addon compilation ans was told to compile using the -n
option which disables SSL. Now when I try to run the nrpe I seem to be
getting the SSL errors. What is the proper was the add clients to
monitor the disk and CPU utilization. 

  

Thanks, 

Syed Jafar

This communication, including any attachments, may contain information that is 
proprietary, privileged, confidential or legally exempt from disclosure.  If 
you are not a named addressee, you are hereby notified that you are not 
authorized to read, print, retain a copy of or disseminate any portion of this 
communication without the consent of the sender and that doing so may be 
unlawful.  If you have received this communication in error, please immediately 
notify the sender via return e-mail and delete it from your system.
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Service Checks

2009-02-20 Thread Alex Dehaini
Hi Guys,

I have about 200 hosts and 400 services. My sys spec is about P4 2.4 Ghz and
2Gb of RAM. I want to check each service every 20 seconds and update the CGI
interface. Any clues how I can achieve this?

Regards,

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdeha...@gmail.com
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] status map

2009-02-20 Thread Satish Patel
I have +100 Host and routers so that when i goes into status map my  
map is mass its like junky...

is that anyway to i can change look i have select balace tree but is  
there any other way i can set it default for map or i can see  
hierarical diagram



Regards,

Satish Patel






--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] status map

2009-02-20 Thread Max
On Fri, Feb 20, 2009 at 9:39 AM, Satish Patel sat...@linuxbug.org wrote:
 I have +100 Host and routers so that when i goes into status map my
 map is mass its like junky...

 is that anyway to i can change look i have select balace tree but is
 there any other way i can set it default for map or i can see
 hierarical diagram

if you install Nagios2JSON you can take the JSON representation of the
status map and visualize that programmatically using your own code or
the code of others if anyone has built an add-on that does cool things
with that feed yet (haven't checked in a while to see if there are
projects out yet that use the JSON feed from Nagios2JSON).  That is
what I plan on doing as we are into the thousands of hosts and the map
is useless for us as well at this point :).

http://www.yannj.fr/nagios2json

I bellieve Yann or someone else has built a backend for NagVis that
reads the Nagios2JSON JSON for doing custom service and host-level
front ends with NagVis ... that might cover building a visual map of
all hosts as well with the automap features of NagVis.

http://www.nagvis.org/

- Max

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] negios with different user's profile

2009-02-20 Thread Dario Hernan
Hi all! Im new to Nagios and I want to have differents view for
different sites with user authentication.
For example, I want to create 3 users and that the user1 only can view
servers on site1, the user2 only can view servers on site2 and the
user3 only can view servers on site3.
I found the DashBoard addon on nagiosexchange page.
Does someone use it? or can you recommend me some alternative?

Thanks in advance.
Dario

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Mixing different versions of Nagios

2009-02-20 Thread Wheeler, JF (Jonathan)
With a master/slave(s) Nagios configuration, is it possible to run with
Nagios version 3 on the master and Nagios version 2 on the slaves, given
that the communication is by NSCA (slave returning results to master)
and NRPE (master checking that slaves are running)?  Is the other
arrangement possible (i.e. Nagios 3 on slaves and Nagios 2 on the
master)?

Jonathan Wheeler 
e-Science Centre 
Rutherford Appleton Laboratory
-- 
Scanned by iCritical.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] negios with different user's profile

2009-02-20 Thread Marc Powell

On Feb 20, 2009, at 10:23 AM, Dario Hernan wrote:

 Hi all! Im new to Nagios and I want to have differents view for
 different sites with user authentication.
 For example, I want to create 3 users and that the user1 only can view
 servers on site1, the user2 only can view servers on site2 and the
 user3 only can view servers on site3.

Nagios does this automagically when authentication is enabled and the  
user is a contact for the host/service. Nagios Looking Glass is  
another option if you need to restrict what they can do with the hosts  
they see.

--
Marc

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Mixing different versions of Nagios

2009-02-20 Thread Marc Powell

On Feb 20, 2009, at 10:30 AM, Wheeler, JF (Jonathan) wrote:

 With a master/slave(s) Nagios configuration, is it possible to run  
 with
 Nagios version 3 on the master and Nagios version 2 on the slaves,  
 given
 that the communication is by NSCA (slave returning results to master)
 and NRPE (master checking that slaves are running)?  Is the other
 arrangement possible (i.e. Nagios 3 on slaves and Nagios 2 on the
 master)?

Yup. Those protocols, and the external commands used by NSCA, are well  
defined and haven't changed.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] NRPE

2009-02-20 Thread Martyn
Do I need to load Nagios plugins as well as NRPE on the Linux box I want to
monitor, I will be monitoring it remotely.
I have read users comments saying you do and some say you do not

Cheers

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] NRPE

2009-02-20 Thread James Pratt


 -Original Message-
 From: Martyn [mailto:mar...@chetnet.co.uk]
 Sent: Friday, February 20, 2009 12:41 PM
 To: 'Nagios Users'
 Subject: [Nagios-users] NRPE
 
 Do I need to load Nagios plugins as well as NRPE on the Linux box I
want to monitor,
 I will be monitoring it remotely.
 I have read users comments saying you do and some say you do not
 
 Cheers
 
 Martyn


If you plan to call any of the check_* commands in
/usr/local/nagios/libexec on the remote box, yes you will need
nagios-plugins and nrpe on the remote box...

Cheers,
Jamie

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] NRPE

2009-02-20 Thread Marc Powell

On Feb 20, 2009, at 11:40 AM, Martyn wrote:

 Do I need to load Nagios plugins as well as NRPE on the Linux box I  
 want to monitor, I will be monitoring it remotely.
 I have read users comments saying you do and some say you do not


Yes, you do, but only those plugins you intend to use. NRPE is just a  
way of executing a program that already exists on a remote host and  
passing it's output back to nagios.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] status map

2009-02-20 Thread Satish Patel
I am doing the same thing but problem is due to number of host my  
status map looks ugly

i want it in single base no more scroll and look like good tree


Regards,

Satish Patel


Quoting hw h...@decon230.org:

 Hi,

 you can try to build your own status map with hostextinfo.
 For example
 -
 #my router
 define hostextinfo{
 host_name   myrouter
 notes   bla bla
 icon_image  firewall_router.gif
 icon_image_alt  myrouter
 statusmap_image firewall_router.gd2
 vrml_image  firewall_router.gif
 #x , y coordinates
 2d_coords   200,50
 }
 -

 You can even use 3d_coords, as far as I remember.
 If you want to have another default map, you have to change

 default_statusmap_layout=0

 to anything you like.

 Regards,

 Heiko

 On Fri, 20 Feb 2009 09:39:34 -0500, Satish Patel wrote
 I have +100 Host and routers so that when i goes into status map my
 map is mass its like junky...

 is that anyway to i can change look i have select balace tree but is
  there any other way i can set it default for map or i can see
  hierarical diagram

 Regards,

 Satish Patel

 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San
 Francisco, CA -OSBC tackles the biggest issue in open source: Open
 Sourcing the Enterprise -Strategies to boost innovation and cut
 costs with open source participation -Receive a $600 discount off
 the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
 ___
 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






--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] status map

2009-02-20 Thread Satish Patel
Many Many Thanks! i will try and get back to mailing list.


Regards,

Satish Patel


Quoting Max perld...@webwizarddesign.com:

 On Fri, Feb 20, 2009 at 9:39 AM, Satish Patel sat...@linuxbug.org wrote:
 I have +100 Host and routers so that when i goes into status map my
 map is mass its like junky...

 is that anyway to i can change look i have select balace tree but is
 there any other way i can set it default for map or i can see
 hierarical diagram

 if you install Nagios2JSON you can take the JSON representation of the
 status map and visualize that programmatically using your own code or
 the code of others if anyone has built an add-on that does cool things
 with that feed yet (haven't checked in a while to see if there are
 projects out yet that use the JSON feed from Nagios2JSON).  That is
 what I plan on doing as we are into the thousands of hosts and the map
 is useless for us as well at this point :).

 http://www.yannj.fr/nagios2json

 I bellieve Yann or someone else has built a backend for NagVis that
 reads the Nagios2JSON JSON for doing custom service and host-level
 front ends with NagVis ... that might cover building a visual map of
 all hosts as well with the automap features of NagVis.

 http://www.nagvis.org/

 - Max





--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] [Cacinda-general] blank graph

2009-02-20 Thread Satish Patel
I am using cacinda-0.1-alpha.tar


Regards,

Satish Patel


Quoting Max Schubert perld...@users.sourceforge.net:

 Are you using the CVS code or the last public release from sf.net that
 is available as a .tar.gz file?

 On Fri, Feb 20, 2009 at 9:35 AM, Satish Patel sat...@linuxbug.org wrote:
 Devices like Routers 7200, 3600, 6500 switch which is in datacenter but i am
 not intrested in that i only want host ( Linux Server ) intergarte with
 nagios.

 I am sening my configuration file and error mesg screen shot as an attched
 document.

 I am also confused at this part

 // What to match/replace in order to make host name Nagios-friendly
 $NAGIOS_HOST_MATCH = '';
 $NAGIOS_HOST_REPLACE = '';
 $NAGIOS_STATUS_URL =
 'http://ustnsto-mgmt01.us.tnsofres.com/nagios/cgi-bin/status.cgi';



 Here you go for configuration config.php

 ?php

 // Default port
 $SNMP_PORT = 161;

 // Hosts per row for all.php
 $HOSTS_PER_ROW = 4;

 $ALL_HOSTS_WHERE = 1 = 1;

 $CACTI_USERNAME = 'root';
 $CACTI_PASSWORD = '';
 $CACTI_HOST = 'localhost';
 $CACTI_SOCKET  = false;
 $CACTI_DATABASE = 'cacti';
 $CACTI_URL = '/cacti';

 // For device selection menu; if blank all users can select any host from
 // a host view page, otherwise user must be a Cacti user administrator to
 view
 // the status of all hosts.
 $CACTI_CHECK_AUTH = 0;

 // Font to use for generated graphs
 // If you are on a system that has fonts in non-standard locations, use
 // the full path, e.g.
 // /usr/local/lib/php/fonts/arial.ttf

 $TTF_GRAPH_FONT = 'Arial';

 // What to match/replace in order to make host name Nagios-friendly
 $NAGIOS_HOST_MATCH = '';
 $NAGIOS_HOST_REPLACE = '';
 $NAGIOS_STATUS_URL =
 'http://ustnsto-mgmt01.us.tnsofres.com/nagios/cgi-bin/status.cgi';


 include_once('inc/functions.php');

 class Configuration {

function port() {
global $SNMP_PORT;
return $SNMP_PORT;
}

function hosts_per_row() {
global $HOSTS_PER_ROW;
return $HOSTS_PER_ROW;
}

function max_part_count() {
global $MAX_PART_COUNT;
return $MAX_PART_COUNT;
}

function nagios_url() {
global $NAGIOS_STATUS_URL;
return $NAGIOS_STATUS_URL;
}

function nagios_host_match() {
global $NAGIOS_HOST_MATCH;
return $NAGIOS_HOST_MATCH;
}

function nagios_host_replace() {
global $NAGIOS_HOST_REPLACE;
return $NAGIOS_HOST_REPLACE;
}

function ttf_graph_font() {
global $TTF_GRAPH_FONT;
return $TTF_GRAPH_FONT;
}

function cacti_config() {
global $CACTI_DATABASE, $CACTI_USERNAME, $CACTI_PASSWORD,
   $CACTI_HOST, $CACTI_SOCKET, $CACTI_DATABASE,
   $CACTI_URL, $CACTI_CHECK_AUTH;

$info = array();
$info['db'] = $CACTI_DATABASE;
$info['host'] = $CACTI_HOST;
$info['user'] = $CACTI_USERNAME;
$info['pass'] = $CACTI_PASSWORD;
$info['socket'] = $CACTI_SOCKET;
$info['cacti_url'] = $CACTI_URL;
$info['check_auth'] = $CACTI_CHECK_AUTH;

return $info;
}

function all_hosts_where() {
global $ALL_HOSTS_WHERE;
return $ALL_HOSTS_WHERE;
}

 }

 ?






 Regards,

 Satish Patel


 Quoting Max Schubert perld...@users.sourceforge.net:

 What models of devices, Satish?

 On Fri, Feb 20, 2009 at 8:45 AM, Satish Patel sat...@linuxbug.org wrote:

 I have Routers and hosts in cacti and i am integration cacti with nagios
 with help of cacinda i have install it and when i tried to open URL then
 i
 show me select host when i select it, It is not showing me graph and for
 localhost selection on cacinda its showing No devices match class for
 host


 Regards,

 Satish Patel


 Quoting Max Schubert perld...@users.sourceforge.net:

 Hi Satish,

 What kind of a device are the graphs associated with?  I have not done
 much with this project (as you can tell), especially since I converted
 to using PNP, happy to help you with debugging this issue though :).

 - Max

 On Thu, Feb 19, 2009 at 7:19 PM, Satish Patel sat...@linuxbug.org
 wrote:

 I have installed cacinda and configure it but when i run it ask me to
 select host and when i select host it gives error like no device class
 found. if anybody have same error and solved it then please suggest me
 why i am not able to watch graphs?


 Regards,

 Satish Patel








 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San
 Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Cacinda-general mailing list
 cacinda-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/cacinda-general
















[Nagios-users] Installing and configuring Nagiosgraph

2009-02-20 Thread Eric Chatham
Hello,

I downloaded the nagiosgraph tar from http://nagiosgraph.sf.net/.  I extracted 
the files to /usr/local/nagios and even created a symlink for it.  My 
question is, how do I configure the plug-in?  I already have RRDtool installed 
on this server.  Here are some environmental settings for my server:

rrddir= /usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/
rrdtool=/usr/local/rrdtool-1.3.6/bin/rrdtool

When I run install.pl, I receive the following error:

[root@ ~ nagiosgraph]# pwd
/usr/local/nagios/nagiosgraph
[root@ ~ nagiosgraph]# ./install.pl
Can't locate RRDs.pm in @INC (@INC contains: etc 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 
/usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/5.8.8 .) at etc/ngshared.pm line 66.
BEGIN failed--compilation aborted at etc/ngshared.pm line 66.
Compilation failed in require at ./install.pl line 72.
BEGIN failed--compilation aborted at ./install.pl line 72.

Do I need to configure ../etc/nagiosgraph.conf?

Eric Chatham
Broadvox MIS Department
Phone: (216) 373-4683
Fax: (216) 373-4669
echat...@broadvox.net
[cid:image001.jpg@01C99382.003896F0]



CONFIDENTIAL. This e-mail and any attached files are confidential and should be 
destroyed and/or returned if you are not the intended and proper recipient.
inline: image001.jpg--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Whoops Error for no reason

2009-02-20 Thread Sebastian Bachmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hello,
Yesterday i added a new host in my nagios config. After adding the
host i reloaded the daemon and checked the cgi webinterface to check
the host. But the Webinterface give my since this reconfiguration a
Whoops Error (*Error: Could not read object configuration data!). I
restarted the daemon, checked the config with -v (2 warning and 0
errors) and finally restarted the server. I also removed the new host
from the config, but I'm getting still this error.
I checked the FAQ, Mailingslists and Google and only found unansweard
threads - seems to be a nice problem :D

ps faux shows me nagios running:
nagios   30461  0.0  0.0  34384  1884 ?SNsl 22:10   0:00
/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg

nagios -v ...  tells me

Total Warnings: 2
Total Errors:   0

Things look okay - No serious problems were detected during the
pre-flight check

So i really cant find any problems? where is it hiding?
Thanks for help!

Sebastian*
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iQEcBAEBAgAGBQJJnyHgAAoJEMk5DteJqDfPuC4H/iPR6tEcWHU0VLB5HWU7hDvq
px6KtR9tB03RSloNFPZ72KTWiDn83GihRvPe0AOqYjnGG4+ocuZ3V1ESM+H5aiXI
q06u4Tj5j8XGWepje97ZjCQvT32+bUNnJe7J4YQQIGcpyg0W/brEthLDXOWwEwTJ
89jAoWGJyLYvUT3DJLn9c/kOlIxP8YTBXiLyDieXPE+DSmasQ1glzo3QQkRPJHQt
D0lP+0BqfiWijL1zdG2scVEVelZTfPs3AtJ3yg3ndcdLsZ/x63DRhr4o0w/rMoUo
mkrqD2eXvZs3srx4QJ4P4No+x0iPnMQnooTvPzHS7Tl2VpWpmwnMlhV3Q18CvTs=
=dFWv
-END PGP SIGNATURE-


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Nagios configuration for SAN monitoring

2009-02-20 Thread Sonika Sachdeva
Hello List,

I have nagios basic configuration up and running as per the quickstart
guide.
I also have SNMP4nagios installed and running and the command works from the
command line as follows

/usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf
OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039
FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039
How do I integrate this command in nagios and start the logging and graphing
functionality for brocade ports. can someone point me to a tutorial/guide.

Has someone used nagios for SAN monitoring?

Thanks,
Sonika
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Whoops Error for no reason

2009-02-20 Thread Hendrik Baecker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Sebastian Bachmann schrieb:
 Hello,
 Yesterday i added a new host in my nagios config. After adding the
 host i reloaded the daemon and checked the cgi webinterface to check
 the host. But the Webinterface give my since this reconfiguration a
 Whoops Error (*Error: Could not read object configuration data!). I
 restarted the daemon, checked the config with -v (2 warning and 0
 errors) and finally restarted the server. I also removed the new host
 from the config, but I'm getting still this error.
 I checked the FAQ, Mailingslists and Google and only found unansweard
 threads - seems to be a nice problem :D
 
Are you running NDOUtils? If so, the initital data transfer after a
nagios reload may take some while until nagios warms up.


Regards,
Hendrik
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEUEARECAAYFAkmfpMIACgkQlI0PwfxLQjkEmACfXV+DxUdbYYYE7UiCW/sWeeOa
LjsAmJyOAtiLE0apsh1zUNSbiVRor4k=
=0PLQ
-END PGP SIGNATURE-

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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