Re: [Nagios-users] Multi-site frontend options

2011-02-25 Thread Rutger Blom
You should check out check_mk and its multisite:
http://mathias-kettner.de/check_mk.html

Rutger

Den fredagen den 25:e februari 2011 skrev Shawn Green:
> I have multiple data centers around the US with 100+ nodes and roughly 1500 
> service checks per location.  Rather than utilize nsca to report to one 
> Nagios instance, I have setup separate “native” Nagios instances in each data 
> center.   Now the fun part….  I’d love to have one centralized interface for 
> all locations.  Ideally this is something that I can run from an apache 
> instance that is located in my main data center (and separate from the 
> monitoring host in that DC).  I’ve been checking out check_mk Multisite and 
> utilizing the livestatus plugin.  There’s a lot to like in it… interface 
> layout, the ability to submit commands to any location from one interface, 
> and the nagvis integration.  There are also some things that are missing that 
> may be deal breakers for me.  Native LDAP (not using mod_ldap in apache), 
> cacti integration on some level, and more granular user groups would be 
> some. Regardless of the fact that we like check_mk Multisite, I’d like to see 
> what other options are out there.  What have you folks used & experienced?  
> ThanksShawn  Shawn
>  M. Green | Manager, Technical Operations

-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom

--
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
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] Hostgroups: if not contact for one host, none are available

2011-02-17 Thread Rutger Blom
I find this very irritating too. It doesn't make sense either.

Rutger

2011/2/17 Yueh-Hung Liu :
> this isn't a bug.
> by reviewing the source codes, you can find that Nagios(more
> precisely, the CGIs) just do this way.
> i have no clue why Nagios won't show "partial" hostgroups if one has
> no access to all host members.
> maybe for performance issue?
>
>
> On Thu, Feb 17, 2011 at 2:44 AM, C. Bensend  wrote:
>>
>> Hey folks,
>>
>>   This has bitten me a few times now, so I figured I'd better report
>> it...
>>
>>   If I have hostgroup "bob":
>>
>> host1
>> host2
>> host3
>> host4
>> host5
>>
>> and contact "frank" is a contact for hosts 1, 2, 3, and 4 (but NOT
>> 5), frank will not be able to view the *hostgroup*.  It gives the
>> usual "It appears you do not have permissions ..." error.
>>
>>   *Surely* this can't be intentional, can it?  Why the heck would
>> you _want_ that behavior?  I would expect it to display the hosts
>> in the group (viewing a host you're a contact for will show all
>> services, even if you're not a contact for all), or at worst just
>> the members of the group the user is a contact for, but not deny
>> access to the entire hostgroup.
>>
>>   In my environment, I have accidentally added a host to the
>> wrong hostgroup.  When I do this and the users of the hostgroup
>> aren't contacts for this new one that I misplaced, the users lose
>> access to the entire hostgroup.
>>
>>   Am I being dense, or is this a bug?  3.2.3 on RHEL 5.5, BTW.
>>
>> Thanks!
>>
>> Benny
>>
>>
>> --
>> "Hairy ape nads."        -- Colleen, playing Neverwinter Nights
>>
>>
>>
>> --
>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> ___
>> 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
>>
>
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> 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
>

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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] Autodiscover hosts? Best options to configure Nagios?

2011-01-01 Thread Rutger Blom
Check_mk does automatic inventory. 

Rutger

1 jan 2011 kl. 14:11 skrev Mister IT Guru :

> Are there any 'recommendations' for web interfaces, or helper 
> applications to automate configuration of nagios? I'd like to experiment 
> with some.
> 
> Thanks
> 
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> 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

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
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] low-cost snmp-enabled temperature sensor?

2010-12-10 Thread Rutger Blom
You could use the temp-sensors in your server. Not as reliable as an
external temp-sensor, but extremely cheap ;-)

Rutger

2010/12/10 Duncan Berriman 

