Re: [CentOS] upgrading 7.5 ==> 7.6

2018-12-20 Thread Chris Beattie
> -Original Message-
> From: CentOS  On Behalf Of Fred Smith
> I have, as I said, several other machines to  upgrade, too, some of them
...
> a couple of VMs (in virtualbox) and at work several other VMS as well as
...
> I'd appreciate any advice I can get on how to get these systems upgraded
> without breaking them.

Can you clone the VMs first?  That will give you machines to bang on until 
you've hammered out all the bumps in the upgrade process.  Then for the 
production VM, take a pre-upgrade snapshot you can roll back to when the 
process finds a new way to go sideways.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7

2017-10-26 Thread Chris Beattie
> Actually the case is that the compiling  process and make all, make install
> processes didn't report any errors but when I trying to access or start the
> service Nagios it gives me an error stating it's unable to find that service.
> 
> This happens with me when I try to manually install the applications from
> source.
> Am I missing any important step in the installation process that could be
> causing this issue.

Did you also run the rest of the make install commands (install-init, 
install-config, etc.)?  I seem to recall that install-init is the one that sets 
up the services so that "service nagios start" or "systemctl start 
nagios.service" work.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not Able to Configure Nagios Server 4.3.4 in Centos 7

2017-10-24 Thread Chris Beattie
> As per the installation instructions I ran the commands in the concerned
> folders of ./configure , make , make install for both the core and the Nagios
> plugins.
> 
> I am not able to figure out the issue behind that it is not working It did got
> installed using yum which was a previous 4.3.2 that that had it's own errors
> and wanted me to update with no update of it available in the epel
> repository.

What's not working?  Did it compile correctly?  Nagios needs some extra 
packages to for all of its features to work.  These can be installed via YUM 
even if you compile Nagios itself from source.

Also, if you install Nagios from source, SELinux will prevent it from doing a 
lot of stuff by default.  However, it's entirely possible to run Nagios with 
SELinux in Enforcing mode with the right policy.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] list_add corruption problem

2017-08-01 Thread Chris Beattie
Howdy,

I've got a CentOS 7 VM that occasionally becomes unresponsive.  There's a 
"list_add corruption" entry in /var/log/messages, included below.

This is on VMware.  We have lots of other VMs which are running just fine.  
Only a few are CentOS 7 VMs, though, so I can't rule out some kind of 
environment issue.

It's up-to-date on OS patches, and running kernel 3.10.0-514.26.2.el7.x86_64.  
When it locks up, there isn't any indication on its console, other than it 
looks like it's waiting at a login prompt.  I did some Googling, which 
suggested similar issues have been around a while, but the results I found 
tended to be for CentOS 6 and older kernels.

Can anyone help me understand what this means?

Jul 31 16:58:15 den-nagios kernel: [ cut here ]
Jul 31 16:58:15 den-nagios kernel: WARNING: at lib/list_debug.c:33 
__list_add+0xac/0xc0()
Jul 31 16:58:15 den-nagios kernel: list_add corruption. prev->next should be 
next (880174795358), but was 64756f6c6373646e. (prev=880806a44458).
Jul 31 16:58:15 den-nagios kernel: Modules linked in: dell_rbu dcdbas 
ip6t_rpfilter ipt_REJECT nf_reject_ipv4 ip6t_REJECT nf_reject_ipv6 xt_conntrack 
ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat 
nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_
mangle ip6table_security ip6table_raw iptable_nat nf_conntrack_ipv4 
nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security 
iptable_raw ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter 
vmw_vsock_vmci_transport vsock vfat fat intel_power
clamp coretemp iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw 
gf128mul glue_helper ablk_helper cryptd ppdev vmw_balloon sg pcspkr vmw_vmci 
shpchp i2c_piix4 parport_pc parport ip_tables xfs libcrc32c sr_mod cdrom 
ata_generic pata_acpi sd_mod crc_t10dif crct10dif_gen
eric
Jul 31 16:58:15 den-nagios kernel: vmwgfx drm_kms_helper syscopyarea 
sysfillrect sysimgblt fb_sys_fops crct10dif_pclmul crct10dif_common ttm 
crc32c_intel ata_piix drm serio_raw libata vmxnet3 vmw_pvscsi i2c_core fjes 
dm_mirror dm_region_hash dm_log dm_mod
Jul 31 16:58:15 den-nagios kernel: CPU: 6 PID: 127439 Comm: ssh Not tainted 
3.10.0-514.26.2.el7.x86_64 #1
Jul 31 16:58:15 den-nagios kernel: Hardware name: VMware, Inc. VMware7,1/440BX 
Desktop Reference Platform, BIOS VMW71.00V.0.B64.1506250318 06/25/2015
Jul 31 16:58:15 den-nagios kernel: 880634f83c00 ac63a691 
880634f83bb8 81687133
Jul 31 16:58:15 den-nagios kernel: 880634f83bf0 81085cb0 
880782e74210 880174795358
Jul 31 16:58:15 den-nagios kernel: 880806a44458 880174794000 
 880634f83c58
Jul 31 16:58:15 den-nagios kernel: Call Trace:
Jul 31 16:58:15 den-nagios kernel: [] dump_stack+0x19/0x1b
Jul 31 16:58:15 den-nagios kernel: [] 
warn_slowpath_common+0x70/0xb0
Jul 31 16:58:15 den-nagios kernel: [] 
warn_slowpath_fmt+0x5c/0x80
Jul 31 16:58:15 den-nagios kernel: [] ? 
ip_fragment.constprop.54+0x90/0x90
Jul 31 16:58:15 den-nagios kernel: [] __list_add+0xac/0xc0
Jul 31 16:58:15 den-nagios kernel: [] 
__internal_add_timer+0xab/0x130
Jul 31 16:58:15 den-nagios kernel: [] 
internal_add_timer+0x32/0x70
Jul 31 16:58:15 den-nagios kernel: [] mod_timer+0x13d/0x220
Jul 31 16:58:15 den-nagios kernel: [] sk_reset_timer+0x18/0x30
Jul 31 16:58:15 den-nagios kernel: [] tcp_connect+0x74e/0x9f0
Jul 31 16:58:15 den-nagios kernel: [] ? 
ktime_get_real+0x25/0x70
Jul 31 16:58:15 den-nagios kernel: [] ? 
secure_tcp_sequence_number+0x69/0x90
Jul 31 16:58:15 den-nagios kernel: [] 
tcp_v4_connect+0x376/0x4e0
Jul 31 16:58:15 den-nagios kernel: [] 
__inet_stream_connect+0xb5/0x330
Jul 31 16:58:15 den-nagios kernel: [] ? 
handle_mm_fault+0x6b1/0x1000
Jul 31 16:58:15 den-nagios kernel: [] 
inet_stream_connect+0x38/0x50
Jul 31 16:58:15 den-nagios kernel: [] SYSC_connect+0xe7/0x120
Jul 31 16:58:15 den-nagios kernel: [] ? 
set_close_on_exec+0x4d/0x70
Jul 31 16:58:15 den-nagios kernel: [] SyS_connect+0xe/0x10
Jul 31 16:58:15 den-nagios kernel: [] 
system_call_fastpath+0x16/0x1b
Jul 31 16:58:15 den-nagios kernel: ---[ end trace 64494d91939a3eb0 ]---

Thanks,
-Chris

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HFSPlus Question

2016-06-08 Thread Chris Beattie
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf 
> Of Albert McCann
> Sent: Tuesday, June 07, 2016 9:06 PM
> To: 'CentOS mailing list' 
> Subject: Re: [CentOS] HFSPlus Question
>
> I'm still dealing with food poisoning I came down with after sending my 
> question. :-(

Bad YUM update?

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [Check_mk (english)] Is there a way to make OMD act like older versions of Check_MK?

2016-04-07 Thread Chris Beattie
Howdy again,

I figured out what I was doing wrong.  I downloaded 
check-mk-raw-1.2.6p16.cre.tar.gz instead of check_mk-1.2.6p16.tar.gz.  Once I 
downloaded the correct file, I was back on familiar ground.

From: checkmk-en-boun...@lists.mathias-kettner.de 
[mailto:checkmk-en-boun...@lists.mathias-kettner.de] On Behalf Of Chris Beattie
Sent: Wednesday, April 06, 2016 11:17 AM
To: 'checkmk-en@lists.mathias-kettner.de' <checkmk-en@lists.mathias-kettner.de>
Subject: [Check_mk (english)] Is there a way to make OMD act like older 
versions of Check_MK?

Howdy,

I used many old versions of Check_MK up to 1.2.0p4.  I had to pause there for a 
while, neither upgrading Nagios past 3.5.1 nor Check_MK.  I finally had time to 
upgrade Nagios and Check_MK.  I have a good start migrating my Nagios config 
from 3.5.1 to 4.1.1, but Check_MK Raw 1.2.6p16 doesn't appear to see my Nagios 
setup the way older versions did.

I have a hybrid setup.  Almost all the configuration is in Nagios, but I have a 
few non-Windows hosts and devices configured in /etc/check_mk/main.mk.  All of 
the hosts are visible in LiveStatus, though.

I've done some searching and found references to importing Nagios into 
Check_MK, but I have almost 2000 hosts and 20,000 services, so that is not 
appealing.  Is there a way to use cmk commands instead of omd?  Even if it 
means going back to an older version of Check_MK that's compatible with Nagios 
4, as LiveStatus is very handy for the system administrators where I work.

Thanks,
-Chris
(I apologize in advance for the obnoxious amount of legal text the company mail 
server is about to append to this message.)

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

Thank you.
___
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

[Check_mk (english)] Is there a way to make OMD act like older versions of Check_MK?

2016-04-06 Thread Chris Beattie
Howdy,

I used many old versions of Check_MK up to 1.2.0p4.  I had to pause there for a 
while, neither upgrading Nagios past 3.5.1 nor Check_MK.  I finally had time to 
upgrade Nagios and Check_MK.  I have a good start migrating my Nagios config 
from 3.5.1 to 4.1.1, but Check_MK Raw 1.2.6p16 doesn't appear to see my Nagios 
setup the way older versions did.

I have a hybrid setup.  Almost all the configuration is in Nagios, but I have a 
few non-Windows hosts and devices configured in /etc/check_mk/main.mk.  All of 
the hosts are visible in LiveStatus, though.

I've done some searching and found references to importing Nagios into 
Check_MK, but I have almost 2000 hosts and 20,000 services, so that is not 
appealing.  Is there a way to use cmk commands instead of omd?  Even if it 
means going back to an older version of Check_MK that's compatible with Nagios 
4, as LiveStatus is very handy for the system administrators where I work.

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

Thank you.
___
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Re: [CentOS] Openshot 2.x (beta) on C7??

2016-03-11 Thread Chris Beattie
On 3/11/2016 2:02 AM, Sorin Srbu wrote:
>>> Looks like installing openshot 2.x on C7 isn't as trivial
>>
>> It is not trivial at all. The best way to handle this will be to find the
>> required packages in Fedora and rebuild them.
> 
> So what's the easy way?
> 
> Switch to Ubuntu or something? 8-O

Maybe Fedora, maybe Ubuntu?  It's more time-consuming than hard to build a 
virtual machine these days, and it's not even that time-consuming.  Is there a 
distro that already has what you want all packaged up?  Run it in a VM.  Take a 
snapshot first if you want to try something potentially system-breaking or 
that's going to spew files everywhere.  On a single-user machine, the 
performance should be within a few percent of running on the bare metal.  So, 
if you test drive some beta software and it doesn't perform well on a VM, it's 
probably not going to be much better running on a same-spec physical machine.

NB: I administer several hundred virtual desktops, so I chugged rather than 
sipped the virtualization Kool-Aid.  :-)

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] delete directories with find and exclude other directories

2016-02-03 Thread Chris Beattie
On 2/3/2016 12:37 PM, Tim Dunphy wrote:
> I'm attempting to delete some directories and I want to be able to exclude
> a directory called 'logs' from being deleted.

Since you can't have a file and a directory named "logs" in the same directory 
at the same time (that I know of), you could turn on bash's extended globbing.

$ shopt -s extglob
$ rm -rf !(logs)

That will only preserve the top-level entity named logs, though.  If there's a 
"logs" in a subdirectory, it'll get deleted.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread Chris Beattie
On 2/2/2016 12:02 PM, H wrote:
> What do people use as a programming editor on CentOS 6? My first 
> impression of kate was favorable, not only did it support the usual 
> programming and scripting languages but also markdown which I have

I used gedit and Windows' Notepad for a long time until I stumbled across SciTE.

I now use SciTE on CentOS 5, CentOS 7, and Windows because it's programmable 
and cross-platform.  I have never actually used it on CentOS 6, though.  It 
doesn't appear to support Markdown out of the box, either, but I think it's 
possible to add your own language files.

The last couple versions won't compile on CentOS 5, but I wasn't affected by 
any of the bugs they fixed and I'm migrating to 7 anyway.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7 and /etc/sysconfig/network

2015-08-26 Thread Chris Beattie
On 8/25/2015 11:58 AM, Robert Moskowitz wrote: Does Centos 7 use 
/etc/sysconfig/network or is this replaced by some
 systemctl set of commands.

I let Network Manager control the interfaces on my two or three C7 boxes.  I 
used nmtui to set the hostname, and MAC and IP addresses (the MAC addresses 
need to be updated if you clone a machine in VMware) interactively.

