[icinga-users] Error afterupgrading to 2.4 from 2.3

2017-09-28 Thread Bertalan Voros
Hello All, The following error appears in the startup log after having upgraded our Icinga server. Have you seen this before? This is repeated a couple of times. critical/config: Error: Error while evaluating expression: Tried to access undefined script variable 'PluginNotification' Location: i

[icinga-users] api question - am I doing something wrong

2017-05-25 Thread Bertalan Voros
Hello All, I have just started looking into using the api for certain tasks but run into some difficulties. Icinga: 2.5.4-1 The client I am using to access the api is MS PowerShell's Invoke-WebRequest (I know I know). I also have the api configured according to the documentation with a single u

[icinga-users] Icinga 2 crashes with out of memory error in syslog

2016-07-29 Thread Bertalan Voros
Hello All, Our Icinga 2 server is unable to start, crashes at the "checking the config" stage without anything useful in the statrup log. Upon starting, the service maxes out both cpus and starts filling RAM, this goes on until it runs out of memory including swap then crashes. Adding more ram and

Re: [icinga-users] include_once(HTMLPurifier.php): failed to open stream: No such file or directory

2016-02-03 Thread Bertalan Voros
Thanks a lot, all is well now. On Wed, 3 Feb 2016 at 10:39 Alexander Wirt wrote: > On Wed, 03 Feb 2016, Eric Lippmann wrote: > > > Hi, > > > > Debian / Ubuntu packages are broken atm. Please run > > > > apt-get install php-htmlpurifier > Its more that the embedded version is broken and not the p

[icinga-users] include_once(HTMLPurifier.php): failed to open stream: No such file or directory

2016-02-03 Thread Bertalan Voros
Hello All, We have just had this error happen overnight. When I run a search, there is no HTMLPurifier.php to be found. It's an Ubuntu 14.04 with all patches applied. Has anyone seen this before? ___ icinga-users mailing list icinga-users@lists.icinga

Re: [icinga-users] Windows agent crashes after Windows patches and reboot

2016-01-29 Thread Bertalan Voros
(x86)\ICINGA2\etc\icinga2/conf.d/services.conf(116): host_name = NodeName C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(117): check_command = "powershell" ^^^^^^^^ C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(118): vars.ps_command

[icinga-users] Windows agent crashes after Windows patches and reboot

2016-01-29 Thread Bertalan Voros
Hello All, The icinga agent crashes when during the service starting. This started happening after applying Windows patches and the server having restarted. Has any of you encountered this before? Example event log entry: *Faulting application name: icinga2.exe, version: 1.0.0.0, time stamp: 0

Re: [icinga-users] Icinga2 server 2.3.11 - icinga2 linux agent 2.4.1 SSL error

2015-12-16 Thread Bertalan Voros
another solution. > > On Wed, Dec 16, 2015 at 12:47 PM Bertalan Voros > wrote: > >> Hello All, >> >> I am getting the following error when trying to add a new linux server to >> be monitored. >> >> The error occurs while going through the node w

[icinga-users] Icinga2 server 2.3.11 - icinga2 linux agent 2.4.1 SSL error

2015-12-16 Thread Bertalan Voros
Hello All, I am getting the following error when trying to add a new linux server to be monitored. The error occurs while going through the node wizard. warning/TlsStream: OpenSSL error: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure critical/cli: Peer did not present

[icinga-users] icinga2 agent error on Ubuntu 14.04

2015-11-10 Thread Bertalan Voros
Hello All, Because of a recurring problem with incorrect alerts from a certain ubuntu host I attemped to remove and reinstall the agent to see if that makes a difference. The following process was used to uninstall the agent. *apt-get purge icinga2* *apt-get autoremove* Then any remaining fold

Re: [icinga-users] how do i connect a client?

2015-11-04 Thread Bertalan Voros
First I recommend reading the Monitoring Basics part of the documentation. http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/monitoring-basics#monitoring-basics Then further down about monitoring remote systems. http://docs.icinga.org/icinga2/

Re: [icinga-users] (no subject)

2015-11-04 Thread Bertalan Voros
The fix for now is to uninstall v2.3.11, remove any remaining files from C:\Program Files(x86) then install v.2.3.4. On Wed, 4 Nov 2015 at 10:18 Bertalan Voros wrote: > This is the windows agent out of the box exhibiting this behavior. I only > made changes after noticing the problem to

Re: [icinga-users] (no subject)

2015-11-04 Thread Bertalan Voros
ay you should be able to capture the exact command line which is > being called. > > In my opinion this has to be related to either the CheckCommand and/or > your apply rules. > > Regards, > Markus > > Sent from my iPhone > > On 03 Nov 2015, at 16:22, Bertalan Voros wro

Re: [icinga-users] (no subject)