> I'd recommend
>
> http://www.omega.co.uk/ppt/pptsc.asp?ref=ithx-w_ithx-m
>
> Fabulous product, plug it in and it works, used them for years.
>
> Regards
> Duncan
>
> -Original Message-
> From: Furnish, Trever G [mailto:tgfurn...@herffjones.com]
> Sent: 09 December 2010 18:17
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] low-cost snmp-enabled temperature sensor?
>
> Can anyone recommend a low-cost external temperature sensor that doesn't
> require the buyer to break out a soldering iron?
>
> Preferably it would be SNMP-enabled so I can poll it from anything.
> Power-over-ethernet would be great too.
>
> The least expensive snmp-enabled sensor I've found so far is this one at
> 195 USD:
> http://avtech.com/Products/Temperature_Monitors/TemPageR_3E.htm
>
> I've also noted probes like this one at 15 USD:
> http://www.ibuttonlink.com/t-sense.aspx
>
> ...but the systems in the site where I'd hook this up are all Windows, so
> I'm not sure how I'd get from there into Nagios.
>
> --
> Trever Furnish, tgfurn...@herffjones.com Herff Jones, Inc. Solutions
> Architect
> Phone: 317.612.3519
> Any sufficiently advanced technology is indistinguishable from Unix.
>
>
>
> 
> --
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
>
>
>
> --
> ___
> 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
>



-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom
--
___
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 host search

2010-11-29 Thread Rutger Blom
Last time I checked this wasn't possible. There are some third party utils that 
can do this for you. 

Rutger

29 nov 2010 kl. 08:11 skrev "Glenn Bilocca" :

> Hey people,
> 
> I’m new to the usage of nagios but I found it to be very useful in my case. 
> But I have a query about such program. Is it possible for nagios to search 
> for me all the hosts in my network and add them in the hosts section. Right 
> now I have added 4 pcs manually but I have 65 left. Is there a way to add 
> them via a script or something similar.
> 
>  
> 
> Thanks and Regards
> 
> Glenn
> 
>  
> 
> --
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> ___
> 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
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
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] combining more than one status.dat file...

2010-11-19 Thread Rutger Blom
Hi,

I would really suggest you have a look at check_mk and multisite. This
Nagios addon supports having multiple Nagios servers in one management
interface.
http://mathias-kettner.de/checkmk_multisite.html

/Rutger

On Saturday, November 20, 2010, Ray Kiddy  wrote:
>
> I have an idea on how to get a sort of distributed nagios to work. It 
> actually seems simple. MaybeI am not seeing something. Maybe someone here 
> knows a reason this will not work.
>
> I have a nagios server here. It is watching some things in about a dozen data 
> centers around the world. There is a nagios running in China and another one 
> running in Ankara, as well.
>
> I want to see, in one interface, how all three of these nagios servers see 
> things. I think I should be able to take the status.dat here, take the 
> status.dat from Ankara (with a "_tr" added to the service names), take the 
> status.dat from China (with a "_cn" added to the names of the services), and 
> put these all three together into the one status.dat file here. I figure I 
> have to do it in such a way that I do not get into a race condition with the 
> nagios server itself, but other than that, what is the problem with this?
>
> I had asked for this kind of thing before. With our nagios server, we can see 
> if the cn servers are up, but we care a lot more about whether the cn servers 
> are up for the cn customers. It does not matter how the CN-US link is 
> behaving. So, if the cn servers look to be down, but Ankara can see them, we 
> know there is no problem.
>
> This just seems to be a really simple way to get this. But, given the 
> complexities of some of discussions about this stuff, I am dubious. If it was 
> this simple, it would be documented, and even talked about, no? I am sure I 
> am not the only one who wants this. Any thoughts?
>
> thanx - ray
>
>
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> ___
> 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
>

-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
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] SMS Foxbox

2010-11-10 Thread Rutger Blom
Thank you very much for the information. In our case we only have one SMS
recipient so it should work fine.