That's not scriptable, but there is an nmcli command that may help.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Nagios, getting started

2015-06-22 Thread Chris Beattie
On 6/22/2015 6:04 AM, Rob Kampen wrote: What advantages does the RH/CentOS 
world have (if any?) over the ubuntu 
 LTS world?

I can't think of any compelling reason to run Nagios on RHEL/CentOS if the rest 
of your shop is Ubuntu.  If everyone there is familiar with Ubuntu, it'll be 
easier for them to troubleshoot a problem if they don't have to learn a new 
package manager at the same time.

 If a vm is okay, what kind of RAM does it need?

A VM is fine.  I have Nagios monitoring 1,800 hosts and 17,000 services on a VM 
with 3 CPUs, 4GB of memory, and 20GB of storage.

Whatever you do, set up MRTG graphing so you know how well Nagios is performing 
(http://nagios.sourceforge.net/docs/3_0/mrtggraphs.html) on your monitoring 
host.

If you have many hosts and services to monitor, look in to the large 
installation tweaks and other advice in the tuning guide 
(http://nagios.sourceforge.net/docs/3_0/tuning.html).

Also, Nagios causes constant disk activity temporarily storing and processing 
check results, so you can use a RAM disk to speed that up.

 I see epel has nagios 3.5.1 with a date of 2013 for CentOS7 along with 
 plugins, is this the version folk use? - as the latest from nagios is 4.0.8

I still use 3.5.1.  There was a compatibility break in 4.0 with Check_MK, an 
addition that's too valuable to lose.  It's since been resolved, I think, but I 
haven't gotten around to upgrading yet.  I will probably put it all together on 
a new CentOS 7 VM for maximum fun.

 I am under orders to use packages and not compile, a viewpoint I endorse.
 Are there other repos folk use?

I use the distro package manager to manage Nagios' dependencies, but I compile 
Nagios myself for maximum control.  It's really not that hard.  What I would 
like to do next is get the best of both worlds and learn how to make my own 
Nagios RPM.

 What about front ends, visualization etc.?

I use Check_MK.  It can replace Nagios' own configuration files, but I only use 
that part for several Linux hosts.  However, the LiveStatus pages is a Swiss 
Army knife compared to the stock Nagios pages (which are still available).  And 
it's FAST.

I don't use any Nagios-specific add-ons for Nagios' config files.  However, 
since they are still just text files, I use a programmer's text editor (SciTE), 
version control (git), and rsync to move config files from the dev Nagios host 
to the production Nagios host to the DR Nagios host.

Both Check_MK's LiveStatus pages and SciTE understand regex searches.  
Unfortunately, they use different syntaxes, but once you get the hang of them 
they're invaluable.

 Any comments about FAN?

I don't know anything about FAN or any other Nagios configuration tools, but 
the moment you have to do something creative with your monitoring system will 
probably be the same moment you figure out it's not something automatic tools 
were programmed to cope with.  Might as well get comfy with the config files 
from the start.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 will not run pre-installation script

2015-02-10 Thread Chris Beattie
On 2/9/2015 9:15 PM, g wrote: 
 On 02/09/2015 05:10 PM, Mark LaPierre wrote:

 That's my plan too.  I figure that I'll try it when it gets to 7.3.
 
 i thought it was better to use the even number revisions.

I think the even numbers advice only applies to Star Trek movies.

CentOS 7.3 will be usable, but 7.3.11 for Workgroups is where things will 
really take off.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] outside ssh connection from two different ISP's

2014-11-11 Thread Chris Beattie
On 11/11/2014 2:27 PM, Steve Clark wrote:
 Buy second NIC and then the original script Jack Baily provided would work.

I'm outside my area of expertise here, but is there a reason you couldn't fake 
a second network card by assigning two IP addresses to the one interface?

I recall that the OP had two routers on opposite ends of the same subnet.  If 
each router used its own subnet and everything was connected by a hub instead 
of a switch, then wouldn't the server know which way the packets needed to go 
out?  Or a switch that knows VLANs, but that might be needlessly complex.

I realize that means installing a hub instead of a second network card, so I'm 
just asking for my own edification.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] automated smtp server check

2014-11-05 Thread Chris Beattie
On 11/4/2014 2:36 PM, Frank Cox wrote:
 I would like to set up a cron job to automatically check whether my 
 mailserver and webserver are up, and tell me if they're not.
 
 This script tells me if my webserver is up:
...
 How can I do the something similar with my mailserver?

How about a cron job that e-mails you the output of 'service httpd status' or 
equivalent?  You'll get a message that tells you if your web server is up or 
not.  If you don't get a message, your mail server is down!  (HHOS.)

Unless you're just collecting performance or availability metrics for reports, 
how you intend to be notified is something to consider.  It's trivial to have a 
web server's failing check result e-mailed to you, but you need an out-of-band 
notification method (an old Nokia phone attached to the serial port that emits 
an SMS message, for example) if your mail server is having difficulty.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Chris Beattie
On 10/13/2014 7:17 AM, Steve Clark wrote: Yes but you have to be physically 
close to the main cpu. What about 
 distractions from other people sitting right next to you?
 Playing music, etc.

That's not all that different from modern cube farms.  You learn to tolerate or 
ignore other people, or more ideally, collaborate well with your closest 
co-workers.

Where I work, there are people sitting side-by-side at folding tables (business 
has picked up faster than physical facilities can keep up with).  In our case, 
they're all using zero clients and virtual desktops.  However, it's exactly the 
kind of setup where a multi-seat computer might make sense for other companies 
or schools that don't have our virtualization expertise.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Chris Beattie
On Mon, October 13, 2014 1:50 pm, Les Mikesell wrote:
 Being able to grab your existing desktop remotely with all open
 windows and long-running programs intact is a big plus, though - and
 you get that for free with NX or x2go.  Can you connect remotely to
 your VM host some other way if you aren't at the special desktop?

I didn't mean to imply that you use a multi-seat computer to get to a desktop 
served by a remote machine, though you could certainly do that if you wanted.  
Everyone still needs a machine to function as an endpoint for the remote 
desktop to be delivered to, though.  You use a multi-seat computer when you 
don't have enough computers to give everyone their own machine.

Like William Gibson said, The future is already here - it's just not evenly 
distributed.  I have enough computers that I could make furniture out of them, 
but I'm sure there's some cash-strapped school district using donated hardware 
that would jump at the chance to have their computer lab serve ten students at 
a time instead of five.

-- -Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos laptop:: video cards

2014-10-08 Thread Chris Beattie
On 10/7/2014 10:24 AM, ken wrote: The calculations John makes are valid as far 
as they go, valid for a
 screen with no applications/windows visible on it.  Every time a window
...
 In brief, a lot has to happen in addition to the simple rastorization of
 the screen that John describes, and so a video subsystem requires many
 times the amount of memory he suggests and number of discrete processor
 instructions his description would imply.

John is right.  Laptops with integrated Intel video controllers have all the 
video processing power necessary for just about anything short of heavy gaming 
or real-time professional-level image processing.

I run a virtual desktop infrastructure.  A typical VDI host here will be 
running around 30 virtual desktops with dual displays at around 30% CPU 
utilization on 16 cores.  Granted, you won't find those Xeons in any laptops, 
but those virtual desktops (running a full suite of business apps) AND their 60 
displays are being emulated entirely in software, and then the display output 
is compressed and sent to the user over Ethernet, yet the users do not 
experience the dreadful video performance you describe being the result of not 
having discrete graphics.

Also, each virtual desktop consumes about 3.5GB of memory (including its 
displays) on its host.  The display memory isn't allocated directly as a 
number, but as a resolution.  I seem to recall that it would take up to 128MB 
to support two 1920x1200 displays, however.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Spacewalk? Local repo? Cache?

2014-09-30 Thread Chris Beattie
On 9/29/2014 1:59 PM, Chris Beattie wrote:
 How do you all keep a dozen or more Linux boxes updated?

I just wanted to say thank you to everyone at once for the advice.  It's much 
appreciated.

I also wanted to apologize in advance to those who were injured by the legal 
text at the end of my previous message (I have no control over it.  It is 
mandatory on all outgoing messages AND the use of personal e-mail accounts is 
prohibited where I work.), because, well, you're just going to get offended 
again if you keep reading past the signature block separator.  We all know the 
legalese down there is worse than YouTube comments, which at least have a 
nonzero chance of being funny going for them.

Or, you need to try harder if you want to be as offended as the Cygwin mailing 
list is at these sorts of things.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Spacewalk? Local repo? Cache?

2014-09-30 Thread Chris Beattie
On 9/30/2014 3:14 PM, m.r...@5-cent.us wrote: I hope you got a chuckle out of 
my final disclaimer - the quote from my
 ...late... wife.

It's a good one.  I had to go back and take a second look because I stopped 
reading at the double dashes, heh heh.

I don't know how the footer disappeared (Honestly, I despise them as much as 
anyone else!), but I figured one more message was worth the risk before I 
re-lurk.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Spacewalk? Local repo? Cache?

2014-09-29 Thread Chris Beattie
I have a mix of CentOS 5, 6, and now 7 servers at work.  There are enough of 
them now that it is starting to make sense for them to get updates from an 
internal source.

I've seen RHN Satellite in years past.  It looks like it may be a way to allow 
Windows admins here (familiar with WSUS) to update Linux boxes.  A local repo 
might be easier to set up, but (as with Spacewalk) it seems like we'd end up 
with a lot of packages we don't need.  A proxy and a sufficiently-large cache 
might do the trick if the first Linux box to get updates populates the cache 
which the files the others will need, but I haven't looked into this enough to 
see if there's even a way that works.

How do you all keep a dozen or more Linux boxes updated?

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

Thank you.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - AD authentication

2014-07-25 Thread Chris Beattie
On 7/25/2014 10:34 AM, Nux! wrote:
 This is very simple in the new CentOS 7:
 
 realm join –client-software=sssd example.com -U mydomainadmin

I just tried it, and it really is MUCH simpler than it used to be.

I had to install realmd first, which actually told me what other packages I'd 
need that weren't actual dependencies (samba-common, oddjob, sssd, and a couple 
others).  Then I ran Nux!'s command.

I also needed to permit a user to log in (maybe because I didn't reboot), but 
the example in RH's integration guide (section 3.4) didn't work for me.  I 
figured out that realm permit u...@domain.com did the trick, and I could log 
in to the console as u...@domain.com or via ssh as u...@domain.com@hostname.

Two lines (not counting installing the packages) was all it took.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Normalizing WAV files

2014-04-21 Thread Chris Beattie
On 4/20/2014 8:40 PM, Mark LaPierre wrote: 
 Does anyone know of a tool in CentOS 6 that can normalize a directory
 full of WAV files that I can install without hosing up my system?

My go-to tool for batch processing audio files is sox 
(http://sox.sourceforge.net/).  I have it installed on a CentOS 5 box, but it's 
been there so long I don't remember how I got it there (except I know I didn't 
build it from source).

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Google Chrome

2013-11-22 Thread Chris Beattie
On 11/21/2013 11:40 AM, Darr247 wrote:
 On 2013-11-21 @14:41 zulu, Wes James scribed:
 It is with the script on this page:

 http://chrome.richardlloyd.org.uk/
 
 Be aware some on this list consider that script criminal.

At what point does it become less hassle to spin up a virtual machine with a 
distro recent-enough to run the latest Chrome?  Virtualization is a wedge that 
puts more space between your rocks and your hard places.

Just for kicks, I downloaded a Chromium OS image and had it running in VMware 
Player in a few minutes.  It wasn't as snappy as a native install, but it was 
usable.  I could have signed in to Google and picked up my bookmarks if I'd 
wanted.

Having said that, I don't have any experience with either KVM or kidnapping 
libraries from other distros.  I don't know which is harder and/or more fun 
(depends on what you're looking to get out of the experience), but it might be 
an option.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Google Chrome

2013-11-22 Thread Chris Beattie
On 11/22/2013 11:29 AM, Phelps, Matt wrote:
 Most of us using CentOS/RHEL are in an enterprise environment where
 that sort of thing just isn't allowed.
 
 A supported, updated, secured version of chrome/chromium is essential
 for our CentOS environment, and I venture to guess many others'
 (including RHEL users).

What happens if there comes a time when Johnny's heavy wizardry isn't enough to 
keep Chrome running on CentOS?  Or if he just doesn't have time to do it?  The 
browser that you need won't run on the OS which you can't change.  You have a 
Kobayashi Maru scenario.  You can't win unless you can change the rules.

I do something similar, but in my case, I provide virtual machines loaded with 
older versions of Internet Explorer for QA testers.  The testers can't do any 
permanent damage to the VMs that the hypervisor won't fix when it reverts the 
VM after the tester logs off.  Meanwhile, the version of IE on the testers' 
main machines is kept up-to-date.

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [Nagios-users] ESXi/vCenter Monitoring

2013-08-12 Thread Chris Beattie
On 8/12/2013 4:04 PM, Daniel Ceola wrote: I did that, but it made the map a 
complete mess of lines that I couldn't
 make out.

Try check_cluster.  Check_cluster aggregates the status of individual ESX 
hosts.  The clusters here have three or four ESX hosts each.  If one ESX host 
in the cluster is offline, my check_cluster returns a warning.  If all but one 
are offline, I have it return a critical.  At that point, the engineers have 
more important things to worry about than individual guests.

I have a fake host for each cluster whose check_host_alive is the 
check_cluster command.  The guest VMs on each cluster have the fake host set as 
their parent.  The guests can move around all they want and I don't have to 
change anything.

When the engineers change the clusters by adding or removing ESX hosts, all I 
have to do is add or remove one ESX host check and update the check_cluster 
command.  I don't have to edit the list of parents for all the guest VMs, which 
is important, because we have more than a thousand of them.

--
-Chris
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
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] Misplaced advice in the Nagios preflight check?

2013-06-10 Thread Chris Beattie
On 6/7/2013 9:28 AM, C. Bensend wrote: 
 Not real sure why Nagios doesn't think that's a valid config - I
 want a contact that will receive only UNKNOWN alerts for services.

Have you tried giving that contact the extra options Nagios wants, and then 
defining a service escalation for that contact with the escalation_options 
directive set to u?

-- 
-Chris

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-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] Escalation issues

