Re: [Nagios-users] Odd Problem with check_yum on one server...

2013-09-16 Thread Andreas Ericsson
expect it to be on a standard CentOS machine. > Then it seems like you're running nrpe in a chroot jail or a limited container, where /usr/bin/yum doesn't exist. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-23

Re: [Nagios-users] check_udp error message

2013-09-03 Thread Andreas Ericsson
sending anything we won't even touch the network, so the remote host has no idea that we're trying to talk to it and we won't know if the port is up. That's why "send", at least, is not optional. -- Andreas Ericsson andreas.erics...@op5.se OP5 A

Re: [Nagios-users] Nagios 4 beta plan/status/roadmap?

2013-08-14 Thread Andreas Ericsson
n a later release. > No major features have come in since the conference last year. Only bugfixes, performance improvements and some code cleanups. > I've had good luck with the pre-beta versions of Nagios 4 and am > contemplating timing for a move to Nagios 4

Re: [Nagios-users] Nagios check latency

2013-08-13 Thread Andreas Ericsson
ur latency will most likely go away. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should g

Re: [Nagios-users] [Nagios-devel] Patches for inclusion to Nagios 4

2013-08-08 Thread Andreas Ericsson
On 2013-08-08 15:17, Ton Voon wrote: > > On 7 Aug 2013, at 08:51, Andreas Ericsson wrote: > >> On 2013-08-06 19:16, Ton Voon wrote: >>> Hi! >>> >>> We've published a list of patches for Nagios 4: >>> http://www.opsview.com/whats-new/blog/ops

Re: [Nagios-users] [Nagios-devel] Patches for inclusion to Nagios 4

2013-08-07 Thread Andreas Ericsson
the "check_time_period" thing, you'd be far better off adding code to detect timeperiod changes, notice which timeperiods are used to change commands and make a one-off swap for all the affected commands as the desired timeperiod comes either in or out of effect. * Don't build o

Re: [Nagios-users] Nagios Upgrade

2013-08-05 Thread Andreas Ericsson
On 2013-08-05 14:30, Kaushal Shriyan wrote: > On Mon, Aug 5, 2013 at 2:20 PM, Andreas Ericsson wrote: > >> On 2013-08-03 02:27, Kaushal Shriyan wrote: >> >>> Hi, >>> >>> I am running Nagios Version 3.4.4 on CentOS Linux Version 6.4. As per >&

Re: [Nagios-users] Nagios Upgrade

2013-08-05 Thread Andreas Ericsson
such bugfix caused some internal API's to be changed incompatibly, so we had to bump the minor number for it. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the suc

Re: [Nagios-users] how to start nagios with non nagios user

2013-07-31 Thread Andreas Ericsson
#x27; of yours to good use and see what you come up with. If you don't know of any such mechanisms or programs, you really need general unix administration help rather than help with this specific problem. Good luck. -- Andreas Ericsson andreas.

Re: [Nagios-users] nagios backdoor

2013-06-12 Thread Andreas Ericsson
at way, it's possible to freeze a process and replace it entirely. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty,

Re: [Nagios-users] Nagios navbar search enhancement (Was: Questions about Nagios quick search)

2013-06-12 Thread Andreas Ericsson
> The patch is attached. > Applied. Thanks. I made the new options default to ON in the code and renamed them "navbar_search_addresses" and "navbar_search_aliases" instead od the "navbar_search_for..." since we're actually searching f

Re: [Nagios-users] Questions about Nagios quick search

2013-06-03 Thread Andreas Ericsson
Would you care to forward the patch so it applies to Nagios 4 as well? Otherwise it's likely to get dropped on the floor I'm afraid. On 05/29/2013 06:17 PM, Jonas Meurer wrote: > Hello, > > Am 2013-03-01 09:05, schrieb Andreas Ericsson: >> On 02/28/2013 10:49 PM, J

Re: [Nagios-users] Nagios v3.5.0 transitioning immediately to a HARD state upon host problem

2013-05-24 Thread Andreas Ericsson
ions for *all* hosts at that site as fast as it can, > when it should be retrying, and then walking the dependency tree. > > I do have translate_passive_host_checks=1 on the centralized > monitor, but the way I understand it, that shouldn't effect a > s

