Posts by feststelltast3

This forum was archived to /woltlab and is now in read-only mode.

    Hi folks


    I have just upgraded my Icinga instance to the latest version (r2.8.0-1).

    The upgrade of the MySQL database ran without any error message.

    So far everything is fine!


    Now I logged in to Icingaweb2 and I saw that the Icinga2 backend is not running.

    So I checked the icinga2 service and received the following error message:



    I disabled the feature api, restarted icinga2, enabled feature api & restarted icinga2 again - without any success.

    by the way: i also updated to the newest version of icinga director (maybe it's relevant).


    Thank you in advance for all your help and comments.:)

    I solved the problem.

    I created a file in /usr/share/icingaweb2/modules/nagvis/ instead of /etc/icingaweb2/modules/nagvis and so of course this could not work.

    So the mistake was mine, thank you very much anyway!

    Hi guys,


    after I've got this error, i installed the newest version of nagvis and the error didn't show up again.

    The new error has to do something with the maps and the paths, maybe i messed something up in the ini.php.

    It is shown in the icingaweb2-module.


    Have a look:

    in english: The path "/usr/share/nagvis/etc/maps/demo-overview.cfg" doesn't exist.


    Here also the nagvis.ini.php:

    And some info about nagvis itself:


    Thanks for your help,

    Leon

    Okay, i removed nagvis completely from the server.

    Do you have a good tutorial to install on Ubuntu 16.04 with icingaweb2auth, or should i still use here michis tutorial?
    My goal is to use icingaweb2auth because i don't want to use the login prompt of nagvis.

    Cheers,

    Leon

    The map rz_altbau itselft contains one picture (.png) of a room and 8 Map-Icons with labels where you click on to open the specific map of a rack. When i try to open this map it throws the error.

    The map rz_neubau doesn't contain anything except an image of a room. The name of the map is "rz_neubau", the set Alias is "Rechenzentrum Neubau"


    Feel free to ask if you need further information!

    Hi guys,


    Situation: created maps in Nagvis, want to add a host to a map -> Error


    Nagvis: v1.8

    PHP: 7.0.22-0ubuntu0.16.04.1

    Loaded Modules:

    Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, yaml, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, intl, json, ldap, exif, mcrypt, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, Zend OPcache


    Thanks for your help,

    Leon


    --

    Update:

    Other maps are shown, only on the map where I tried to add the host appears the error.
    The othere maps don't contain any hosts.

    Edit:


    i found out how to filter for groups and add the synchronized hosts to my hostgroups.

    I now want to filter out all hosts where the hostIP var is empty.


    parent=Infrastruktur&hostIP!=''

    does not work as filtering argument, it imports still hosts with no address assigned...

    Hi guys,


    next to my hardware machines i want to import the virtual machines of my company via the Icingaweb2 VMware vSphere module.

    The connection works and i get a preview. Without any specific modificators and sync-properties or filters in the sync rule it imports all the machines - great until you see that some

    machines have no FullName rather than an ip adress!




    My goals:

    • import machines and get no errors likeDiese Synchronisationsregel schlug bei der letzten Prüfung um 2017-07-31 20:08:45 fehl:Data is not nested, cannot access guest.guestFullName: stdClass::__set_state(array( 'guest' => NULL, 'hostIP' => NULL, 'name' => 'ANSIBLE01', ))
      when trying to assign the guest.guestFullName to the custom var "os".
    • only import VMs that are running
    • only import VMs where an IP-adress is assigned (for that i configured already a modificator, see screenshot)
    • assign a specific host_template (windows or linux)
    • assign a specific hostgroup (Windows-Server or Linux-Server)

    For the beginning, please just help me with the possibility to import just running windows machines and assign them to the hostgroup windows-server

    I am a bit confused about the possibilities in the sync-properties with RegEx etc.

    Maybe there is any tutorial out there or somebody has experience with import via the icingaweb2 vSphere module?


    Thanks a lot!

    Hey,

    sorry for my late answer!


    I have added:


    Code
    1. object TimePeriod "Always" {
    2.     import "legacy-timeperiod"
    3.     import "default_timeperiod"
    4. ranges = {
    5.     }
    6. }
    7. template TimePeriod "default_timeperiod" {
    8. import "legacy-timeperiod"
    9. }

    What is missing:

    The "ranges"-tab.


    by the way:

    • i navigated to Icinga Director -> Timeperiods -> Timeperiods -> Always
    • i didn't create users or notification templates
    • i created a director-global zone

    Did i forget something or am I at the wrong place in the director? I am really confused, the director also seems to look different to my first icinga instance :|


    Here again a screenshot after I clicked on "save". Nothing changes, no tab with "ranges" does appear.



    Thanks for your help!

    Hi guys,


    i installed a new Icinga2 instance to try and learn automation/import.

    The problem: When i want to add a custom timeperiod, the ranges are missing (clicked already on "save").

    Also when i called my period 24x7, the director won't commit the last changes.



    Did i forget something to configurate?


    Thanks for helping :)