Posts by jm_fh

    Hi!


    I have an issue with the size of the icinga2.log file. It increase so quickly. I have modified the file /etc/icinga2/features-enabled/mainlog.conf to register only warning and critical messages:


    Code
    1. /**
    2. * The FileLogger type writes log information to a file.
    3. */
    4. object FileLogger "main-log" {
    5. severity = "warning"
    6. path = LocalStateDir + "/log/icinga2/icinga2.log"
    7. }

    This has worked, but i would like to set also log_duration or log_rotation period (daily, weekly, monthly...) is this possible? How can I achieve this?


    Thanks in advanced.


    JMFH

    The reason is because I have diferents disk connected to my system. I have one disk, where the Operating System (RH6.5) is installed, and a second dik (size 64GB) for installing different softwares.

    I have done 3 partitions in this other disk, 15GB each, and I have created the filesystems in each partition. My next step was mount the filesystem in a custom directory and now I need to install icinga2 in it (the other two filesystem will be to install jasperreports and grafana).


    • So, it would be possible?
    • If not, could I mount the filesystem in the default installation directory of icinga2 (/etc/icinga2)?
      • In this case, What will happen with the rest of directories created by the instalation? e.g: /etc/init.d/icinga2, /usr/sbin/icinga2, ...
      • My intention is to have all the files and directories created for the instalation under my filesystem


    Thanks!

    In that case, I will have to mount only the /etc/icinga2 directory to my filesystem?

    I have some doubts with this:

    • Configuration files will be duplicated? (/etc/icinga2 and in my filesystem)
    • What will happen with the rest of directories created by the instalation? e.g: /etc/init.d/icinga2, /usr/sbin/icinga2, ...


    Thanks!

    Hi!


    I need to install icinga2 in a diferent path that is used by default. I have created a filesystem in redhat 6.5 and I need to install incinga2 under this filesystem. Is there any way to do this using yum command? I have looking for something like --prefix or --installroot yum options but I don't find a solution. Is there a different way? building from source?


    Thanks in advance!

    Hi,


    I was looking for information about icinga2 and autodiscovery but I have not find a way to implement this.


    I need to monitor a wide network, which changes every week or 2 weeks. Some new hosts are being connected and some are being disconnected. It's a bit tedious to configurate each host (and services) manually and I would like to know if there is any way to do this automactically. Is there some plugin/addon related to autodiscovery? I mean, if a new host is added to the network, can Icinga2 recognize it, inform about it, and add it to the config files? Same for new services.


    Thanks in advanced.

    Hi,


    I would like to obtain, for example, a list with all hosts that are being monitoring, but most important, I would like to obtain a list for all linux server, or windows server, cisco routers, switchs... or any other group of devices.


    In the file host.conf I have define a custom variable, e.g: vars.os = "Linux"


    It is posible to obtain a report using this information?


    It is posible to obtain the information that I am asking for, in a other way? I didn't find information regarding to this.


    Thanks!

    Hi!


    It is possible to obtain a report including hardware invetory? I have installed JasperReports with Icinga2 but I don't find the way to do this. I have different devices, like routers, switches, windows/Linux servers and I would like to obtain different reports:

    • Whole Inventory
    • Linux Servers inventory
    • Windows Server inventory
    • Cisco routers inventory
    • ....

    Any help about it?


    Is there any other tool, different from Jasper, which could do this?


    Thanks!

    Hi all,


    Anyone kwons if it is posible to monitor how much bandwith is being use for snmp checks in icinga2?

    It's important for my solution to be able to monitor the percentage of bandwidth that is being used for this kind of checks (like if I were used NetFlow).


    In case of icinga can not provide this information, is there any tool, compatible with icinga2, where I can check this?


    Thanks in advance.

    Hi Pcasis,


    Thank you for your answer. With this information, 65 services and 87Kbps as aggregate traffic, it means 1.33Kbps/service. In my case (10000host x 10 services = 100000 services splited in 4 satellites plus one master (24000 for each satellite)) it will be 24000*1.33=31920Kbps wich means 31Mbps per Satellite and 31*4= 127Mbps for de Master. 31Mbps seems to be a lot of bandwith and I think that I am making some mistake or lose something, any idea?


    How do you configure your PoC to obtain this information, which check do you use? check_itraffic via snmp? I am trying to do my own PoC to test this.


    In my case I will run each check every 5 minutes.


    Any advice will be appreciate.


    Thanks!

    Hi,


    I am going to implement a monitoring solution with icinga2 for my firm and I need to know how much bandwith is this going to use. The solution has to monitor about 10000 hosts with 10 per host and I am worried about the bandwith utilization. The traffic has to cross some firewalls and is important to not saturate the current bandwith available or increase it if it would be necessary.


    Regarding to this, How much bandwith is used by a check command (an estimation will be fine)? I will use the following types of checks:

    ping, cpu, ram, snmp, and some windows and linux services.


    Many thanks for your help.


    JM

    Hi,


    I have recently installed PNP4Nagios with icinga2 and icingaweb2 in the same server. I also have MariaDB in a different server as a backend.


    My question is: is it possible to move or install PNP4Nagios in a different server from icinga, or at least install the RRD in other server?


    Thanks in advance.

    Yes, nodes are virtualized. Ok, I will follow your advice in a lab enviroment and check how it works.


    It would be any difference (regarding to the number of satellites and master nodes) if I will used different checks than snmp or it doesn't matter? It is very probably than in a close future I will have to monitor some linux and windows server for a differen deparment of my firm, the number of hosts in this case will be around 1000.

    Service to monitor for this case: ping, CPU, RAM, HDD, and some linux and windows services (10 service per host more o less)


    Thanks.