Re: [Nagios-users] FW: Nagios3 switch.cfg

2013-05-16 Thread Andreas Ericsson
." It was > installed from the packages included with the distro. The version of > Nagios is 3.2.1 > Well, that particular config file should work just fine. Try upgrading from sources and see if that works better. It passes with Nagios 4 at least. -- Andreas Ericsson

Re: [Nagios-users] FW: Nagios3 switch.cfg

2013-05-16 Thread Andreas Ericsson
ose who can answer your questions doubt your competence. Now; If you attach your switch_nagios2.cfg file, I'm sure we can solve the issue quite quickly. If you insist on copy-typing and keep getting things wrong, you'll be on your own. -- Andreas Ericsson andreas.

Re: [Nagios-users] Nagios3 switch.cfg

2013-05-15 Thread Andreas Ericsson
-switches > } > > The documentation I've found still lists host-name as a valid entry, not sure > what's going on, any help would be appreciated. > host_name, not host-name. Programs tend to be picky about that sort of thing... -- Andreas Ericsson andreas

[Nagios-users] svn -> git conversion

2013-05-14 Thread Andreas Ericsson
folder. The svn repository will be decommisioned without further warning, so anyone who likes to stick to the bleeding edge of Nagios core should migrate to git ASAP. Cheers -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8

Re: [Nagios-users] servicegroup overview not restricted for htaccess users

2013-05-12 Thread Andreas Ericsson
groups should be visible if the user is a contact for any service in the group. If a user who has no auth options and is not a contact for any service can see all servicegroups, then yes, that's potentially a security issue. -- Andreas Ericsson andreas.erics...@op5.se OP5 A

Re: [Nagios-users] High Availabilty with Nagios

2013-05-10 Thread Andreas Ericsson
et ip or hostname to send to and then add peered nodes at that tier as necessary, so as to not have to send checkresults to multiple nodes from all the monitored machines. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225

Re: [Nagios-users] High Availabilty with Nagios

2013-05-10 Thread Andreas Ericsson
s textfiles that you have to read the oldschool way. If there's anything you find lacking from the HOWTO document or the README, please let me know and I'll amend it. > > Does anyone out there have a workable way to get an active/standby or > active/active Nagios setup? Wou

Re: [Nagios-users] "Nagios Not Running" 0 in availability report?

2013-05-02 Thread Andreas Ericsson
wrong? > Are you using the "guess states during program downtime" thingie? If so, 0% undetermined makes perfect sense. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Con

Re: [Nagios-users] Configuration changes not taking effect after restart of Nagios

2013-04-25 Thread Andreas Ericsson
s the configuration behind your back, overwriting your changes. A separate Nagios process is running, triggering alerts for the faulty team while the restarted Nagios ticks on just fine. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel:

Re: [Nagios-users] NagiosTV and merlind

2013-04-16 Thread Andreas Ericsson
er get it done without forking it completely. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should g

Re: [Nagios-users] Passive checks not processing performance data

2013-04-15 Thread Andreas Ericsson
code one has poked around in. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should gi

[Nagios-users] Revamp of lib/worker.c

2013-03-16 Thread Andreas Ericsson
be chainsaw-operated on, please let me know asap, and I'll do what I can to make sure your stuff keeps working. Be quick though, cause this needs to be done sharpish. Thanks, and sorry for crossposting. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

[Nagios-users] Revamp of lib/worker.c

2013-03-16 Thread Andreas Ericsson
be chainsaw-operated on, please let me know asap, and I'll do what I can to make sure your stuff keeps working. Be quick though, cause this needs to be done sharpish. Thanks, and sorry for crossposting. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] Nagios and SELinx

2013-03-13 Thread Andreas Ericsson
and sockets on the local fs * connect to local sockets (for local database checks) * fork() and run without a tty * probably a bunch of other things It's quite a daunting task to get everything right with regards to selinux, which is why I guess noone's done it yet. -- Andreas Ericss

Re: [Nagios-users] Questions about Nagios quick search

