Giter Site home page Giter Site logo

Uninitialized value in split about icli HOT 4 OPEN

jisakiel avatar jisakiel commented on June 30, 2024
Uninitialized value in split

from icli.

Comments (4)

derf avatar derf commented on June 30, 2024

The warnings should be fixed in 08da443, they were probably caused by a contact group which does not contain any contacts.

Regarding acknowledgments: Does it say "Acknowledged localhost/RAID: we know"? If so, is the file returned by config_data --module App::Icli --config command_file writable by the user running icli?

from icli.

jisakiel avatar jisakiel commented on June 30, 2024

I don't get that message when running the command. Icli is running as root (either directly or with sudo) to make sure I can read the status file.

Also, when I run that command I get Can't locate App/Icli/ConfigData.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 23) line 3.

I have tried bypassing the debian build and directly building from the .tar.gz , in case the debian/rules might be missing something , but it simply installs the man page and the icli binary to /usr/local , resulting in the same error message when calling config_data.

My perl install is the squeeze one, 5.10.1-17squeeze6 . Might this be related to perl versions? Any pointers on how to help you debugging it?

Regarding the warnings, it is more than possible that I get them from empty contact groups, as the icinga config is automatically generated from scripts.

from icli.

derf avatar derf commented on June 30, 2024

Hm... perl 5.10.0 should be sufficient for that. Does it work when using icli -F /path/to/icinga.cmd ...?
(default path for that is /var/lib/icinga/rw/icinga.cmd, but you probably have a different one)

from icli.

jisakiel avatar jisakiel commented on June 30, 2024

Both icli and `icli -F pathwork (as myicinga.cmd``is where you said, in the default path). What doesn't work is the``config_data``line.

from icli.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.