2013-05-06 Thread Chris Beattie
On 5/5/2013 11:29 PM, Alex wrote:
 I have also interval_length=60 in nagios.cfg. I don't understand why
 admins-escal isn't consulted after three consecutive attempts at
 communicating with the service. What am I doing wrong?

This is a silly question, but are there contacts who are members of the 
admins-escal group?  And do they have service_notification_options that overlap 
the ones defined in your escalation?

I haven't tried using templates for escalations yet.  Have you tried defining 
an escalation without using a template?

Does the config page for service escalations show anything?  The URL would end 
up being something like:
http://your_nagios_host/nagios/cgi-bin/config.cgi?type=serviceescalationsexpand=mailhost

-- 
-Chris

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
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 SELinx

2013-03-13 Thread Chris Beattie
On 3/13/2013 9:51 AM, Jonathan Gazeley wrote:
 The end result is a fairly permissive SELinux policy *for Nagios* but
 still far better than not having SELinux at all.

That's exactly what I did, too.  If it helps you get jump started, I 
ended up with a .te file that looks like this.  I don't run any of the 
popular Nagios add-ons except for Check_MK, so your mileage may vary.

module mynagios 1.0;

require {
type initrc_tmp_t;
type httpd_t;
type httpd_sys_script_t;
type initrc_t;
type ping_t;
type unlabeled_t;
type usr_t;
type var_lib_t;
class association recvfrom;
class dir { create setattr };
class fifo_file write;
class fifo_file getattr;
class file execute;
class file execute_no_trans;
class file { read write };
class sock_file write;
class unix_stream_socket connectto;
}

#= httpd_t ==
allow httpd_t usr_t:file execute_no_trans;
allow httpd_t usr_t:file execute;
allow httpd_t usr_t:fifo_file getattr;
allow httpd_t usr_t:fifo_file write;
allow httpd_t initrc_t:unix_stream_socket connectto;
allow httpd_t usr_t:sock_file write;
allow httpd_t var_lib_t:dir { create setattr };
#= unlabeled_t ==
allow unlabeled_t self:association recvfrom;
#= httpd_sys_script_t ==
allow httpd_sys_script_t usr_t:fifo_file write;
allow httpd_sys_script_t usr_t:fifo_file getattr;
#= ping_t ==
allow ping_t initrc_tmp_t:file { read write };
-- 
-Chris


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

Thank you.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] service escalations

2013-01-14 Thread Chris Beattie
On 1/14/2013 9:41 AM, julian_grunn...@tdwh.co.uk wrote:

 If the TCP check continues to fail the service escalation contact starts
 to get alerts but the actual contact for the defined service doesn't.

Try changing contacts me_at_home to contacts +me_at_home.

-- 
-Chris

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

Thank you.


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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] Notifications

2013-01-07 Thread Chris Beattie
On 1/3/2013 6:31 AM, Keith Edmunds wrote:
 In case it isn't clear: imagine three servers, alpha, bravo and charlie.
 Alpha and bravo are in the AB hostgroup; all three servers run Apache.
 If Nagios detects a problem with Apache on any of the servers, it should
 notify the apache-contact-group. If the problem is on alpha or bravo, it
 should also notify the ab-contact-group; however, if the problem is on
 charlie, the ab-contact-group should not be notified.

 Can Nagios do this?

Nagios is very flexible in this regard.

If your Apache service check definition contains a directive like 
contact_groups apache-contact-group, try changing it to 
contact_groups +apache-contact-group instead.  This signals Nagios to 
add the services's contact groups to the ones the service inherits from 
the host, rather than replace them.

See Implied Inheritance and Additive Inheritance here: 
http://nagios.sourceforge.net/docs/3_0/objectinheritance.html

-- 
-Chris

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

Thank you.


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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: [CentOS] yum vs. freenx

2012-12-19 Thread Chris Beattie
On 12/19/2012 4:22 PM, Les Mikesell wrote:
 need yet another way to connect - I'm looking for something to either
 improve my memory (unlikely...) or to keep the freenx package update
 from breaking the connection in progress when I forget and run it
 there.

How about a shell alias for yum which prints a reminder about FreeNX and 
waits several seconds before starting yum to give you a chance to CTRl-C 
it first?

Having the alias detect whether you're within a FreeNX session before 
actually running yum would be a neat trick, but is beyond my ability to 
script (if it's even possible).

-- 
-Chris
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[Nagios-users] Are macros allowed inside custom variables?

2012-08-29 Thread Chris Beattie
Are macros allowed to be used inside custom variables?  I'm using Nagios 
3.2.3.  I was experimenting with using custom variables in host 
definitions for clusters.  I couldn't figure out if there was a way to 
make this work.

It didn't seem to matter how I escaped the $s or not, whether I used 
$_hostwarn$ or just $_warn$, or if I defined new commands with the 
custom variables in place of $ARGn$.

I already have cluster checks which don't use custom variables and work 
fine, and other service checks which use custom variables from the host 
for parameters and also work fine.

One of my working cluster checks returns this:
CLUSTER OK: dmz_cluster_1: 3 ok, 0 warning, 0 unknown, 0 critical

However, I set up another check for the same cluster using custom 
variables, and it returns this instead:
CLUSTER CRITICAL: dmz_cluster_1_foo: 1 ok, 0 warning, 0 unknown, 0 critical

Here's an example of what I was trying to accomplish:

define host {
use esx-server
nameesx-cluster
host_groups esx_clusters
check_command   check_cluster!host!@$_warn$:!@$_crit$:!$_hostcluster$
register0
}

define host {
use esx-cluster
host_name   esx_cluster_1
alias   esx_cluster_1
parents parent1,parent2,parent3
_warn   1
_crit   2
_hostcluster 
$HOSTSTATEID:parent1$,$HOSTSTATEID:parent2$,$HOSTSTATEID:parent3$
_servicecluster 
$SERVICESTATEID:parent1:Ping$,$SERVICESTATEID:parent2:Ping$,$SERVICESTATEID:parent3:Ping$
}

define service {
use standard_service
host_name   esx_cluster_1
service_description cluster_health
display_namecluster_health
check_command   
check_cluster!service!@$_warn$:!@$_crit$:!$_servicecluster$
}

define command {
command_namecheck_cluster
command_line$USER1$/check_cluster --$ARG1$ --label=$HOSTNAME$ 
--warning=$ARG2$ --critical=$ARG3$ --data=$ARG4$
}


-- 
-Chris

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

Thank you.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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: [Check_mk (english)] Pass fast startup options to Nagios?

2012-08-28 Thread Chris Beattie

On 8/27/2012 1:44 PM, Dale Stubblefield wrote:

Just out of curiosity - how long is it taking your pre-flight checks to
occur when your Nagios daemon restarts?  On one of my Nagios instances,
I have around 70,000 services and it generally takes about two minutes
for Check_MK to regenerate all of the files when I run 'cmk -R'.


I have 1,300 hosts and almost 13,500 services, and 'cmk -R' takes a few 
seconds over 1'30.  However, if I restart only Nagios (that is, when I 
haven't changed anything I have configured in Check_MK) with 'service 
nagios stop  /usr/local/nagios/bin/nagios -xd 
/usr/local/nagios/etc/nagios.cfg', it takes only two seconds!


Ideally, I'd like to figure out a way to get Nagios to reload its config 
files without the circular path check.  That would be even faster and 
avoid the possibility of ending up with two instances of Nagios running 
at the same time.


I think Michael's suggestion to modify the init script is a good one.

--
-Chris

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

Thank you.

___
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


Re: [CentOS] KVM as a desktop

2012-08-28 Thread Chris Beattie
On 8/28/2012 11:12 AM, Les Mikesell wrote:
 I like to use freenx to host the desktop and the NX client to display
 it.  That should work regardless of whether the desktop is a VM or not
 and regardless of the OS or location of the display - and it wouldn't
 surprise me if it performs better than whatever the built-in KVM
 mechanism uses.   Even if you normally work locally, you may find it
 handy to be able to pick up the display from elsewhere with everything
 still running and have good performance.

Seconded.  I use freenx, too.  For me, it provides a better experience 
than VNC, Radmin, RDP, PCoIP (even on a zero client device), and 
whatever VMware uses when you open a console in vSphere Client.  That 
goes for speed and smoothness of display updates and even just copying 
and pasting text into the remote machine.


-- 
-Chris

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

Thank you.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[Check_mk (english)] Pass fast startup options to Nagios?

2012-08-27 Thread Chris Beattie
Is there a way to pass the fast startup options to Nagios when using 
check_mk?


I use a hybrid of both check_mk and Nagios' traditional configuration 
files.  I also use a separate server to develop and test my monitoring 
configuration, so my config files have always passed Nagios' preflight 
checks before they go into production.


I already use the --reload option when calling check_mk to save time, 
but I could save even more if I could pass the -u and especially the -x 
options to Nagios.

--
-Chris

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

Thank you.

___
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


[Nagios-users] Strategies for coping with self-DOS?

2012-08-23 Thread Chris Beattie
Where I work, the server engineers want Nagios to notify them fairly 
quickly when a problem develops.  During the day, the settings are fine. 
  Recently, however, the nightly backups and scheduled antivirus scans 
began causing enough load that monitored hosts to become briefly 
unavailable, but still long enough that Nagios sends notifications that 
make it to their pagers.

What are some of the strategies you use to deal with this?

The last time I dealt with this, I had two service template files, which 
specified different max_check_attempts and retry_intervals for day and 
night.  I used a cron job to copy the appropriate template file to a 
name Nagios was configured to load, and restart Nagios.

As we upgraded things, the problem went away, so I ditched that setup. 
It always seemed like a kludge.  Scheduled reboots just smell like 
failure to me and they don't scale well if you have multiple thousands 
of hosts and services.  Well, our server estate has continued to expand 
and now we're back to committing own-goals with the midnight pages.

This time, I'm thinking about defining escalations with different 
timeperiods, but I'm curious to find out what other approaches have been 
successful.

Thanks!
-- 
-Chris

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

Thank you.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Monitoring Distributed Resource

2012-08-09 Thread Chris Beattie
On 8/8/2012 5:57 PM, Andreas M. Iwanowski wrote:
 So as I understand, if I define a parent-child relationship between
 the VPN services (or core gateways) on the parent side and the remote
 gateway on the other side, the remote gateway will be checked (and we
 notified) as long as one core gateway is online?

This is how I picture your setup:

 core_gw_1
Nagios- -remote_gw-remote_host
 core_gw_2

If you put parents core_gw_1,core_gw_2 in remote_gw's host 
definition and parents remote_gw in the remote_host's definition, then 
as long as Nagios thinks either core_gw is up, it should continue 
checking remote_gw and remote_host behind it.

 And since the remote hosts all depend on the remote gateway, they should
 inherit that behavior. Correct?

When you say depend, do you mean a host dependency as in you've got a 
define hostdependency {... somewhere?  That's more advanced than what 
I'm talking about, and those dependencies are NOT inherited.  You'd have 
to define one for every host.

Defining parent/child relationships is a simple way to describe to 
Nagios the network's layout, specifically for determining if a host can 
be reached.  If remote_host_1's parent is remote_gw and you copy 
remote_host_1 when you add remote_host_2, then remote_host_2 will also 
have remote_gw as a parent.

 I don't think the check_cluster would work since the host services are
 checked via nrpe running custom php monitoring scripts on the machines,
 but I'll check it out tomorrow at the office anyways.

Check_cluster is a meta-check.  It doesn't perform the component service 
or host checks itself.  Instead, it examines the results of the checks 
that Nagios is already performing.  Now that I think about it some more, 
it's probably overkill for this case.


-- 
-Chris

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

Thank you.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Monitoring Distributed Resource

2012-08-08 Thread Chris Beattie
On 8/7/2012 8:33 AM, Andreas M. Iwanowski wrote:
 I.e. if the primary gateway goes down and the standby takes over, I
 would still like to be notified about host troubles behind the VPN. Only
 if both were to be down nagios should stop sending messages.

Would setting parent/child relationships, and maybe using the 
check_cluster plugin help you?

I have two network core switches.  Every physical host on the network 
has both of those two core switches defined as a parent in Nagios. 
Nagios will continue to check everything as long as at least one of 
those two switches is up.

I did something similar with check_cluster.  To monitor a VMware ESX 
cluster comprising three ESX hosts, I defined a Nagios host for each ESX 
host.  There is another Nagios host to represent the cluster whose host 
check is a check_cluster command.  Every guest has the cluster defined 
as its parent.  If one ESX host goes down, the cluster goes into a 
warning state.  If two or more ESX hosts go down, the cluster enters a 
critical state.

The guests may all have migrated onto the still-running ESX host and 
might still be up, but the monitoring of individual guests can take a 
back seat at that point.

-- 
-Chris

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

Thank you.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Derive service settings from hosts definition

2012-08-01 Thread Chris Beattie
On 7/31/2012 11:24 AM, David Fulton wrote:
 Also keep in mind you can use user defined host based macros that can
 be defined in the templates to make parameters to the service checks
 inherited from the host as well.

I've been using Nagios since it was Netsaint and never figured out what 
I could use custom variables for, until your post.  I just cut 40 lines 
out of my services.cfg file without even trying hard.  Thanks!

-- 
-Chris

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

Thank you.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Derive service settings from hosts definition

2012-07-31 Thread Chris Beattie
On 7/30/2012 2:31 PM, Vladislav Staroselskiy wrote:
 Is there any way to derive certain service options from the host definition? 
 Is there any default inheritance behavior for it?
...
 I really wish, service notification/contact options could be derived from 
 hosts definitions to avoid this mess. If anyone has a
 suggestion on how to better organize it, I would also appreciate your 
 feedback.

Nagios does almost exactly that, except for the enabling or disabling of 
notifications.

Services will inherit their contact_groups, notification_interval, and 
notification_period from their associated host if those three directives 
are not set in the service's definition.

Search for implied inheritance down the page here:
http://nagios.sourceforge.net/docs/3_0/objectinheritance.html

Also, you can use a + sign to signal additive inheritance, which comes 
in handy if you want to modify an implied inheritance without replacing 
it.  It's explained directly above implied inheritance on that page.

-- 
-Chris

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

Thank you.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Differentiate receivers based on alert severity?

2012-07-30 Thread Chris Beattie
On 7/30/2012 5:20 AM, Ruslan Valiyev wrote:
 Does it mean I have to create two different service templates and
 specify my emails there?

No, you can have just one template for service check if you like.  You 
determine what kinds of notifications a contact can receive with the 
service_notification_options directive in the contact definition.  You 
just make two contact definitions with different notification options.

Where I work the system administrators receive warning, critical, and 
recovery notifications via e-mail.  Each of those guys has a separate 
contact defined for his pager, which is set to receive only critical and 
recovery.

Also, you may want to check out service escalations as a flexible way of 
adding more recipients to a notification.  If the system administrators 
here sleep through the first two notifications, their manager will start 
receiving them as well!

-- 
-Chris

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

Thank you.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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: [CentOS] Failing Network card

2012-06-20 Thread Chris Beattie
On 6/20/2012 9:34 AM, Gregory P. Ennis wrote:

 I have been chasing a problem with a pci-e TrendNet(TEG-ECTX) gigabit
 card.  After adding the card to a machine with a new Centos 6.2 install
 and naming it 'eth4' it works well for 6 to 12 hours and then fails.

Try moving the network card to a new slot, especially if you can swap 
the network card with another card which is known to work.  Also, try 
swapping the card into a spare server.

If the problem follows the network card, then the card is probably bad. 
  If a known-good card misbehaves in the slot where you previously had 
the network card, then the slot may be bad as well.

-- 
-Chris

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

Thank you.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bug in Latest Adobe Flash Plugin

2012-06-20 Thread Chris Beattie
On 6/20/2012 12:31 PM, Keith Roberts wrote:

 Is there not a free alternative to Adobe's flash plugin
 please?


I haven't tried them myself, but I think both Gnash and Lightspark aim 
to be open source replacements for Adobe Flash.  I think one of them 
even works well enough to play YouTube video.

-- 
-Chris

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

Thank you.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[Check_mk (english)] 1.2.0p1 is working for me

2012-06-07 Thread Chris Beattie

Thank you!

--
-Chris

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

Thank you.

___
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


Re: [Check_mk (english)] command bug in 1.2.0b4

2012-05-31 Thread Chris Beattie

On 5/24/2012 3:40 PM, Andreas Döhler wrote:

this bug is now fixed in the actual GIT version


1.2.0b5 came out before I could get it from GIT.  It is working for me 
now.  Thank you!


--
-Chris

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

Thank you.

___
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


Re: [Check_mk (english)] command bug in 1.2.0b4

2012-05-24 Thread Chris Beattie

On 5/24/2012 8:21 AM, Lander, Scott wrote:

This seems to be a recent problem, since my update to 1.2.0b4. I have a


I noticed the same thing when I jumped from the last stable version to 
1.2.0b2, so the bug exists at least that far back.


--
-Chris

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

Thank you.

___
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


Re: [Nagios-users] Nagios implied and additive inheritance

2012-03-26 Thread Chris Beattie
On 3/26/2012 2:04 PM, Jim Winkle wrote:
 I'd like to set up Nagios so that:
 1) In general, contact_groups for a host are notified about problems with the 
 host and any service on the host.
 2) Occasionally, we'd like other contact_groups to be notified about problems 
 with certain services on the host.

 Am I misunderstanding the documentation?  Is this possibly a bug?