2013-03-01 Thread Andreas Ericsson
g host is returned. >> Tru dat. Patches welcome. You'll want to find and remove the correct "break" statement, I guess. Other than that it shouldn't be much trouble. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5

Re: [Nagios-users] Define Multiple Event Handlers

2013-02-22 Thread Andreas Ericsson
eset-proc > > Any ideas? Create a wrapper script that runs both handlers with their proper arguments. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of

Re: [Nagios-users] Mass delete of host/service downtimes.

2013-02-21 Thread Andreas Ericsson
us. They get passed to Nagios from a separate thread and are susceptible to races. This is true both in Nagios 3 and Nagios 4. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Con

Re: [Nagios-users] "distributable" downtime delete commands?

2013-02-12 Thread Andreas Ericsson
t manually. > Well, it still needs to be maintained manually, since the description and the command template isn't going to write itself. It would just be a lot more up to date if the documentation was kept inline with the code. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] "distributable" downtime delete commands?

2013-02-09 Thread Andreas Ericsson
to help us on "getting > it right" deserves a beer. > Use the code instead. The external commands are all listed in include/common.h, so sed -n 's/^#define CMD_\([A-Z_]*\).*/\1/p' will list all of them (although some of them are disabled internally, so you'll have

Re: [Nagios-users] Embedded Perl in Nagios 4

2013-01-18 Thread Andreas Ericsson
ents script recognition and a perl-worker. Note that the worker will have to be able to handle the case when plugins can't be executed by it since they don't conform to whatever rules the embedded perl layer chucks up. It will, however, *never* be in the plain core w

Re: [Nagios-users] Nagios Update Check Is Not Running

2013-01-15 Thread Andreas Ericsson
hecks at all cost" patch in place anyway. > 2) Does the update_check log it's results somewhere? Only in the status_file. > 3) Do you have any recommendations on how I should approach this problem? > Upgrade to the latest version manually and then the update

Re: [Nagios-users] Embedded Perl in Nagios 4

2012-12-18 Thread Andreas Ericsson
ry on the system, no matter how carefully you write your plugins. Tradeoffs, compromises and possible leaks no matter what you do if you start down that route. It might be awesome though, so I guess it could be worth a shot. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] refresh and stay on current page

2012-12-14 Thread Andreas Ericsson
go to chrome://settings and set the variable "pixie_dust_my_frames" and it will magically do the right thing. It's possible it's only available through some plugin though. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.

Re: [Nagios-users] service checks running too often

2012-12-14 Thread Andreas Ericsson
cked Nagios 4 now, and it appears we don't do this there. I didn't test it all that thoroughly (and I probably should), but it's friday and I'm two beers past my best-before-thinking hour, so I'll just refrain from trying it further today. -- Andreas Ericsson

Re: [Nagios-users] service checks running too often

2012-12-14 Thread Andreas Ericsson
in the 3.4.x branch, but I'm not sure I can commit to that one without doing a new svn clone, and that takes at least a day. Mark; Would that be acceptable to you? Oh, and good catch :) -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Te

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Andreas Ericsson
ossible notification time: Wed Dec 5 17:51:22 2012 > [1354722682.352203] [032.0] [pid=25265] 1 contacts were notified. > > And email are arriving now! > > Thanks a lot Andreas > Excellent. Thanks for testing so promptly :) -- Andreas Ericsson andreas.eri

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Andreas Ericsson
elcome, and thanks you too :) -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious t

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Andreas Ericsson
muy pronto. Thanks for letting me sneak a peak at your server. This one would most likely have baffled me for quite some time otherwise. This should sort out many of the "Nagios doesn't send notifications" issues that have cropped up here and there and that I've been unable to

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-05 Thread Andreas Ericsson
retain_nonstatus_information1 > } > > > > Apparently in contact definition the contact_groups disappear and it come > with an empty line. > In objects.cache the contacts are always written to the contactgroup's members variable. If it's available

Re: [Nagios-users] servicedependecy is not working

2012-12-05 Thread Andreas Ericsson
PENDING state? > > on doubt: > > /var was checked and it failed. when it happens nagios will automaticaly > re-check nrpe plugin or only check the current status ? Only if active checks are enabled for the check and it can run it at the time it wants to ru