/Rutger

On Wed, Nov 10, 2010 at 4:07 AM, Mark Young  wrote:

> On Nov 5, 2010, at 4:44 AM, Rutger Blom wrote:
>
> > Hello list,
> >
> > I was wondering if any of you have experience with using the SMS Foxbox
> and Nagios? Are you satisfied with the product? Is there any other solution
> you would recommend instead?
> >
> > http://www.nagios.org/products/notification/foxbox/
> >
> > /Rutger
>
> Hi Rutger,
>
> I originally demoed the SMS FoxBox while working at Nagios Enterprises in
> 2007.  My original integration attempt was written up on the wiki
> http://wiki.nagios.org/index.php/ACME_SYSTEMS_SMSFoxBox.  The device is a
> small embedded linux server that takes a SIM card and has a external
> antenna.  *It is very important that it has cell (GSM) reception.  Also my
> knowledge of the device is now a few years old.
>
> My experience was that it worked very well.  It has the limitation that it
> can only send one message at a time (one GSM modem).  My script from the
> wiki page used the web api, where you use a web address to send the message
> body and recipient.  This was only able to handle a few requests before it
> overwhelmed the small web server.  I later created another script that
> uploaded messages to a spool directory on the device (using SCP).  This was
> able to handle a large number of messages but it takes a long time for the
> device to process messages.  I would say if you have over 20 notification
> recipients you may want to look for an alternative.  There are web services
> that handle these requests (AlarmTilt) or many people now use email
> addresses provided by cell providers that text phones (
> http://www.emailtextmessages.com/).
>
> I hope that this helps you out.  Good luck in your quest!
>
> Mark Young
>
>
>
>
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> 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
>



-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] Changing behavior of check-host-alive?

2010-11-05 Thread Rutger Blom
That sounds like the correct way of doing it.

/Rutger

On Fri, Nov 5, 2010 at 8:51 PM, RT  wrote:

> Using: Nagios 3.2.2.
>
> By default, Nagios considers a host down if it is unreachable by ICMP. From
> what I understand, if a host is unreachable, then further notifications for
> the host are disabled.
>
> We have a hostgroup that is always reachable by ICMP (the hosts are usually
> exhausted of memory and hard-lock) and should only be considered "down" if
> SSH isn't available. The desired behavior would be to suppress all other
> notifications for the host if SSH is unreachable.
>
> Is this accomplished by altering the 'check_command check-host-alive'
> within the host template and creating a new 'check-host-by-ssh' command in
> the Command Definitions?
>
>  Thank you for your help.
>
>
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> 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
>



-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] SMS Foxbox

2010-11-05 Thread Rutger Blom
Hello list,

I was wondering if any of you have experience with using the SMS Foxbox and
Nagios? Are you satisfied with the product? Is there any other solution you
would recommend instead?

http://www.nagios.org/products/notification/foxbox/

/Rutger
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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] host_port objects - Enhancement Request

2010-10-28 Thread Rutger Blom
vicegroups        cisco-switch-standard
>    service_description  Port Traffic
>    check_command        check_snmp_traffic!-N $PORTNAME$!-C $USER2$
> }
>
> In this proposed configuration, a host is defined, as normal.  A new
> object, the host_port object, is defined with port-based information.
> The host_port object imports information such as address and host_name
> from the host but can override this information if needed.  For
> instance, a router interface may have an ip address and hostname.
> Finally, a new tag, port_name, identifies the port name to use.  When
> displaying the host_port in the GUI, or identifying it in email/SMS, the
> port_name should be appended to the host_name.  A similar syntax could
> be used for parent/child relationships as well.
>
> The service definition uses a new tag, port_based, to identify that this
> service is for the ports of a host, not for the host itself.  This
> service should be applied to all ports.  port_name can be used in a
> manner similar to host or hostgroups to restrict the service to specific
> ports.
>
> Advantages
> * Clearly links ports to hosts
> * Parent/child relationships can be clearly defined
> * A single service entry can be used for many port entries
> * Very easy to deal with address-assigned ports such as router interfaces
>
> Disadvantages
> * Every port has to be defined
> * Concatenated host/port names can get a bit long
>
> - --
> - ---
> Jason Frisvold
> Network Engineer
> frisv...@lafayette.edu
> - ---
> "What I cannot create, I do not understand"
>    - Richard Feynman
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkzJk7EACgkQO80o6DJ8UvkfDACeLtvq+tm2W+Muz32SOopnqo4J
> /6MAmgM5Gvmp26npPTOl2oY93NBh+hn0
> =u3pW
> -END PGP SIGNATURE-
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> 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
>