I couldn't get it to work that way, either.  Instead, I defined a 
service escalation that activates on the first notification.  Something 
like this might work:

define serviceescalation {
host_name   linux-server
service_description 1_proc_sshd
contact_groups  management
first_notification  1
last_notification   0
escalation_options  w,c,r
}

I assign services to hosts with hostgroups, so I have a hostgroup_name 
in my escalation definition instead of just a host_name.

-- 
-Chris

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

Thank you.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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] one shot check at specific time of day

2012-03-21 Thread Chris Beattie
On 3/21/2012 6:13 AM, Marki wrote:
 Hi people,

 I have problems defining a check so that it only runs once each day (at a
 specified time).

If setting the check_period doesn't work out and you can tolerate the 
check being run more often, you can set the notification_period to a 
smaller time period instead.  The state shown in the web interface will 
be more up-to-date, which may be different from the last notification 
sent out.

For example, I get notified of expiring SSL certificates once per day, 
starting a month before they actually expire.  If I replace an expiring 
certificate, the web interface will let me know if the replacement was 
successful without having to wait until tomorrow to find out.

-- 
-Chris


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

Thank you.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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] Parent/Child relationship for HV/VM

2012-01-04 Thread Chris Beattie
On 1/4/2012 5:11 AM, Jim Avery wrote:
 Another advantage is if you add or remove host servers to the cluster
 you only need to change the one host definition.

 You could use check_cluster as the host check for your fake host, then
 its status would be meaningful too.  I'll have a go at doing that
 myself when I get a minute.

Yes, that is what you want to do.  It's what I did.

First, make sure you've defined all your VM hosts.  The check_cluster 
command will collate their states to determine the cluster's state.

Then, define a command to check your clusters.  This one can check hosts 
or services, depending on what you pass for $ARG1$.

-
define command {
#
# $ARG1$ is either host or service
#
command_namecheck_cluster
command_line$USER1$/check_cluster --$ARG1$ --label=$HOSTNAME$ 
--warning=$ARG2$ --critical=$ARG3$ --data=$ARG4$
}
-

Next, define a host to represent your cluster.  I pass host as $ARG1$. 
  I set a warning if one is not-OK and critical if two or more are 
not-OK.  I don't recall where I saw the use of the @ and : documented in 
defining thresholds, but I seem to recall that without the or more 
part the check will do something odd when a third VM host goes down.

-
define host {
use generic-server
host_name   cluster_1
alias   cluster_1
parents foo1,foo2,foo3,foo4
check_command 
check_cluster!host!@1:!@2:!$HOSTSTATEID:foo1$,$HOSTSTATEID:foo2$,$HOSTSTATEID:foo3$,$HOSTSTATEID:foo4$
}
-

I also define a service check for the cluster so I don't run into 
service-less hosts not showing up on Nagios' web pages.

-
define service {
use standard_service
host_name   cluster_1
check_command 
check_cluster!service!@1:!@2:!$SERVICESTATEID:foo1:Ping$,$SERVICESTATEID:foo2:Ping$,$SERVICESTATEID:foo3:Ping$,$SERVICESTATEID:foo4:Ping$
}
-


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

Thank you.


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
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 on CentOS

2011-12-27 Thread Chris Beattie
On 12/27/2011 9:31 AM, Jatin wrote:
 Fedora. I wanted to know if i can follow the same steps for installing
 Nagios on CentOS assuming that i have a default CentOS installation.

Yes.  I used the Fedora instructions to install Nagios on CentOS myself. 
  It has been a while since I did it, though.  The only snag I remember 
having was forgetting to install some packages like openssl-devel and 
net-snmp-devel before compiling the plug-ins.

 Also let me from which version of CentOS would it be good to install the
 latest Nagios.

I have not installed the latest version of Nagios or CentOS yet.  I am 
still running Nagios 3.2.3 on CentOS 5.x, both of which have been 
working like champs for many versions so far.




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

Thank you.


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
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] 'unreachable' question

2011-12-09 Thread Chris Beattie
On 12/9/2011 8:52 AM, Boyer, Timothy A. wrote:
 We’re trying to filter out some flaky services giving us too-frequent
 ‘No data was received from host’. Will removing ‘u’ from
 notification_options eliminate this, or are they two different things?

Have you got flap detection enabled?  Nagios can temporarily suppress 
notifications for a host or service if it changes states too frequently, 
and automatically re-enable them when the host or service calms down.

If you prefer to just use a bigger hammer, you can increase the 
service's max_check_attempts and hope one comes back OK.


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

Thank you.


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
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 Web Interface does not notify when nagios service is killed!

2011-10-31 Thread Chris Beattie
On 10/28/2011 6:25 PM, Jim Avery wrote:

 running and emails or SMSs you if it isn't. The check_snmp_process
 plugin could be useful for that task.
 http://nagios.manubulon.com/snmp_process.html

I'm echoing everything Jim said.  I cannot remember if Nagios has ever 
crashed on me.  I do restart (rather than just reload the config files) 
it on a fairly regular basis, though, as I get asked to make changes.

Do you know how the process is being terminated?  Any clues in the 
system logs?

I use a system very much like Jim describes to provide failover 
redundancy, but I use the stock check_nagios plugin running over ssh. 
The check_nagios plugin also monitors the age of the status file to 
ensure Nagios has written fresh data.


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

Thank you.


--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World#153; now supports Android#153; Apps 
for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-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] Unable to verify config - no line number given for error

2011-08-23 Thread Chris Beattie
Samuel Kidman wrote:
 
 prl@PR-PRO-CR-NAG02:~/host-config/finished-lists$ sudo 
 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios-master-test.cfg
 
 
Error processing object config files!

I have a hunch the problem's in nagios-master-test.cfg.  Do you have a 
backup of that file from before the last time you modified it, or have a 
known-good nagios-master.cfg file you can compare it to? Or the 
example bone-stock nagios.cfg?

You're using a newer version of Nagios than I am, too.  A while back I 
realized I'd been migrating an ancient nagios.cfg for too long.  My old 
file contained deprecated settings and was completely missing new 
settings, so that might be something else to check for.

-- 
-Chris

--


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

Thank you.


--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-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] Override service notification time

2011-08-08 Thread Chris Beattie
David Wilkinson wrote:

 Will I have to duplicate service config so I can change the notification 
 period or can I have it set on a per host basis and have that override 
 what is set in the service template?

You can set it on a per-host basis.  If you do not define a notification 
timeperiod in a service's template or definition, the service will 
inherit its notification timeperiod from its associated host.

Check out the section on implied inheritance here:
http://nagios.sourceforge.net/docs/nagioscore/3/en/objectinheritance.html

I have separate host templates for my development and production servers 
which have different notification timeperiods, and one set of service 
definitions associated with both types of hosts.

-- 
-Chris

--


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

Thank you.


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
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] Service escalations without contacts or groups defined on the services themselves

2011-07-06 Thread Chris Beattie
Kevin Kenny wrote:
 I find this a convenient configuration because it means I don't have to 
 explicitly define contacts or contact groups at either the service 
 template or service check itself and makes management somewhat simpler.

Well, that's one way to do it, but...

 Despite the warnings, and even though this configuration works just 
 fine, is it recommended?

...I can't recommend it, personally.  It may work for you now, but it 
won't scale up.  I have over a thousand hosts and ten thousand services. 
  My preflight check has to be clean, or I would miss one new 
configuration warning as ten thousand preventable warnings scrolled past.


-- 
-Chris

--


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

Thank you.


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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: [Check_mk (english)] ntp.time agent timeouts

2011-05-17 Thread Chris Beattie
I had the same problem John did.  I had configured NTP on the virtual machines 
guided by VMware's best practices.  That got the time straightened out, but I 
had one busy server which was just a bit slow doing anything (including running 
ntpq).  I got a lot of flapping and no system peer alerts for the NTP Time 
check.

I bumped the timeout up a few seconds per Dale's instructions, and my problem 
disappeared immediately.

Thank you!

-Original Message-
From: checkmk-en-boun...@lists.mathias-kettner.de 
[mailto:checkmk-en-boun...@lists.mathias-kettner.de] On Behalf Of Dale 
Stubblefield

It is possible to extend the amount of time that the check_mk-agent waits on 
ntpq.