2015-11-03 Thread Bertalan Voros
-u mb". Might that be contributing? > Shouldn't, considering you specified the % so units shouldn't matter. > > Also, I know % is used in Windows environment variables, eg %PATH% and > stuff like that, so maybe that is playing into it somehow? > > > cmh &g

Re: [icinga-users] (no subject)

2015-11-03 Thread Bertalan Voros
Interestingly, if I run the command by hand, it returns the expected output. C:\Program Files (x86)\ICINGA2\sbin>check_disk -u mb -p C: -w 10% -c 5% DISK CRITICAL - free space:C:\ 688 MB (2%); | C:\=688MB;3036.80002;1518.40001;0;30368 On Tue, 3 Nov 2015 at 11:56 Bertalan Vo

[icinga-users] (no subject)

2015-11-03 Thread Bertalan Voros
Hello, I have just discovered the following issue affecting our Windows servers that have version 2.3.11 installed. The disk is displayed as OK even though there is only 2% left. [image: Untitled picture.jpg] The default according to command plugins conf: vars.disk_wfree = "20%" vars.disk_cfre

Re: [icinga-users] How to mix agnet based and agentless monitoring?

2015-10-23 Thread Bertalan Voros
ck will run from the server instead of > the Icinga2 agent on your Windows machine. Does this help? > > -Eric > > On Thu, Oct 22, 2015 at 8:15 AM, Bertalan Voros > wrote: > >> Hello All, >> >> I would like to run some http checks against several of our Windows

[icinga-users] How to mix agnet based and agentless monitoring?

2015-10-22 Thread Bertalan Voros
Hello All, I would like to run some http checks against several of our Windows servers. A check like this: http://10.10.10.10/api/healthcheck. Expecting a 200. All of our Windows servers are being monitored using the Icinga2 agent and the check_http plugin doesn't seem to exist on Windows. I tr

Re: [icinga-users] after update dashboard is empty

2015-10-11 Thread Bertalan Voros
vital. and so far, it worked well. > > I'm seeing this update pushed only on debmon > icinga repository is still at 2.0.0~rc1 (for jessie anyway) > hopefully whatever happened there will be fixed here. > > On 10-Oct-15 12:11 PM, Bertalan Voros wrote: > > In my case yes, gi

Re: [icinga-users] after update dashboard is empty

2015-10-10 Thread Bertalan Voros
In my case yes, given that Icinga web 2 was not a stable release, so not considered production ready and also because it has no impact on monitoring. On Sat, 10 Oct 2015 at 08:40 Horatiu N wrote: > > On 10-Oct-15 1:07 AM, Bertalan Voros wrote: > > I had similar issues. > > I

Re: [icinga-users] after update dashboard is empty

2015-10-09 Thread Bertalan Voros
I had similar issues. I fixed it by purge uninstalling icingaweb2, dropping the related database and installing it cleanly. Now all is well, will have to recreate my dashbords though. On Fri, 9 Oct 2015 at 21:09 Paul Puschmann wrote: > Hi Eric, > > I had the same issue with Debian Jessie after

Re: [icinga-users] How to remove node and its history

2015-10-01 Thread Bertalan Voros
I did have a look at the db but I am not dba enough to know how to purge it without causing a problem. On Thu, 1 Oct 2015 at 07:19 Assaf Flatto wrote: > On 29/09/15 13:13, Bertalan Voros wrote: > > Hello All, > > Is it possible to completely purge a monitored system out of >

Re: [icinga-users] False status displayed for a service on Icingaweb2

2015-09-30 Thread Bertalan Voros
to behave faulty, there might even be something odd in it's > apt.conf - are your servers stand alone or are they clones from a VM image? > > Don't have any better suggestions at the moment. > > Cheers, > Nicolas > > On 25 September 2015 at 13:52, Bertalan Voros >

[icinga-users] How to remove node and its history

2015-09-29 Thread Bertalan Voros
Hello All, Is it possible to completely purge a monitored system out of Icinga2/icingaweb2? There is one system that is displaying some weird stuff in Icingaweb2 and i would like to purge it out hoping that it would get back to normal after that. ___ ic

[icinga-users] False status displayed for a service on Icingaweb2

2015-09-25 Thread Bertalan Voros
Hello All, For some reason an alert keeps flipping between critical then normal for the apt service for a single host. It was a valid alert in the morning, all packages were updated and it should now be OK. Just like it is now on all other monitored hosts. Already tried removing the host and rea

Re: [icinga-users] $icinga.time$ format

2015-09-14 Thread Bertalan Voros
M:%S" -d "$your.icinga.time"` > but I'm not sure that's what you want. > > Regards, > Jean > > > On 2015-09-14 14:20, Bertalan Voros wrote: > > Hello All, > > $icinga.time$ appears to produc

[icinga-users] $icinga.time$ format

2015-09-14 Thread Bertalan Voros
Hello All, $icinga.time$ appears to produce a string like this: 13:10:26 +0100 Is there a way to get rid of the +0100 bit? ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users