Re: [Nagios-users] Service scheduled for one week later....

2012-12-04 Thread Andreas Ericsson
friday 19:01-07:59 > saturday19:01-07:59 > sunday 19:01-07:59 > } > This is wonky. Make it '00:00-07:59,19:01-24:00' instead. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB ww

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-12-04 Thread Andreas Ericsson
ntactgroup is present on the proper services in your objects.cache file? Also, if you're not keeping secrets in the configuration, it would help if I could get my hands on it so I can see the problem for myself. If template inheritance is broken for contacts and/or contactgroups, that's a pr

Re: [Nagios-users] servicedependecy is not working

2012-12-04 Thread Andreas Ericsson
c,u,p > dependency_period 24x7 > } > > Can you help me please ? > Well, you should be getting a notification about 'NRPE plugin' even with this servicedependency in place. Are you saying you get one for '/var partition' as well, even if the 'NRPE

Re: [Nagios-users] Nagios 3.99.95 contact_groups

2012-11-30 Thread Andreas Ericsson
ile, yes. > Tomorrow i'll grep latest git repo and try to recompile and test > Since today was tomorrow yesterday that might be hard, unless you're working late. It'll be something you can try on monday though. -- Andreas Ericsson andreas.erics...@op5.se OP5

Re: [Nagios-users] circular parent/child chain

2012-11-20 Thread Andreas Ericsson
s the problem? > Because if A is a parent of B and B is a parent of A we'd never run out of parents to check when trying to determine the root cause of the problem. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225

Re: [Nagios-users] circular parent/child chain

2012-11-19 Thread Andreas Ericsson
l never travel like this: switch1 -> switch2 -> switch3 -> switch4 but it will travel like this: switch1 -> switch3 -> switch4 (assuming you have a somewhat sane network, that is). -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] Notifications question

2012-11-02 Thread Andreas Ericsson
s mailing list > Nagios-users@lists.sourceforge.net<mailto: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 suppor

Re: [Nagios-users] Chage/add colors for alerts display

2012-10-27 Thread Andreas Ericsson
ar color to denote that something is amiss due to a particular dependency or some such, but adding a new exit code isn't very likelt to happen. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +

Re: [Nagios-users] Passive-only master still pinging

2012-10-24 Thread Andreas Ericsson
pollers while avoiding sending passive checks to the master. That means the master will never be the point of origin for any problems in the network, and dependency checks never happen. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel:

Re: [Nagios-users] solutions for off-server PNP4Nagios perfdata processing?

2012-10-03 Thread Andreas Ericsson
appen going on on the same server) on > the same boxes that I don't like. > With Nagios 4, set status_file=/dev/null and use livestatus instead and you're golden. Apart from the nagios.log, there's no other I/O going on from Nagios' side, so it won't get stuck

Re: [Nagios-users] solutions for off-server PNP4Nagios perfdata processing?

2012-10-03 Thread Andreas Ericsson
te (once the macro-processing patches are done, that is). It's Nagios 4 only, but I know you've been looking at that already so perhaps that's not be a big issue. The "will be" is a bit of a showstopper though, but I have to have it done by next wednesday. -- Andreas Ericsson

Re: [Nagios-users] Running the same plugin once vs. multiple times

2012-10-02 Thread Andreas Ericsson
ble but is a bit convoluted unless you write good infrastructure for it once and then reuse it over and over. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of

Re: [Nagios-users] host object declarations

2012-10-02 Thread Andreas Ericsson
F'address' '{print $2}' |\ > sort | uniq -c | sort -n | grep -v ' 1 ' | wc -l)" -ne 0 ]; then > echo "[INFO] IP address defined more than once:" > grep -r address $NAGIOS/etc/hosts* | grep -v '~' | grep -v svn |\ > gr

Re: [Nagios-users] host object declarations

2012-10-02 Thread Andreas Ericsson
address or that's resolvable as a dns hostname. display_name and alias are equally useless and are only meant to provide some sort of help when receiving notifications or when viewing the UI. You've been overthinking it and seriously misunderstood something. The way you think Nagios 4 will

Re: [Nagios-users] modify service macros