On Sun, May 15, 2011 at 5:12 AM, John Read john.r...@newnet-marketing.de 
wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 we monitor around 30 servers with check_mk (1.1.10p2)  and 5 of them 
 intermittently return UNKNOWN - no system peer found for the 
 ntp.time service.

 
___
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


Re: [Nagios-users] recurring downtime

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

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

My services.cfg contains this:

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

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

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

-- 
-Chris

--


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

Thank you.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] how to check scheduler task in windows

2011-04-27 Thread Chris Beattie
ali abatourab wrote:
 
 please i need help for checking my scheduler task in windows with nagios 
 , like task start ,task error 

You can check Windows scheduled tasks if you use the NSClient++ agent.

http://www.nsclient.org/nscp/wiki/CheckTaskSched/CheckTaskSched

In the monitored host's nsc.ini file, enable at least the 
NRPEListener.dll and the CheckTaskSched.dll.  Then add in the [External 
Alias] section something like this:

alias_checktasksched=CheckTaskSched +filter-exit-code==0 ShowAll 
MaxWarn=1 MaxCrit=2

Then add a command like this to Nagios' command.cfg:

define command{
command_namecheck_task_sched
# Can only be used with nsclient++ and the right NSC.ini
command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c 
alias_checktasksched
}

Then you can create a service check or template in Nagios and assign 
that to the monitored host in your preferred way.

-- 
-Chris

--


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

Thank you.


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
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] Persistent WAP Acknowledgements

2011-03-25 Thread Chris Beattie
I noticed that acknowledgements submitted through Nagios' WAP interface
are set as persistent.  However, they're not set that way by default if
you use the regular web interface.  The command description box reads
like the option is not selected by default.

 

I'm not a C programmer, but I dug around anyway.  The lines in
statuswml.c containing postfield name='persistent' value=''/ show up
that way if I look at the WAP page's source and it looks like that gets
submitted to cmd.cgi.  If I look at cmd.c, persistent_comment gets
initialized to false.  Then it looks like the comparison in lines
458-459 reset it to true somehow if cmd.cgi was called by WAP.

 

Incidentally, it looks like cmd.c line 984 is missing an angle bracket
(INPUT TYPE='checkbox' NAME='persistent' %s) if you compare it to
line 958 (INPUT TYPE='checkbox' NAME='persistent' %s)

 

I'm running Nagios 3.2.3 compiled from source on a 64-bit CentOS 5.5
box.

 


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

Thank you.
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
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] define service with multiple contactgroups

2011-03-21 Thread Chris Beattie
Check out the documentation's section on implied inheritance.  It might let you 
do what you want:

http://nagios.sourceforge.net/docs/3_0/objectinheritance.html

Services can inherit their contact_groups from their associated host 
definition.  You do this by *not* assigning a contact_group in the service 
definition.

-Original Message-
From: Axel Rosenski [mailto:rosen...@wave-computer.de] 
Sent: Monday, March 21, 2011 3:51 PM

I'd like to  create *one* service definition which I can use to alert different 
contact_groups depending on the hostgroup the server belongs to. I'd like to 
contact different teams for our windows and linuxserver. 

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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 Alert Format?

2011-02-17 Thread Chris Beattie
Engelmann, Austin wrote:
 notification type to be on the MSG: line. In my command, the 
 notification type always gets place on the next line.

It looks like FRM:, SUBJ:, and MSG: are being added by your phone. 
  Those words do not appear in your command.  You can verify this by 
setting your pager address as your regular e-mail address.

Here is the command I use:
define command{
 command_namenotify-by-epager
 command_line/usr/bin/printf %b $HOSTNAME$/$SERVICEDESC$ 
is $SERVICESTATE$\n$SERVICEOUTPUT$\n$SHORTDATETIME$ | /bin/mail -s 
$NOTIFICATIONTYPE$: $HOSTNAME$/$SERVICEDESC$ $CONTACTPAGER$
}

And here is a page, sent to a regular e-mail client:

From: nagios@domain [mailto:nagios@domain]
Sent: Thursday, February 17, 2011 2:46 PM
To: Chris Beattie
Subject: PROBLEM: servername/Disk: F

servername/Disk: F is WARNING
F:\ - total: 399.99 Gb - used: 342.71 Gb (86%) - free 57.27 Gb (14%)
02-17-2011 14:46:02

-- 
-Chris

--


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

Thank you.


--
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] Missing notifications?

2011-01-03 Thread Chris Beattie
Mister IT Guru wrote:

 I guess the bottom line is, why are acknowledgment emails being sent, 
 but not warnings, and criticals?

What are host_notification_options and service_notification_options set 
to in your contact definition?


-- 
-Chris

--


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

Thank you.


--
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] Has anyone written plugin to monitor IIS App WorkerProcess Size ?

2010-12-30 Thread Chris Beattie
James Whittington wrote:
 I’m running NSClient++ on some of my web servers and I was looking for 
 ideas on how you might monitor IIS worker process size.

Could you use check_nt -v COUNTER and check on the Process(w3wp)\Virtual 
Bytes and \Process(w3wp)\Working Set performance counters?  I don't know 
if that will provide sufficient resolution into your worker processes, 
but you could do it with what you've already got.

-- 
-Chris

--


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

Thank you.


--
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] Scheduling Queue stucked a few minutes afterrestart

2010-12-30 Thread Chris Beattie
Maurizio Pinotti wrote:
 hi Chris, thanks for your reply.. I just upgraded to nagios 
 3.2.1-2~bpo50+1, but
 nothing has changed :'(

Bummer.  I wonder if the package's nagios.cfg file is different from the 
stock one.

I was using an old nagios.cfg file for a while.  It turned out there 
were new settings in the stock nagios.cfg that I had never integrated 
into mine.  Making my nagios.cfg more like stock didn't fix the problem 
I was having, but it did at least reduce my deviation from a known-good 
config.

-- 
-Chris

--


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

Thank you.


--
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] Scheduling Queue stucked a few minutes after restart

2010-12-28 Thread Chris Beattie
Maurizio Pinotti wrote:
 I have a really odd issue running Nagios: a few minutes after starting the
 scheduling queue seems to freeze and no more active checks are performed. The
 queue remains stucked for hours until I have to manually restart Nagios.
 
 I'm running Nagios 3.0.6 (deb package) on a Debian lenny system. The harware 
 is

I think that is a bug in that version of Nagios.  I had the same 
problem.  It got fixed, but I still go look at my service checks every 
morning to make sure.  Also, I see where the server guys acknowledge 
problems and then forget about them, heh heh.

There is a much newer version of Nagios available in lenny-backports.  I 
would give it a shot if you can.

http://packages.debian.org/source/lenny-backports/backports/nagios3

-- 
-Chris

--


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

Thank you.


--
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] monitoring windows event viewer.

2010-12-28 Thread Chris Beattie
Toonz IT wrote:
 Is it possible to monitor specific event ids like disk error, fro 
 windows event viewer logs??

Yes, but you may have to use the NSClient++ agent on your Windows boxes 
and create custom commands to do it.

http://nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog

Unfortunately, I deleted the Windows event log checks after I didn't 
need them any more, so I don't have a working example configuration to 
show you.


-- 
-Chris

--


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

Thank you.


--
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] check_smtp doesn't support TLS?

2010-12-27 Thread Chris Beattie
tal...@gmail.com wrote:
 I'm trying to setup the check_smtp plugin for a remote mail server. I 
 downloaded the latest version of nagios-plugins, built and installed 
 it. This is what I get when I invoke check_smtp from the command line 
 (actual data removed) -

 received 530 5.7.0 Must issue a STARTTLS command first

 I'm including the -S flag for it to use TLS. I couldn't see any other 
 options that might be relevant. Any pointers?
I had something similar happen to me with SSL once.  I compiled and 
installed the plugins, but I could not get SSL to work for the 
check_http command.  I had installed the openssl package, but I had 
forgotten to install the openssl-devel package before I compiled the 
plugins.

When you ./configure the plugins, does it say --with-gnutls: no at the 
end?  You may have to install the gnutls-devel package first.

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

Thank you.


--
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] re-enable all notifications on hosts services

2010-12-27 Thread Chris Beattie
Mark A. Lappin wrote:
 interface for hosts and all services on hosts.  Dozens it seems.  Is 
 there an easy way to turn all notifications back on for all services and 
 all hosts in one fell swoop?  We had a lot of htem turned off while we 

You can use Nagios' external commands to do that.

http://old.nagios.org/developerinfo/externalcommands/commandlist.php

If I didn't have to be too careful, I'd do something like this 
(apologies for the line wrapping):

#!/bin/sh

now=`date +%s`
commandfile='/usr/local/nagios/var/rw/nagios.cmd'
statusfile='/usr/local/nagios/var/status.dat'

for i in `grep host_name $statusfile | sort --unique | sed 
s/\thost_name=//`
do
/bin/printf [%lu] ENABLE_HOST_NOTIFICATIONS;$i\n $now  $commandfile
/bin/printf [%lu] ENABLE_HOST_SVC_NOTIFICATIONS;$i\n $now  
$commandfile
done

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

Thank you.


--
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] Set notification periods for services from hostentry?

2010-12-09 Thread Chris Beattie
On Wed, 2010-12-08 at 15:41 -0500, chris burgess wrote:
 Is there a way to override the service notification period by setting
 it in the hosts entries? (this is what I expected to do, but it seems
 the service takes precedence)

You're on the right track, but facing backwards.  If you set a
timeperiod in your service object definition, it will override the
timeperiod set for that service's host object.  If you do *not* set the
timeperiod on a service, it will inherit it from its host object.

Check out the section on Implied Inheritance here:

http://nagios.sourceforge.net/docs/3_0/objectinheritance.html


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

Thank you.


--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-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


Re: [Nagios-users] Nagios Core 3.2.3 host check retry interval

2010-12-01 Thread Chris Beattie
On Fri, 2010-11-19 at 11:20 -0500, Chris Beattie wrote:
 
 This time I'm trying a nearly-stock nagios.cfg file.  The one I've
 been 
 using predates Nagios 3.0.  Though it's been updated some, it doesn't 
 contain all the more-recent settings.

I was out of town for a bit.

This is still happening, but not all the time.  Most of the host checks
happen 70 seconds apart, but the too-closely spaced ones are usually 20
seconds apart. I don't know how long this has been the case.  It turns
out it doesn't usually result in a notification, so nobody's
complaining.

[11-30-2010 17:13:03] SERVICE ALERT: bgcprodiceweb4d;Service:
ScaleOut;CRITICAL;SOFT;1;SOSS: Not found
[11-30-2010 17:14:33] SERVICE ALERT: bgcprodiceweb4d;Service:
AntiVirus;WARNING;SOFT;1;No data was received from host!
[11-30-2010 17:14:43] HOST ALERT: bgcprodiceweb4d;DOWN;SOFT;1;CRITICAL -
10.3.54.208: rta nan, lost 100%
[11-30-2010 17:15:03] HOST ALERT: bgcprodiceweb4d;UP;SOFT;2;OK -
10.3.54.208: rta 33.504ms, lost 0%


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

Thank you.


--
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] Nagios Core 3.2.3 host check retry interval

2010-11-18 Thread Chris Beattie

On Tue, 2010-11-16 at 22:52 +0100, Andreas Ericsson wrote:
 That one was in 3.2.2 too though. Could you try un-commenting the lines
 mentioned there and see if that helps?

It looks like something weird is still happening after making that
change.  I checked some more hosts and the retry_interval is low, but
only for HOST UP alerts.


[11-18-2010 01:23:31] SERVICE ALERT: hcsprodnwweb5;Service:
Epilog;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds
[11-18-2010 01:23:41] HOST ALERT: hcsprodnwweb5;DOWN;SOFT;1;CRITICAL -
10.3.2.177: rta nan, lost 100%
[11-18-2010 01:24:01] HOST ALERT: hcsprodnwweb5;UP;SOFT;2;OK -
10.3.2.177: rta 1.943ms, lost 0%

[11-18-2010 01:32:51] HOST ALERT: wwwhost;DOWN;SOFT;2;CRITICAL -
10.3.1.11: rta nan, lost 100%
[11-18-2010 01:34:02] HOST ALERT: wwwhost;DOWN;HARD;3;CRITICAL -
10.3.1.11: rta nan, lost 100%
[11-18-2010 01:34:21] HOST ALERT: wwwhost;UP;HARD;1;OK - 10.3.1.11: rta
115.733ms, lost 20%


But sometimes it works the way I expect it to.


[11-18-2010 01:38:41] HOST ALERT: wwwhost;DOWN;SOFT;2;CRITICAL -
10.3.1.11: rta nan, lost 100%
[11-18-2010 01:39:51] HOST ALERT: wwwhost;DOWN;HARD;3;CRITICAL -
10.3.1.11: rta 488.367ms, lost 80%
[11-18-2010 01:49:21] HOST ALERT: wwwhost;UP;HARD;1;OK - 10.3.1.11: rta
31.928ms, lost 0%


I'm going to try reverting back to Nagios 3.2.1 to see what happens.
It's possible I had the problem then but never noticed.

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

Thank you.


--
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] Nagios Core 3.2.3 host check retry interval

2010-11-17 Thread Chris Beattie