-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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] Check_http_Multipple_port

2010-10-27 Thread Rutger Blom
I think you need to set up 2 checks. One for each port.

Rutger

On Wednesday, October 27, 2010, Rajesh Kumar  wrote:
> Hi Sir
>
>    I need to define multiple port in check_http. I defined the command.cfg as 
> follows, in my environment different port tomcat are running how can i find 
> the tomcat status
>
> define command{
>  command_name    check_http_args
>  command_line    $USER1$/check_http -H $ARG1$ -p $ARG2$
>  }
>
> for example
>
> http://testingserver:8082 <http://testingserver:8082/>
> http://tomcatserver:8084 <http://tomcatserver:8084/>
>
> Please help me.
>
>
> Thanks & Regards
>
> B.Rajeshkumar
>

-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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 Core | VC Monitoring

2010-10-27 Thread Rutger Blom
Activate SNMP on the virtual machines (which is an OS component) and
do your monitoring via check_snmp.

Rutger

On Wednesday, October 27, 2010, Himanshu Arora  wrote:
> So how can i go about it Leif, any ideas... Would really appreciate if you 
> can elaborate a bit... if this can be monitored through VC which i have it 
> installed on windows server..
>
>
> which addon did you use - NSclient any other agent and what are the plugins 
> can be used to get this done.
>
> Thanks,
>

-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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] Services on statusmap

2010-10-21 Thread Rutger Blom
Did you have a look at NagVis?

Rutger

On Thu, Oct 21, 2010 at 9:06 AM, Laszlo Csepanyi-Furjes <
csepanyifur...@yahoo.com> wrote:

> Hi,
>
> Thanks for your help! So it looks the statusmap will not be good for me to
> visualize the service statuses. All that I have found is this:
>
>
> http://exchange.nagios.org/directory/Patches/Nagios/Show-service-state-in-statusmap-%252D-Nagios-3-2Ex/details
>
>
> I installed that patch and at least I can see different background color if
> one of the associated services is down.
>
> What about the Extended status map? Does anyone have any experience with
> that? Can I see the services on that extended map?
>
> http://sourceforge.net/projects/nexsm/
>
>
> -Laszlo
>
>
>
>
> --- On Wed, 10/20/10, Paul M. Dubuc  wrote:
>
> > From: Paul M. Dubuc 
> > Subject: Re: [Nagios-users] Services on statusmap
> > To: "Nagios Users List" 
> > Cc: "Laszlo Csepanyi-Furjes" 
> > Date: Wednesday, October 20, 2010, 8:00 PM
> > Laszlo Csepanyi-Furjes wrote:
> > > Hi,
> > >
> > > I'm using Nagios core 3.2.3. I have couple of hosts in
> > my system and there are web services installed in every
> > hosts that I would like to monitor. I implemened own plug-in
> > for that purpose. So far the configuration is going well.
> > But now I'm bumping my head into the wall. In the statusmap
> > I can see only the defined hosts. How can I get the services
> > visible there? Is it possible at all with the core version
> > or do I have to install something extra?
> > >
> > > At least I found this picture: http://a9k.info/images/nagios.png
> > > It contains Chat, Staff, etc those should be services,
> > right?
> > >
> > > Please help!
> > >
> >
> > I think the status map is only for hosts.  The "Up"
> > and "Down" status you see
> > on the diagram apply to hosts, not services.  (So Chat
> > and Staff must be
> > hosts.)  Service status is "OK", "Warning" "Critical",
> > etc.  You can select a
> > hosts (click) and double-click on it host to display its
> > service status details.
> >
>
>
>
>
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> 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
>