2012-10-02 Thread Andreas Ericsson
no sensible way to do it from inside Nagios, since that will have ramifications for modules and everything else. Notifications are (normally) not so frequent that wrapping them in an extra layer of execution will matter. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] nagios writing escalation rules multiple times to objects.cache

2012-10-02 Thread Andreas Ericsson
is really how you're configuring your Nagios. Nagios 4 has provisions to compare slave objects and avoid adding multiple ones, which would hide a potential bug in your config. It's currently only used for dependencies, but making it work with escalations too would

Re: [Nagios-users] Using "contacts" in host definition -- Bug ?

2012-09-27 Thread Andreas Ericsson
On 09/27/2012 02:37 PM, Frost, Mark {BIS} wrote: > > >> -Original Message----- >> From: Andreas Ericsson [mailto:a...@op5.se] >> Sent: Thursday, September 27, 2012 3:08 PM >> To: Nagios Users List >> Cc: Frost, Mark {BIS} >> Subject: Re: [Nagios-

Re: [Nagios-users] Using "contacts" in host definition -- Bug ?

2012-09-27 Thread Andreas Ericsson
host. The same applied when the service had contacts but no contactgroups and the host had contactgroups. In 4.0 this is fixed so only services with neither contacts nor contact- groups inherit them from the host. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] Livestatus with Nagios 4

2012-09-24 Thread Andreas Ericsson
will not break. > Good idea. I'll readd them. Thanks for the feedback :) -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs

[Nagios-users] Livestatus with Nagios 4

2012-09-23 Thread Andreas Ericsson
27;ll most likely drop my partial clone entirely. Testing would be very welcome indeed. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcoho

Re: [Nagios-users] [Nagios-devel] Nagios 4: Call for testing

2012-09-17 Thread Andreas Ericsson
is listed as having happened 09:06:22 but on the same date in my svn-synced git repo, which means I did git-svn dcommit around then. In the long run, we'd be better off putting up autobuild servers that build on each push and get their version from an scm with version numbers on can actually re

Re: [Nagios-users] [Nagios-devel] Nagios 4: Call for testing

2012-09-15 Thread Andreas Ericsson
ree/master/rpms > Sweet! Thanks a lot :) -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should

Re: [Nagios-users] check_http throwing 141 exit on ssl error

2012-09-14 Thread Andreas Ericsson
ot; > > write(1, "CRITICAL - Cannot make SSL conne"..., 39) = 39 > write(3, "\200w\1\3\1\0N\0\0\0 > \0\0009\0\0008\0\0005\0\0\26\0\0\23\0\0\n\7\0\300"..., 121) = -1 EPIPE > (Broken pipe) > --- SIGPIPE (Broken pipe) @ 0 (0) --- > +++ killed by SIGPIPE +++ >

[Nagios-users] Service parents...

2012-09-14 Thread Andreas Ericsson
e-template host_name A descriptionNRPE Disk / parentsNRPE Version Check } although I expect you crafty folks will put such things in templates and be done with it very quickly. Enjoy. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] Nagios 4: Call for testing

2012-09-14 Thread Andreas Ericsson
On 09/14/2012 02:09 PM, John Kennedy wrote: > On Thu, Sep 13, 2012 at 6:00 PM, Andreas Ericsson wrote: > >> Yes, you read it right. Nagios 4 is approaching, but it needs your >> help to reach the finish-line, so pretty please HELP! >> >> >> > > Is t

[Nagios-users] Nagios 4: Call for testing

2012-09-13 Thread Andreas Ericsson
n directory are worthless and won't be considered. So spedang! and get your hack on, folks :) -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the w

Re: [Nagios-users] False alerts on http service

2012-09-12 Thread Andreas Ericsson
le.com/webwork > HTTP OK: HTTP/1.1 200 OK - 5162 bytes in 0.025 second response time > |time=0.024700s;5.00;20.00;0.00 size=5162B;;;0 > > Can anyone spot a reason why this alert is not set up properly or > there is a better way to do it? > Examine the *host* check,

Re: [Nagios-users] Are neb_register_callback()s threadsafe?