[icinga-users] Notification Escalation times

2015-09-14 Thread Bertalan Voros
Hello All, Could someone verify if my understanding is correct regarding the times set in a Notification object. The times.begin time will be used to send the first notification message and it would carry on re-notifying until the times.end time, if re-notification is enabled. Could or should ti

Re: [icinga-users] Question about variables

2015-09-11 Thread Bertalan Voros
assign where "value1" in vars.attribute > > apply2: > assign where "value2" in vars.attribute > > hth > Kai > > > >>> On 10.09.2015 at 15:36, Bertalan Voros > wrote: > > Hello All, > > > > If there is a variabl

[icinga-users] Question about variables

2015-09-10 Thread Bertalan Voros
Hello All, If there is a variable defined twice on one object, which value gets used? Does it get combined? Example: vars.attribute = "value1" vars.attribute = "value2" There are then two different apply rules using this. apply1: assign where vars.attribute == "value1" apply2 (somewhere else)

[icinga-users] Notification based on variables (tags)

2015-09-08 Thread Bertalan Voros
Hello All, I would like to set up notifications to be sent to various teams based on their interests. Coudl this be done by setting a variable on hosts/services and then setting a notification that applies to that? Is there a better way of doing this? Also how would this have to be done on host

Re: [icinga-users] Notification filter of user

2015-07-21 Thread Bertalan Voros
cinga_admin.png] On Thu, 16 Jul 2015 at 23:22 Michael Friedrich wrote: > Am 15.07.2015 um 12:38 schrieb Bertalan Voros: > > Hello All, > > > > I would like to create a user with the following notification filter, > > but can't really figure out how to achive this

[icinga-users] Notification filter of user

2015-07-15 Thread Bertalan Voros
Hello All, I would like to create a user with the following notification filter, but can't really figure out how to achive this in the user definition. Hosts: Recovery, Down, Unreachable Services: Recovery, Warning, Critical, Unknown Could someone show me an example? My user looks like this: o

Re: [icinga-users] How to turn off re-notofocations?

2015-07-08 Thread Bertalan Voros
> > On 08-07-2015 10:38, Bertalan Voros wrote: > > Hello All, > > Could someone tell me how to turn off or control the frequency of > re-notifications? > > Thank you, > Bertalan > > > ___ > icinga-users mailing &

[icinga-users] How to turn off re-notofocations?

2015-07-08 Thread Bertalan Voros
Hello All, Could someone tell me how to turn off or control the frequency of re-notifications? Thank you, Bertalan ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users

Re: [icinga-users] How to escape the '$' character in a CheckCommand definition?

2015-07-02 Thread Bertalan Voros
2015 at 10:55 Bertalan Voros wrote: > Unfortunately this doesn't seem to work either, the agent doesn't start > when it's like this. It's OK when the bit of code between * are removed. > Nothing in the log either. > > On Wed, 1 Jul 2015 at 10:46 Alexander Wirt wr

Re: [icinga-users] How to escape the '$' character in a CheckCommand definition?

2015-07-01 Thread Bertalan Voros
Unfortunately this doesn't seem to work either, the agent doesn't start when it's like this. It's OK when the bit of code between * are removed. Nothing in the log either. On Wed, 1 Jul 2015 at 10:46 Alexander Wirt wrote: > On Wed, 01 Jul 2015, Bertalan Voros wrote: >

[icinga-users] How to escape the '$' character in a CheckCommand definition?

2015-07-01 Thread Bertalan Voros
Hello All, Is it possible to escape the '$'? Of cource it's because of Windows. object CheckCommand "powershell" { import "plugin-check-command" command = [ "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe" ] arguments = { "-command" = {

Re: [icinga-users] Mixed agentless and agent based monitoring.

2015-06-18 Thread Bertalan Voros
sword" } Basically I would like to know how to pass the relevant information to the check command, the host ip address in this case. On Thu, 18 Jun 2015 at 12:49 Tobias von der Krone < icinga+us...@vonderkrone.info> wrote: > Hi Bertalan, > > this is possible. Maybe you use

[icinga-users] Mixed agentless and agent based monitoring.

2015-06-18 Thread Bertalan Voros
Hello All, I would like to use both agentless and agent based checks against some of our monitored hosts. I am using Icinga2 as a satellite node configured with the wizard on our linux systems, all is well. I am having problems when I try to apply services that would be executed from our Icinga

[icinga-users] How to set check_interval globally?

2015-06-02 Thread Bertalan Voros
Hello All, Where do I set the default check_interval to apply to everything globally. ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users

[icinga-users] Icinga2 client (Windows agent) check_service example

2015-06-01 Thread Bertalan Voros
Hello All, Could someone provide an example of monitoring a Windows service using the Icinga2 windows agent? I have the agnet set up and reporting back to our Icinga2 server but there doesn't seem to be an example definition using the check_service.exe plugin. I can run it manually and get a res