On Tue, 2010-11-16 at 22:52 +0100, Andreas Ericsson wrote:

 http://git.op5.org/git/?p=nagios.git;a=commitdiff;h=1149d275011d7c4d8631b44dbba30ebdb4d7e83f
 
 That one was in 3.2.2 too though. Could you try un-commenting the lines
 mentioned there and see if that helps? I won't revert that patch, but it

Thanks for the help.  So I can make sure I've correctly done what you
asked, this is what I did.  I removed lines 1415 and 1419 below from
checks.c, then did a make clean, make all, make install, and restarted
Nagios.

1414:/* Below removed 08/04/2010 EG -
http://tracker.nagios.org/view.php?id=128 */
1415-/*
1416-temp_service-state_type=HARD_STATE;
1417-temp_service-last_hard_state=temp_service-current_state;
1418-temp_service-current_attempt=1;
1419-*/

If that's right, I'll keep an eye on the frequency of our host alerts
and see what happens.

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

Thank you.


--
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


[Nagios-users] Nagios Core 3.2.3 host check retry interval

2010-11-16 Thread Chris Beattie
I noticed something curious.  It looks like Nagios 3.2.3 is making
on-demand host checks faster than the retry_interval should allow.  The
interval_length is set to 60 and the retry_interval is set to 1.  Nagios
and the plugins were compiled from source on CentOS 5.5 x64.

 

I'm not sure if this is related to Yu Watanabe's problem
(http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg34042
.html) because I didn't start having it until after I upgraded to 3.2.3.

 

Here are some alerts from October when I was running Nagios 3.2.1.
There were service alerts too, but the host checks do not occur less
than one minute from each other:

 

--

[10-10-2010 06:41:29] HOST ALERT: wwwhost;UP;HARD;1;PING
OK - Packet loss = 0%, RTA = 50.10 ms

[10-10-2010 06:28:40] HOST ALERT:
wwwhost;DOWN;HARD;3;PING CRITICAL - Packet loss = 100%

[10-10-2010 06:27:29] HOST ALERT:
wwwhost;DOWN;SOFT;2;PING CRITICAL - Packet loss = 100%

[10-10-2010 06:26:19] HOST ALERT:
wwwhost;DOWN;SOFT;1;PING CRITICAL - Packet loss = 100%

--

 

Here's some from earlier this month, after I'd switched from check_ping
to check_icmp.  Again, there were service alerts, but the host checks
are still about a minute apart:

 

--

[11-07-2010 21:55:53] HOST ALERT: wwwhost;UP;SOFT;2;OK - 10.3.1.11: rta
4.480ms, lost 0%

[11-07-2010 21:54:43] HOST ALERT:
wwwhost;DOWN;SOFT;1;CRITICAL - 10.3.1.11: rta nan, lost 100%

--

[11-09-2010 23:40:15] HOST ALERT: wwwhost;UP;SOFT;2;OK - 10.3.1.11: rta
1.018ms, lost 0%

[11-09-2010 23:39:15] HOST ALERT: wwwhost;DOWN;SOFT;1;CRITICAL -
10.3.1.11: rta 650.987ms, lost 80%

--

 

On November 12th, I upgraded to Nagios 3.2.3 and the 1.4.15 plugins, and
got this later that evening.  The host checks were only about 20 seconds
apart:

 

--

[11-12-2010 23:46:43] SERVICE ALERT: wwwhost;Counter: IIS Web
Connections;OK;SOFT;2;Web Sessions: 2

[11-12-2010 23:45:14] HOST ALERT: wwwhost;UP;SOFT;2;OK - 10.3.1.11: rta
0.985ms, lost 0%

[11-12-2010 23:44:53] HOST ALERT: wwwhost;DOWN;SOFT;1;CRITICAL -
10.3.1.11: rta 355.633ms, lost 80%

[11-12-2010 23:44:44] SERVICE ALERT: wwwhost;Counter: IIS Web
Connections;WARNING;SOFT;1;No data was received from host!

--

 

Two days later, it looked like it was behaving properly:

 

--

[11-14-2010 23:44:57] HOST ALERT: wwwhost;UP;SOFT;2;OK -
10.3.1.11: rta 1.338ms, lost 0%

[11-14-2010 23:44:27] SERVICE ALERT: wwwhost;Service:
Snare;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds

[11-14-2010 23:44:27] SERVICE ALERT: wwwhost;Service:
RServer3;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds

[11-14-2010 23:43:34] HOST ALERT:
wwwhost;DOWN;SOFT;1;CRITICAL - 10.3.1.11: rta 860.577ms, lost 80%

[11-14-2010 23:43:22] SERVICE ALERT: wwwhost;Service:
Epilog;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds

--

[11-14-2010 08:56:55] HOST ALERT: wwwhost;UP;SOFT;2;OK -
10.3.1.11: rta 2.633ms, lost 0%

[11-14-2010 08:55:45] HOST ALERT:
wwwhost;DOWN;SOFT;1;CRITICAL - 10.3.1.11: rta 518.822ms, lost 80%

[11-14-2010 08:55:36] SERVICE ALERT: wwwhost;Counter:
IIS Web Connections;WARNING;SOFT;1;No data was received from host!

--

 

Last night, however, the host got rechecked at short intervals:

 

--

[11-15-2010 23:56:09] HOST ALERT:
wwwhost;UP;SOFT;3;WARNING - 10.3.1.11: rta 89.448ms, lost 40%

[11-15-2010 23:55:39] HOST ALERT:
wwwhost;DOWN;SOFT;2;CRITICAL - 10.3.1.11: rta 984.594ms, lost 80%

[11-15-2010 23:55:21] HOST ALERT:
wwwhost;DOWN;SOFT;1;CRITICAL - 10.3.1.11: rta 738.100ms, lost 80%

[11-15-2010 23:55:09] SERVICE ALERT:
wwwhost;CPU;WARNING;SOFT;1;No data was received from host!

[11-15-2010 23:54:00] HOST FLAPPING ALERT:
wwwhost;STARTED; Host appears to have started flapping (23.0% change 
20.0% threshold)

[11-15-2010 23:53:59] HOST ALERT:
wwwhost;UP;HARD;1;WARNING - 10.3.1.11: rta 183.851ms, lost 60%

[11-15-2010 23:53:29] HOST ALERT:
wwwhost;DOWN;HARD;3;CRITICAL - 10.3.1.11: rta nan, lost 100%

[11-15-2010 23:53:29] SERVICE 

Re: [Nagios-users] Best Practice: Forgotten Acknowledgements

2010-11-01 Thread Chris Beattie
Acknowledgements add comments to hosts and services, so you could just
set yourself a reminder to occasionally check the comments link in the
side bar and look for anything that's getting stale.

-Original Message-
From: Andre Timmermann [mailto:an...@nine.ch] 
Sent: Monday, November 01, 2010 5:29 AM
To: Nagios Users List
Subject: [Nagios-users] Best Practice: Forgotten Acknowledgements

Hello list,

from time to time you may acknowledge a problem without solving it at
once. This will result in forgotten acknowledgements.

What do you do to resolve this issue?

Ist there anything existing which parses the statufiles and writes a
mail once a week as a reminder (cron-job)?

Greetz,
Andre



--
Nokia and ATT 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

--
Nokia and ATT 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] Using two nagios servers...

2010-08-16 Thread Chris Beattie
Your servers will probably be fine servicing the extra Nagios polling,
unless they are overloaded already.

 

Since I run Nagios on virtual machines, however, I tried to keep the
load on my failover Nagios server minimized.  My failover Nagios server
runs a cron job that uses the check_nagios plugin to monitor the state
of the primary Nagios server.  If the primary server is up and running,
the failover server will just rsync the state and configuration files
from the primary.  If the primary server becomes unavailable, the cron
job will start the Nagios service on the failover server and keep it
running until it detects the primary has recovered.

 

From: ravishankar.gundlap...@wipro.com
[mailto:ravishankar.gundlap...@wipro.com] 
Sent: Monday, August 16, 2010 7:45 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Using two nagios servers...

 

Hi All,

 

I am planning to configure all the servers in my client environment in
two Nagios servers(in two different locations) in order to create Back
up.

 

Please let me know whether there will be any overload on the servers as
two Nagios servers will be polling them.

 

 

Thanks,

Ravi G

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] Generate and export reports in CSV, PDF format?

2009-07-01 Thread Chris Beattie
On Wed, 2009-07-01 at 14:51 +0530, N Patil wrote:
 
 Is there any way that I can generate/convert reports into CSV, PDF,
 DOC or such formats ? 

I don't know if this will help you at all, but I've always used MRTG or
Cacti for history and graphing rather than Nagios add-ons.  Newer
versions of Cacti can export graph data into CSV files.

-- 
-Chris

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

Thank you.

--
___
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] Compliance: Re: Monitoring Web Sites

2009-06-30 Thread Chris Beattie
On Tue, 2009-06-30 at 10:25 +0100, cr...@hooters-uk.com wrote:
 I'm looking to monitor a web site that is hosted on a
 server that has multiple sites, how would I go about
 monitoring multiple sites on one server?

The check_http command supports arguments for the host name, the host
address, and a URI.  The standard command definition includes $HOSTNAME$
and $HOSTADDRESS$, but that doesn't mean you can't roll your own.

I have a load balancer that a number of web sites need to be available
through, that itself does not have any services that need to be checked.
I set up a custom check command like this:

define command {
command_namecheck_lb_http
command_linecheck_http -H $ARG1$ -I $ARG2$ -u $ARG3$
}


In the load balancer's configuration, I have a dozen or so service
checks defined like this:

define service {
use standard_service
host_name prodapploadbalancer
service_description website1
check_command check_lb_http!virtualhostname!ipaddress!/somepage.html
}

-- 
-Chris


--
___
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] Compliance: Re: check_snmp memory leak

2009-04-13 Thread Chris Beattie
jmose...@corp.xanadoo.com wrote:
 
 The real question, though, is since you're using Cent OS, why not use the
 Nagios RPM's available via yum repository?  It makes upgrading and keeping
 track of dependencies a breeze.

A long time ago I got frustrated with a package provider installing 
Nagios in a different location.  I'd been compiling Nagios from source 
since the NetSaint days, so I just went back to doing what I'd always 
done.  That's worked on Red Hat 7.x, various Fedora versions, RHEL4, 
CentOS 5.x, and Debian so far.

I do use the disto provider's mechanisms to take care of Nagios' 
dependencies, however.  That does make life much easier than the RPM 
Hell days!

-- 
Chris Beattie

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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


Re: [Nagios-users] Service Template Inheritance

2009-03-23 Thread Chris Beattie
Ken Netzorg wrote:
 
 Having read the documentation and doing some pondering, I am looking to 
 break my service monitoring into two notification trees: Production and 
 Development. That way, I am not bothered by development services 
 alerting off hours and only get production notifications off hours. (If 
 there is a better way to set this up, I'm open to suggestions.) 

Service checks can inherit their notification period from their 
associated host object.  I set up my host templates for my dev and 
production servers with different notification periods, but I can use 
the same service templates for both since I haven't got a notification 
period defined in my service template..  The production server host 
template can notify 24x7, but the dev server host template is limitited 
to notifying during work hours.  The check period is 24x7 for both types 
of hosts, so Nagios always knows what's going on, even if it isn't 
saying anything about it.

Services can also inherit their contacts from their associated hosts, so 
my prod host template includes a pager contact group that my dev host 
template does not.


  name production_client_version
  use  production_service,w_client_version  # Merge the 
 Production definition with the service command
 }
 
 I keep getting an error when validating the configuration (nagios -v 
 nagios.cfg) that the w_client_version is a duplicate within the config 
 files and I have searched for it only finding it in one location.

I haven't tried referencing two templates in a definition before, so I 
can't tell you if that works or not.  My instinct is to try it with just 
one template and see if the error goes away.

 Can the check_command only be defined at the lowest level? Is this a 
 valid configuration or are there better examples of separating 
 development alerts from production alerts?

You can set the check_command in the service template and/or the service 
definition.  Anything you set in the service definition that's already 
been set in the service template will override the template's settings.

For example, I have an SSL-enabled site service template defined to use 
/ as its URL (my standard_service template has other things defined):

define service {
use standard_service
nameSSL Site
check_command   check_ssl_site!/
notes   blah blah blah
register0
}

For a host where I want to check /, all I need is:

define service {
use SSL Site
host_name   foo
}

But for a host where I want to check a different URL, I use:

define service {
use SSL Site
host_name   different-foo
check_command   check_ssl_site!/foo/bar/bat.asp
}

The second one is still inheriting everything except the check_command 
from the SSL Site template.

However, I think the answer to splitting up your dev and prod service 
types is just letting them inherit the notification period from the 
host.  You'll have half the service templates to manage if you can do that.

Look for implied inheritance on this page:
http://nagios.sourceforge.net/docs/3_0/objectinheritance.html

-- 
Chris Beattie

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

Thank you.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-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


Re: [Nagios-users] service dependency and escalations

2009-03-18 Thread Chris Beattie
Lori Adams wrote:
 We are still running nagios 2.x.

I appropriated a spare desktop PC and practiced the upgrade there first. 
  There were a few changes in the nagios.cfg file that I needed to make, 
but it was relatively painless.

 Is it possible to specify a  servicedependency and/or a service 
 escalation within a service definition?