2012-09-06 Thread Andreas Ericsson
s the logging functions or not. Code for Nagios 4 and you shouldn't have to worry about threads at all. They're frowned upon rather sternly in Nagios 4, since the core isn't threaded anymore and as such can't even be made to keep locks in API functions tha

Re: [Nagios-users] Are neb_register_callback()s threadsafe?

2012-09-05 Thread Andreas Ericsson
our own module, you'll have to take care not to do anything that upsets Nagios. If you mean "will multiple Nagios threads try to rip my data out from under my feet?", then no, but other modules might. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] Heads up for config changes in Nagios 4

2012-08-31 Thread Andreas Ericsson
get anomaly-reports on mail to nagios-devel, with a...@op5.com on the cc-list so I don't miss out on anything serious. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Consid

[Nagios-users] Heads up for config changes in Nagios 4

2012-08-30 Thread Andreas Ericsson
t the first hostgroup, as determined by alphabetical sorting, will get the members of its included groups, but the later ones in the sorting will not get the members of the previous ones, which is surprising to say the least. This will work the same for all grouptypes. -- Andreas Eri

Re: [Nagios-users] check_snmp

2012-08-27 Thread Andreas Ericsson
given range are the limits on the OK range, and anything outside that triggers the alert. As per your explanation above, I would assume -c 50: -w 55: would be reasonable values. That will cause a critical alert when the value is below 50 and a warning value when it's below 55

[Nagios-users] Call for configs

2012-08-27 Thread Andreas Ericsson
ddresses, email addresses, pager numbers, aliases and all command information is wiped completely clean. The resource.cfg file isn't even included, so any and all passwords or secrets stored there will be left where it is. Thanks for helping out :) -- Andreas Ericsson

Re: [Nagios-users] Error compiling Nagios 3 on CentOS 6.2 minimal

2012-08-20 Thread Andreas Ericsson
rl. It's been removed from Nagios 4, which still masquerades as Nagios 3.4.1 (although not in the tarball) and shouldn't be used if you want your Nagios installation stable and without memory leaks. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] A couple of Nagios NEB plugin API questions

2012-08-10 Thread Andreas Ericsson
s of "this should probably be documented too". > > Thank you for answering, > You're welcome. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering

Re: [Nagios-users] A couple of Nagios NEB plugin API questions

2012-08-09 Thread Andreas Ericsson
re not, I'd like to > know "extern whattype* what" gives me access to the parsed Nagios > configuration data. > Good question. I just access the global variables after Nagios has parsed them. In Merlin, the module command argument points to a configuration file, which Merl

Re: [Nagios-users] A couple of Nagios NEB plugin API questions

2012-08-09 Thread Andreas Ericsson
dedicated callback? By accessing some global data structure within the > Nagios core process that loads my module? > It's the "char *" argument to your module's nebmodule_init() function. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] strange behavior disabling checks

2012-08-08 Thread Andreas Ericsson
> It happens if you have enabled state retention data and disable active checks from the webinterface and then enable them again. In that case, altering the configuration doesn't help, since the saved retention state still claims you've manually overridden the configuration. -- Andreas

[Nagios-users] Just a heads up

2012-07-08 Thread Andreas Ericsson
ntainer duties. Live with it. It's just for three weeks, so I'm sure you can manage. If it's raining I might go online a short while, but don't count on it. Cheers -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel:

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Andreas Ericsson
d the group is nagios (just as > check_icmp), but I still can't access the total process list. > In the command definition, should I make something like this? > > command[check_total_procs]=/usr/local/nagios/libexec/sudo check_procs -w > 150 -c 200 > That might h

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Andreas Ericsson
e remote Nagios Server using NRPE, I also have the wrong result of 2 > processes. > Is there a fix for this? May I have to write a script for myself? > The only fix is to run check_procs as root, or make the plugins suid root. Writing your own script won't work either, since it'

Re: [Nagios-users] Allow access to custom variables outside Nagios

2012-06-18 Thread Andreas Ericsson
t with something that echoes the output of 'set' and 'env' to a tempfile and see what you get there. It's possible the documentation regarding their names is wrong. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.

Re: [Nagios-users] Large scale installation

2012-06-15 Thread Andreas Ericsson
g any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today&#