-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com

<http://delicious.com/rbml77>  <http://www.facebook.com/rutgerblom>
<http://foursquare.com/user/rutgerblom> <http://www.linkedin.com/in/rutgerblom>
<http://picasaweb.google.com/rutger.blom> <http://twitter.com/rutgerblom>
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
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.cmd permission issue

2010-10-03 Thread Rutger Blom
Have you verified that the user you log in with into the Nagios CGI has
permission to execute commands?

Rutger

On 3 okt 2010, at 21.25, Robert Wolfe  wrote:

Unfortunately, I did the same and am still getting the same error.



*From:* Ilan Berkner [mailto:iberk...@gmail.com]
*Sent:* Sunday, October 03, 2010 1:35 PM
*To:* Nagios Users List
*Subject:* Re: [Nagios-users] nagios.cmd permission issue



I've reconfigured nagios to run as the same user and group as that of the
web server.  Still getting this command file issue.



Any other suggestions?



Many thanks...

On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner  wrote:

Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)



On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell  wrote:


On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:

> Did not work, probably b/c I'm restarting the service as root?
>
> Is there a way to tell under which user nagios is trying to access the
nagios.cmd file?

Your web server is trying to write to the pipe so it's whatever user your
web server is configured to run as.

--
Marc



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null





--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d

___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] nagios.cmd permission issue

2010-10-03 Thread Rutger Blom
Who's the owner of the pipe?

On 3 okt 2010, at 19.25, Ilan Berkner  wrote:

Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)

On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell  wrote:

>
> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>
> > Did not work, probably b/c I'm restarting the service as root?
> >
> > Is there a way to tell under which user nagios is trying to access the
> nagios.cmd file?
>
> Your web server is trying to write to the pipe so it's whatever user your
> web server is configured to run as.
>
> --
> Marc
>
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> 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
>

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

___
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
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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.cmd permission issue

2010-10-03 Thread Rutger Blom
Set the sticky bit on the directory.

Rutger

On Sun, Oct 3, 2010 at 8:55 AM, Ilan Berkner  wrote:

> Hi,
>
> New to Nagios...
>
> Got everything pretty much running, except when I try to modify things
> using the web interface, I get this error:
>
> Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd'
> for update!
>
> The permissions on the external command file and/or directory may be
> incorrect. Read the FAQs on how to setup proper permissions.
>
> An error occurred while attempting to commit your command for processing.
>
>
> This is clearly a permission issue as when I manually change the
> permissions of the /rw/nagios.cmd to 777 for example, it works fine.  When
> the service is restarted and the pipe is recreated though, the permissions
> are re-set.
>
> I am running the nginx web server, not apache.
>
> SELinux is disabled.
>
> The rw directory has 777 permissions and is owned by the nagios user and
> group.
>
> The Nginx server runs under a different user / group and this could be the
> issue.  However, I tried to set up the rw directory with that user and group
> and still no luck.
>
> Help?
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> 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
>



-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com

<http://delicious.com/rbml77>  <http://www.facebook.com/rutgerblom>
<http://foursquare.com/user/rutgerblom> <http://www.linkedin.com/in/rutgerblom>
<http://picasaweb.google.com/rutger.blom> <http://twitter.com/rutgerblom>
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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] Unknown File Type when browsing to Nagios

2010-09-30 Thread Rutger Blom
Seems like you forgot to install or activate php5 and/or mod_php5 for
Apache.

Ruter