I don't think so, but that's how I do things with host groups and 
service groups.  I have the dependencies and escalations defined in 
separate config files, but wildcards let me have one service escalation 
definition, one host escalation definition, and one service dependency 
definition.

 For the dependencies:
 
 I run into the situation that a service is dependent on another service 
 on the same host.  Even though this host is in a hostgroup, I can’t use 
 the hostgroup to specify the dependencies.
 
 This makes the configs very messy and not easily templatizable.
 
 Is something like this possible for the 3.x series?

I'm running 3.10 right now, and you can put a hostgroup in the 
dependency definition.

I have hundreds of Windows servers monitored.  Occasionally, the agent 
gets starved for resources during backups or otherwise clobbered.  That 
used to cause a slew of notifications, since none of the checks worked, 
but the host could still be pinged.

I set up a service dependency so all the services defined for the 
Windows hosts are dependent on a check of the client's version number. 
The client version is checked more often than the rest of the services. 
  There isn't a threshold: if it's not OK, the client needs to be fixed:

define servicedependency {
hostgroup_name  dev_windows_servers,windows_servers
service_description Client Version
dependent_service_description   *,!Client Version
execution_failure_criteria  w,c
notification_failure_criteria   w,c
}

I use a wildcard to get all the services on the host, but since Client 
Version is also one of the services assigned to the 
(dev_)windows_servers hostgroup, I had to add the !Client Version 
exception.  That's the entire contents of my servicedependencies.cfg 
file, though.

For the sake of completeness, here is how I defined the escalations I 
needed:

define serviceescalation {
hostgroup_name  windows_servers,Agentless_Checks
service_description *
contact_groups  +nogmgr
first_notification  3
last_notification   0
}

define hostescalation {
host_name   *
contact_groups  +nogmgr
first_notification  3
last_notification   0
}

-- 
Chris Beattie

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

Thank you.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-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


Re: [Nagios-users] Problem after upgrade to 3.x: Recipient $

2009-03-11 Thread Chris Beattie
Marc Powell wrote:
 On Mar 10, 2009, at 7:38 PM, Udo Müller wrote:

 The problem is that i have the event_handler_enabled?
 
 Yes, and notify-by-email specified as the event_handler.

I had the same misconfiguration under 2.x, and when I went to 3.x I 
ended up making a cron job delete the nagios users's dead.letter file.

Thanks from me, too, for the explanation: I don't need that cron job 
anymore!

-- 
Chris Beattie

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

Thank you.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-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


Re: [Nagios-users] Sub-groups of hostgroups

2009-03-10 Thread Chris Beattie
Andrew Davis wrote:
 Is it possible to do a sub-group of a hostgroup?

As far as I know, hostgroups are all at the same level, but hosts can be 
members of more than one hostgroup.  I set my host definitions up like this:

define host {
use prod_windows_server
host_name   servername
alias   serveralias
address w.x.y.z
hostgroups  +FTP Servers,Web Servers
}

My prod_windows_server host template sets a hostgroup of 
windows_servers.  In the host definition here, the + adds the additional 
host groups to the host.  Without the +, the host definition's hostgroup 
setting would replace windows_servers.

Then, in my services.cfg, I assign services to hostgroups:

define service {
use standard_service
nameWeb_Service
hostgroup_name  Web Servers
service_description Service: Web
check_command   check_nt_service!W3SVC
}

You don't have to assign services to a hostgroup, but it's convenient 
for me to do so.

-- 
Chris Beattie

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

Thank you.

--
___
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] Understanding check_cluster

2009-02-24 Thread Chris Beattie
I need some help understanding the check_cluster plugin, please.  I'm
using version 1.4.13 of the plugins on Nagios 3.10, all compiled from
source on 64-bit CentOS 5.2.  We use VMWare ESX clusters, and I'd like
the hosts in Nagios that happen to be virtual machines to have one
parent instead of a list of parents comprising every ESX host in the
cluster.  Recently, an ESX host was moved from one cluster to another,
so I had to change a lot of parents.  If there's a better way to
represent VMs and their hosts, I'm open to suggestions too.



I don't have any problem running it as the Nagios user from the command
line and feeding it states, like so:

./check_cluster --host --data=0,0,2,1 --warning=0 --critical=1

CLUSTER CRITICAL: Host cluster: 2 up, 1 down, 1 unreachable

./check_cluster --host --data=0,0,0,0 --warning=0 --critical=1

CLUSTER OK: Host cluster: 4 up, 0 down, 0 unreachable

./check_cluster --host --data=0,0,0,1 --warning=0 --critical=1

CLUSTER WARNING: Host cluster: 3 up, 1 down, 0 unreachable



Adding --verbose just says check_cluster - Warning: start=0 end=0;
Critical: start=0 end=1 first.



However, if I try anything with the $HOSTSTATEID$ macro, everything is
always OK, even if I just make up host names:

[./check_cluster --host
--data=$HOSTSTATEID:duck$,$HOSTSTATEID:cow$,$HOSTSTATEID:chicken$
--warning=0 --critical=1

CLUSTER OK: Host cluster: 3 up, 0 down, 0 unreachable



I thought maybe macros work better when executed by Nagios, so I added
check_host_cluster command a host with that as its check_command.

define command {

command_namecheck_host_cluster

command_line$USER1$/check_cluster --host --label=$HOSTNAME$
--warning=$ARG1$ --critical=$ARG2$ --data=$ARG3$

}



define host {

use linux-server

host_name   ProductionCluster1

alias   Production Cluster 1

address 127.0.0.1

parents gisesx1,gisesx3,gisesx4

check_command
check_host_cluster!1!2!$HOSTSTATEID:foo1$,$HOSTSTATEID:foo3$,$HOSTSTATEI
D:foo4$

hostgroups  nogsupport

}



The check_interval for the linux-server template is set to 3.  I made
the assumption that it didn't matter what I set the address to since I'm
only interested in the state of other hosts, and it's not being
referenced in the check_command.



It shows up in the host information web page as being up, but I don't
have any hosts named foo:

Host Status:

  UP

 (for 0d 3h 41m 9s+)

Status Information: CLUSTER OK: ProductionCluster1: 3 up, 0
down, 0 unreachable



I had better luck with check_icmp, but it looks like it goes straight to
CRITICAL if one host is down.


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

Thank you.
--
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] New to Nagios - Need help with nagios.cfg

2009-02-19 Thread Chris Beattie
Allan Clark wrote:
 Aren't those two files the first duplicates?
 
 Remove all *~ files -- I assume your editor created these.  Try again after:

I use gedit to edit my Nagios configuration files, and it's set to make 
backups whose filenames end with a tilde by default.  Nagios ignores 
them since it's looking only for *.cfg, but they do visually pollute the 
directory listing and I tell rsync to exclude them when I copy the 
config files from dev to production.


-- 
Chris Beattie

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

Thank you.

--
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] Using SLES10 and Nagios 3.x under VMWare

2009-02-19 Thread Chris Beattie
Deborah Martin wrote:
 
 I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if any
 of you had come 
 across any issues that I should be aware of.

I run Nagios in a dual-CPU VM (CentOS 5.2 guest on VMWare ESX 
3.something).  Once in a while, Nagios would shut down some time after 
midnight.  I suspect that ESX is pretty busy while the other VMs are 
being backed up.  The system log had entries like this:

Jan  7 00:18:17 Monitor2 nagios: Caught SIGSEGV, shutting down...
Jan  7 00:18:27 Monitor2 kernel: BUG: soft lockup - CPU#1 stuck for 10s! 
[check_nt:21036] Jan  7 00:18:27 Monitor2 kernel: CPU 1:

It didn't happen all the time, and there wasn't much I could do about it 
when it did happen.  I created another Nagios VM identical to the first, 
except it's got a script which monitors the primary server and takes 
over if the primary fails.  Nagios is not started on the failover 
server, so it takes very few resources to keep idling along.

There are ~550 hosts and ~4500 services being monitored, and the two 
virtual CPUs run around 80% each in the Gnome system monitor app, and 
1.3-2.0 in the load averages.  They're both 3.0 virtual GHz, if I recall 
correctly.  I have large installation tweaks turned on as well.  The 
Nagios server is busy enough all the time that the server guys have 
mentioned going back to physical hardware if I have to add much more.

 From a user's perspective, I can't tell it's on a VM.  I think the 
slowest part is how quickly my PC can render Nagios' web pages.
-- 
Chris Beattie

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

Thank you.

--
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 SELinux

2009-02-02 Thread Chris Beattie
I compiled Nagios 3 from source on CentOS 5.2 with SELinux set to Enforcing.  I 
installed Nagios following the Fedora Quickstart guide.  SELinux will prevent 
just about everything in Nagios' web page from running.  It was an iterative 
process to get everything allowed, since I kept finding things I'd missed the 
previous time through these steps.  CentOS 5.2 (and RHEL, I assume) had some 
SELinux tuning tools installed, but I don't know if they're available on other 
distros.

1.  Click on the links in Nagios' side bar, try to send acknowlegements, etc.
2.  Use the SE Troubleshoot Browser to take a look at the audit.log file and 
clean out anything not caused by Nagios.
3.  If this isn't the first time through the steps, make a backup copy of your 
type enforcement settings (.te) file.
4.  Run:  #audit2allow -m mynagios -l -i audit.log  mynagios.te
5.  If this isn't the first time through the steps, use a text editor to merge 
the contents of your current and previous .te files.
6.  Run:  #checkmodule -M -m -o mynagios.mod mynagios.te
7.  Run:  #semodule_package -o mynagios.pp -m mynagios.mod
8.  Run:  #semodule -i mynagios.pp
9.  Verify your policy package has been installed by running #semodule -i
10. Return to step 1 until SELinux lets Nagios do everything Nagios needs to do.

Keeping a backup of your type enforcement file is necessary because if Nagios 
is allowed to do some things, they won't continue creating entries in 
audit.log, and audit2allow won't pick them up the next time around.  You want 
your .te file to accumulate all the necessary settings.

There was a Nagios policy package installed in CentOS already, but it didn't 
work for me.  When you create your own SELinux policy packages, give your 
package a unique name.  I think that will prevent it from being clobbered if 
the stock package gets updated by your distribution's maintainer.




From: Stephen H. Dawson [mailto:serv...@shdawson.com]
Sent: Sun 2/1/2009 8:36 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios  SELinux


Good Morning,


We are going with SELinux on some of our servers.  We are looking for anyone 
that uses SELinux on their Nagios machines.  Preferably, best practices  what 
not.  Any guidance would be most appreciated.


Thank You,
Stephen H. Dawson

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

Thank you.
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Disable inherited checks? [OT: outlook settings]

2009-02-02 Thread Chris Beattie
Marc Powell wrote:
  On Feb 2, 2009, at 10:38 AM, Chris Beattie wrote:
 
  Sorry for the top-posting: I'm stuck with Outlook.
 
  heh. That's an excuse? ;) Here's what I do to make it more 'standard'
  when I have to use it --

I started with BBSes in the early eighties, so to this day combining 
Outlook and mailing lists is like being a parent stuck with a crying 
baby in a restaurant: embarrassing and one should try not to do it too 
often.

I tried your suggestions in the past, but unfortunately it makes it 
difficult to communicate with the rest of the company since everyone 
else uses the default settings.

What I *could* do (if I was going to recommend circumventing a company's 
IT policy in a public forum) is surreptitiously re-enable IMAP on my 
Exchange account, install a proper mail client on my Nagios testing box 
(since Websense blocks the sites to install anything interesting for 
Windows, but not the CentOS repositories), and hope nobody notices.  :-)

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

Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Kerberos include files... could not find

2009-02-02 Thread Chris Beattie
Krishna Chandra Prajapati wrote:
 Hi,
 
 While compiling nrpe. It gives the below issue.
 
 checking for Kerberos include files... could not find include files

This isn't Nagios-specific, but what I've found compiling from source is 
that it may be necessary to install the -devel packages for things the 
program I'm compiling depends on.  For example, if I got that message, I 
would verify that I had, say, the krb5 package installed, and then 
following that, also install krb5-devel, and try the configure step again.

-- 
Chris Beattie

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

Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Disable inherited checks?

2009-02-02 Thread Chris Beattie
You can disable inherited service checks for a host by putting an exclamation 
mark in front of the host name in the service definition.  Look for Excluding 
Hosts in http://nagios.sourceforge.net/docs/3_0/objecttricks.html.



From: Keith Edmunds [mailto:k...@midnighthax.com]
Sent: Sun 2/1/2009 10:52 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Disable inherited checks?



Is there a way to disable inherited checks?

I would like to have a master host file that lists all checks that are
valid on any host, and then override that on a per-host basis. For
example, I may have a check_pgsql in the master host file, but host_x
which inherits from the master file doesn't run PostgreSQL, so I'd like to
disable it in the host_x file.

Doable?

Thanks,
Keith

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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



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

Thank you.
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] Disable inherited checks?

2009-02-02 Thread Chris Beattie
Sorry for the top-posting: I'm stuck with Outlook.

Have you tried templates?  We have ~550 hosts and ~4500 services, and
it'd be a real pain to not use templates.

I have a host template definition for Windows servers, which adds
anything assigned that template to a windows_servers host group.  I have
a bunch of services defined which are assigned to everything in the
windows_servers host group.  When I add a new Windows host, I put use
prod_windows_server in the host definition, and the host is
automatically assigned service checks for CPU, C drive, E drive, memory,
page file, running antivirus, and a couple others.  I have a similar
setup for development servers, but we don't let them send notifications
outside of work hours.