Re: [Nagios-users] Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time

2012-06-05 Thread Andreas Ericsson
Thanks for the verifications, both of you. I'll push the changes upstream later today. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wa

Re: [Nagios-users] Nagios 3.4.1 keeps sending notifications for hosts and service(s) in scheduled shutdown time

2012-06-05 Thread Andreas Ericsson
One question though: The original "return early" patch was meant to fix a problem where contacts were being re-notified of downtime when Nagios restarted in the middle of a downtime period. Is that problem still fixed with the patch found in the issue tracker? -- Andreas Erics

Re: [Nagios-users] Manually run custom command via nagios dashboard possible?

2012-05-26 Thread Andreas Ericsson
> The latter. > > On Fri, May 25, 2012 at 10:21 AM, Andreas Ericsson wrote: > >> On 05/25/2012 03:29 PM, Ajay Jethani wrote: >>> I'd like the nagios dashboard to allow me to run commands MANUALLY when I >>> see there is an issue. >>> For example, whe

Re: [Nagios-users] Manually run custom command via nagios dashboard possible?

2012-05-25 Thread Andreas Ericsson
ch is something we'll most likely never (ever) do. Most people who've wanted to do similar things make a separate page for it, point action_url or notes_url to that page, and then handle stuff in a script of their own. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] Loosing NAGIOS_* env variables in 3.4.1

2012-05-25 Thread Andreas Ericsson
u could enable environment > macros per command. Then you could have the default be off to get > better performance for checks, but still get them for notification > commands, which is often the main place they are useful. > They're hardly useful there either, tbh, and if you real

Re: [Nagios-users] Loosing NAGIOS_* env variables in 3.4.1

2012-05-24 Thread Andreas Ericsson
t; Make sure you're not using large_installation_tweaks and that you have enable_environment_macros=1 set in nagios.cfg. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering

Re: [Nagios-users] is Multiple instances of broker_module possible?

2012-05-24 Thread Andreas Ericsson
ossible? > It should be. Try and find out. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think w

Re: [Nagios-users] Nagios 3.4.0 double quote in command bug (fixed)

2012-05-16 Thread Andreas Ericsson
bmitted via Perfdata. Back to nagios-3.2.3 again and > all 31 checks are processed. Please tell me if you need any more > details, performance data template configuration or something like that. > This is a slightly older bug about perfdata not being processed when

Re: [Nagios-users] Nagios 3.4.0 double quote in command bug (fixed)

2012-05-13 Thread Andreas Ericsson
h though. I'll see if I get time to take a look at the compile problem tomorrow. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol,

Re: [Nagios-users] nagios backup

2012-05-12 Thread Andreas Ericsson
e to system settings and probably has nothing to do with Nagios. I assumed you understood that the new system has to be capable of sending emails and text messages as well if you want that functionality to work. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB

Re: [Nagios-users] nagios backup

2012-05-11 Thread Andreas Ericsson
ple and quick manual tweaking of nagios.cfg, if any at all. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I

Re: [Nagios-users] Performance data not being returned

2012-05-10 Thread Andreas Ericsson
nd pipe are shipped in output while the perfdata doesn't seem to be. > I'm wondering if it might be something to do with the embedded perl > interpreter. Does NRPE use this to execute perl-flavoured plugins? > It does not. Only plugins executed directly by Nagios can b

Re: [Nagios-users] Any upcoming release?

2012-05-09 Thread Andreas Ericsson
ificant going on under > the covers. > > I guess there's now the problem of when the i/o broker is ready, is that > a 3.4.1 release? Seems kind of major for that. > Apparently it'll go into Nagios 4, and that one will most likely have a proper beta period, since it's

Re: [Nagios-users] Any upcoming release?

2012-05-09 Thread Andreas Ericsson
s? Someone might even fix that now that it's in the open). Happy testing. I'll get a proper fix in for the double-quote issue on friday, as I've got presentations to run all day tomorrow. On 05/09/2012 09:53 PM, Andreas Ericsson wrote: > On 05/09/2012 07:45 PM, Frost, Mar

  1   2   3   4   5   6   7   8   9   10   >