On Thu, Sep 30, 2010 at 6:52 PM, Brad Bieth  wrote:

>  Hi all,
>
> I just finished my installation of Nagios 3.2.2 on Ubuntu version 10. The
> installation all seemed to go well until I attempted to launch the URL at
> which I’m prompted for a file to download. I have included an attachment of
> the file. The URL that Im using is http://localhost/nagios, I have also
> made sure that Apache is started and if I go to http://localhost then I
> get a page that tells me Apache is running just fine. I forgot to mention
> that when I do go to the Nagios URL I am prompted for my username and
> password which I supply and then that is when the prompt for the file
> occurs. I have also installed the Nagios Plugins version 1.4.15.
>
>
>
> Thank you for any help.
>
>
>
> Brad
>
>
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> 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
>



-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com

<http://delicious.com/rbml77>  <http://www.facebook.com/rutgerblom>
<http://foursquare.com/user/rutgerblom> <http://www.linkedin.com/in/rutgerblom>
<http://picasaweb.google.com/rutger.blom> <http://twitter.com/rutgerblom>
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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] Skip certain hosts in a hostgroup when defining services for hostgroups?

2010-09-28 Thread Rutger Blom
Just add a line to the service definition:

"host_name!*yourhost*"

to exclude it from the check.

Rutger

2010/9/28 Simon Dehne 

> Hi guys,
> I have certain services that are checked for hostgroups, for example an
> HD check. There are 12 PCs in that host group, and I'm checking
> available space on two HDs for each PC.
> There is one PC in that group however, that has only ONE HD instead of
> two.
>
> My config looks like this:
>
> define service {
>hostgroup_name  linux-pool
>service_description DISKSPACE home_local
>check_command   check_nrpe!check_home
>use generic-service
> }
>
> define service {
>hostgroup_name  linux-pool
>service_description DISKSPACE work_local
>check_command   check_nrpe!check_work
>use generic-service
> }
>
> Where check_home and check_work are the commands, with which HD space is
> checked (check_disk .. /sda1 and check_disk .../sda2).
>
> Is there a simple way to exclude that one PC from the check instead of
> having to define these checks for each PC in that group individually?
> --
> Simon Dehne
>
> Institut für Turbomaschinen und Fluid-Dynamik (TFD)
> Gottfried Wilhelm Leibniz Universität Hannover
> Appelstr. 9
> 30167 Hannover
>
> Tel.: +49 511/762-2753
> web: http://www.tfd.uni-hannover.de
> eMail: de...@tfd.uni-hannover.de
>
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> 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.
> ::: Mess
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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] Over-riding a check in HOSTGROUP

2010-09-27 Thread Rutger Blom
In the service definition add a line under "hostgroup_name":

"host_name  *!**zlinux_hostname*"

This will exclude the zlinux host from the service check.

Rutger

On Mon, Sep 27, 2010 at 1:09 PM, Brian O'Mahony <
brian.omah...@curamsoftware.com> wrote:

>  Im using Centreon 2.19, which uses Nagios 3.2.1
>
>
>
> I have set up a hostgroup for all various types of Linux servers. All these
> checks work fine, with the exception of check_mem on zlinux. For all the
> other Linux systems (Debian, RH, CentOS) it returns back a value of memory –
> eg OK - RAM usage is at 97.1500%
>
>
>
> However the zlinux systems report CRITICAL - 771 MB (11%) Free Memory
>
>
>
> I want to override the hostgroup check, so I created a check on the actual
> host. This test works fine, from the cli, however in the webpage, it still
> does the hostgroup check.
>
>
>
> The centreon forum was under the impression host checks over-rode hostgroup
> checks, but it doesn’t seem to be working for me…
>
>
>
>
>
>
>
> Regards
>
> B
>
>
> The information in this email is confidential and may be legally
> privileged.
> It is intended solely for the addressee. Access to this email by anyone
> else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in
> reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank you.
>
>
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> 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
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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