For servers needing extra checks, I just add the extra service checks to
the hosts that need them.  For the servers which aren't standard for our
environment (some predate the standardization push and have a D: instead
of an E: drive, for example), I put a !hostname in the appropriate
service check definition.

-Original Message-
From: Keith Edmunds [mailto:k...@midnighthax.com] 
Sent: Monday, February 02, 2009 11:19 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Disable inherited checks?

 You can disable inherited service checks for a host by putting an
 exclamation mark in front of the host name in the service definition.
 Look for Excluding Hosts in
 http://nagios.sourceforge.net/docs/3_0/objecttricks.html.

Thanks Chris. The problem with that is that I need to list all hosts in
the service definition.

The problem I'm trying to solve is that we monitor around 70 nodes with
Nagios, and when we add a new monitor, we have to update all host files
and it's easy for some services to be missed on some nodes. To avoid
that,
I'd rather set things up so that all hosts monitor all services except
where specifically excluded. In other words, everything on by default
and
selectively turn off what is not needed; it seems that Nagios works by
having everything off by default and selectively turning things on. I
can,
of course, put host_name * in the service definition, but then I need
to
disable that service for some hosts. Hmm, thinking aloud, maybe I can do
host_name *, !not_this_one, !or_this_one ...  I'll try that.

Thanks,
Keith


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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

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

Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Browser reload problem

2009-01-29 Thread Chris Beattie
I didn't notice this until you pointed it out.  I almost always open things in 
new tabs, though.  Reloading status.cgi works if it's in its own tab, at least.

-Original Message-
From: Nicole Hähnel [mailto:m...@nicole-haehnel.de] 
Sent: Tuesday, January 27, 2009 11:15 AM
To: Nagios Users mailinglist
Subject: [Nagios-users] Browser reload problem

Hi,

since nagios 3.1.0 I can not reload any status.cgi page in firefox 3 and 
ie7.
If I try to reload, it always jumps back to the main page.
Is this a config problem?
How can I normaly reload the site again?

Thanks!

Nicole

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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

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

Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Acknowledged by user + Service action url

2009-01-15 Thread Chris Beattie
From: Palle L Jensen [mailto:pall...@gmail.com] 
Sent: Thursday, January 15, 2009 9:28 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Acknowledged by user + Service action url

1. In Nagios Web-interface and when someone acknowledges a problem, the
Author (your name) it is pre-populated with Nagios and cannot be
changed. We would like to be able to populate that with operators that
acknowledge the problem.

As far as I know, that field is automatically populated through some
alignment of the users being set up as contacts within Nagios, those
contacts being set up in cgi.cfg, and having access set up through
htpasswd.users.  I kept the user name in htpasswd.users the same as the
contact_name in contacts.cfg, and the $NOTIFICATIONAUTHORALIAS$ macro
got correctly set to the user's contact alias (where I put their full
name).

It all worked for me the first time I tried it, so I didn't get any
experience fixing any wrong-ness, though.

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

Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 caught SIGSEGV but doesn't seem to shut down all the way

2008-12-26 Thread Chris Beattie
Hello all,



I'm running Nagios 3.0.6 compiled from unmodified source on CentOS 5.2
x86_64.  I noticed that notifications stopped early this morning, and
the logs said Nagios caught SIGSEGV, and it was shutting down.  Nagios
doesn't appear to go all the way down, though.  All the CGIs still work,
but no checks are being performed.  There is a lock file, and nagios.cmd
still exists.  The first one I saw happened after Nagios had been
running fine for a while, but the same thing happens if I issue a
killall -SIGSEGV naigios command, defunct processes and all.  This is
what I got after I did the killall, then a service nagios start, then
another killall.



# ps -fC nagios

UIDPID  PPID  C STIME TTY  TIME CMD

nagios1469 1  0 10:47 ?00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

nagios1470  1469  0 10:47 ?00:00:00 [nagios] defunct

nagios1918 1  6 10:51 ?00:02:55
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

nagios   16350  1918  0 11:25 ?00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

nagios   16351 16350  0 11:25 ?00:00:00 [nagios] defunct



Thanks to Paul Weaver's suggestion earlier this month, I've got a
failover Nagios server running.  Once a minute, it checks the primary
server.  I didn't set the conditions for failing over correctly, so it
didn't take over in this case, though it sometimes does for a moment
when I restart the primary Nagios after I've updated its object
configuration files.  The output of its check_nagios command looks like
this after the primary Nagios gets a SIGSEGV:



# ./check_by_ssh -H primaryhostname
--command='/usr/local/nagios/libexec/check_nagios
--filename=/usr/local/nagios/var/status.dat --expires=60
--command=nagios'

NAGIOS OK: 3 processes, status log updated 228 seconds ago



When I fixed the expiration, it gave me a warning state and I could've
failed over on that.  However, the way I did things, the failover server
thought everything was all right.  So, that's my problem to fix, but
shouldn't Nagios shut all the way down as well?



Thanks!

-Chris


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

Thank you.
--
___
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 caught SIGSEGV but doesn't seem to shut downall the way

2008-12-26 Thread Chris Beattie
From: Chris Beattie [mailto:cbeat...@geninfo.com]



I'm running Nagios 3.0.6 compiled from unmodified source on CentOS 5.2
x86_64.  I noticed that notifications stopped early this morning, and
the logs said Nagios caught SIGSEGV, and it was shutting down.  Nagios
doesn't appear to go all the way down, though.  All the CGIs still



Well, I tried it out again, and Nagios shut itself down cleanly when I
sent it a SIGSEGV kill.  Curious...




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

Thank you.
--
___
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 SELinux issue

2008-12-10 Thread Chris Beattie
-Original Message-
Kenneth Holter wrote:
 We're running Nagios 3.0.3 on RHEL 5, and are having an issue with
 SELinux. A symptom I have noticed it that acknowledging a problem
 results in the following error:

 /Error: Could not stat() command file
 '/usr/local/nagios/var/rw/nagios.cmd' /

 We need to keep SELinux active on the server, so I'll have to
 configure
 it to allow for Nagios. Does anyone know what needs to be done to do
 this?

I kept SELinux in Enforcing mode on CentOS 5.2, so hopefully this will
be similar.

Create a file called mynagios.te, and put this in there:

module mynagios 1.0;

require {
type initrc_tmp_t;
type httpd_sys_script_t;
type usr_t;
type ping_t;
type httpd_t;
type unlabeled_t;
class file execute_no_trans;
class association recvfrom;
class file execute;
class file { read write };
class fifo_file write;
class fifo_file getattr;
}

#= httpd_t ==
allow httpd_t usr_t:file execute_no_trans;
allow httpd_t usr_t:file execute;

#= unlabeled_t ==
allow unlabeled_t self:association recvfrom;

#= httpd_sys_script_t ==
allow httpd_sys_script_t usr_t:fifo_file write;
allow httpd_sys_script_t usr_t:fifo_file getattr;

#= ping_t ==
allow ping_t initrc_tmp_t:file { read write };


To arrive at these settings, I ran Nagios with Enforcing turned on, and
clicked on all the links in the side bar, and tried to do stuff like
send acknowledgements.  You can use audit2allow to generate the type
enforcement file above from the audit.log file.  I kept finding things
I'd missed, so the above is the result of several iterations of
audit2allow and merging copies of their output into one file:

#audit2allow -m mynagios -l -i audit.log  mynagios.te
(Make a backup copy of the .te file somewhere in case you miss something
the first time around)
#gedit mynagios.te (to merge in the settings from the previous .te
file's backup)
#checkmodule -M -m -o mynagios.mod mynagios.te 
#semodule_package -o mynagios.pp -m mynagios.mod 
#semodule -i mynagios.pp

You can verify your mynagios policy package has been installed with:
#semodule -l

There was already a Nagios policy package installed on CentOS by
default, but it didn't work for me.  Maybe it was because I installed
Nagios from source instead of using a package.  Anyway, that's why I
called it mynagios, so that it didn't collide with the provided Nagios
package.


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

Thank you.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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


Re: [Nagios-users] Failover Monitoring.

2008-12-08 Thread Chris Beattie
 -Original Message-
 From: Eddie [mailto:[EMAIL PROTECTED]
 
 To keep services status information up-to-date on the slave the master
 sends all service check results to the slave.

I got this set up between my master and slave servers, and then noticed
that comments and other stuff like that weren't being replicated.  If
you add hosts and services, or otherwise change your configuration,
those changes won't be replicated either.

 If monitoring fails-over to the slave, how is the status information
 sent to the new slave so that it is then kept updated with new status
 information, or do we need to set this up manually after the failover?

I wrote a script which is run every minute by a cron job on the slave
server.  It uses check_by_ssh to run check_nagios on the master.  If
Nagios is running on the master, then it checks if Nagios is running on
the slave.  If so, it stops the slave Nagios.  If Nagios is only running
on the master, it rsyncs any changed files in the whole Nagios directory
(minus the checkresults directory, archives directory, lock file, and
command file).  If Nagios is not currently running on either server, it
will start Nagios on the slave server.  And, just because I could, I
have it write to a log file and e-mail me if it fails over or back.

It doesn't copy anything from the slave server back to the master
server, because I expect the slave to run only temporarily.  If the
master server takes that long to fix, I can copy the status back
manually.

Since my master and slave servers are identically-configured, when I
upgraded the master to Nagios 3.0.6, the slave got upgraded a minute
later.

 Couldn't we nullify the need to keep two separate stores of status
 information data, by keeping it in one place? Is it possible to have
 the status information stored on a third host (say on an NFS) that
 both the master and slave have access to?

I don't have a highly-available file share, so I keep two copies of
Nagios and rsync minimizes the amount of data that has to be copied..  I
plan to move the slave server to another office (it's a virtual
machine).  If the link between the offices went down, one Nagios or the
other would lose its connection to its config files.  Also, this way
there is a window of time where both instances might be active and
trying to write to the same files.
 
 Is it possible to have more than one slave?

Yes.  If you do it like the docs say, you'll need to write a script to
submit check results to the slave server.  It's just one more line to
submit the check results to another slave server.  I don't know how to
write the event handler to check more than one Nagios process, though.

If you do it like above, both slave servers can run the cron job, and
they can check each other as well as the primary to see if they need to
start their Nagios process.  You might want to have one slave run the
cron job on the even minutes and the other slave run the job on the odd
minutes (or some other alternating pattern) so that they won't both try
to start up at the same time.

 Are there any other resources that go into more detail on failover
 (and redundant monitoring)?

I did a lot of Googling to get it working like in the docs, and then
subscribed to this mailing list five days ago so I could ask about how
to get status information to the slave server.  :-)


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

Thank you.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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


[Nagios-users] Failover monitoring and acknowlegements

2008-12-03 Thread Chris Beattie
I'm setting Nagios up in a failover configuration like is described in
the documentation, with the primary server feeding check results to the
failover server via NSCA.  That part's working fine, but is there a good
way to also keep host and service comments, acknowledgements, and
scheduled downtimes up-to-date as well?


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

Thank you.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] Failover monitoring and acknowlegements

2008-12-03 Thread Chris Beattie
Er, both servers are Nagios 3.0.5 running on CentOS 5.2, sorry.



From: Chris Beattie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2008 9:53 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Failover monitoring and acknowlegements



I'm setting Nagios up in a failover configuration like is described in
the documentation, with the primary server feeding check results to the
failover server via NSCA.  That part's working fine, but is there a good
way to also keep host and service comments, acknowledgements, and
scheduled downtimes up-to-date as well?

This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.

Thank you.



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

Thank you.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] Failover monitoring and acknowlegements

2008-12-03 Thread Chris Beattie
Well, now you've got me thinking...



I thought I couldn't rsync the files because the running Nagios process
on the failover server wouldn't notice the changed files.  However, if I
can have a script run check_nagios via check_by_ssh from a cron job (I
don't know yet- I've never used check_by_ssh before), then Nagios
doesn't need to be running all the time on the failover server.  The
cron job can start the failover Nagios if the primary Nagios isn't
running, and stop the failover Nagios when the primary returns.  Since
the configurations on both servers would be the same, rsync could even
keep Nagios itself, updated on the failover server without me having to
do it manually.



From: Paul Weaver [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2008 11:09 AM
To: Chris Beattie; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Failover monitoring and acknowlegements



For just a failover installation, are there any issues with rsyncing the
files from master to slave every minute?





--

Watch out for that tree

Paul Weaver
Systems Development Engineer
News Production Facilities, BBC News
Work:   020 8225 8109here
Mobile:   07736 481006
Room 1244, BBC Television Centre,
Wood Lane, London, W12 7RJ









From: Chris Beattie [mailto:[EMAIL PROTECTED]
Sent: 03 December 2008 15:22
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Failover monitoring and
acknowlegements

Er, both servers are Nagios 3.0.5 running on CentOS 5.2, sorry.



From: Chris Beattie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2008 9:53 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Failover monitoring and acknowlegements



I'm setting Nagios up in a failover configuration like is
described in the documentation, with the primary server feeding check
results to the failover server via NSCA.  That part's working fine, but
is there a good way to also keep host and service comments,
acknowledgements, and scheduled downtimes up-to-date as well?

This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this
message
immediately if this is an electronic communication.

Thank you.


This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this
message
immediately if this is an electronic communication.

Thank you.



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

Thank you.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https

  1   2   >