(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.ka = {})); }(this, function (exports) { 'use strict'; var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : { l10ns: {} }; var Georgian = { weekdays: { shorthand: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"], longhand: [ "კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი", ] }, months: { shorthand: [ "იან", "თებ", "მარ", "აპრ", "მაი", "ივნ", "ივლ", "აგვ", "სექ", "ოქტ", "ნოე", "დეკ", ], longhand: [ "იანვარი", "თებერვალი", "მარტი", "აპრილი", "მაისი", "ივნისი", "ივლისი", "აგვისტო", "სექტემბერი", "ოქტომბერი", "ნოემბერი", "დეკემბერი", ] }, firstDayOfWeek: 1, ordinal: function () { return ""; }, rangeSeparator: " — ", weekAbbreviation: "კვ.", scrollTitle: "დასქროლეთ გასადიდებლად", toggleTitle: "დააკლიკეთ გადართვისთვის", amPM: ["AM", "PM"], yearAriaLabel: "წელი", time_24hr: true }; fp.l10ns.ka = Georgian; var ka = fp.l10ns; exports.Georgian = Georgian; exports.default = ka; Object.defineProperty(exports, '__esModule', { value: true }); }));

Operation Tips

Operation on the UI is similar to operating system's standard file manager. However, Drag and Drop is not possible with mobile browsers.

/* CSS for adverts */ .updraft_notice_container { height: auto; overflow: hidden; } .updraft_review_notice_container { padding: 12px; display: -webkit-box; display: -ms-flexbox; display: flex; } .updraft_advert_button_container { margin-bottom: 10px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .updraft_advert_button_container .dashicons { margin-left: 10px; } .updraft_advert_content_left { float: none; width: 80px; padding-top: 9px; margin-right: 9px; } .updraft_advert_content_left_extra { float: none; width: 100px; padding-right: 15px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .updraft_advert_content_left img { min-height: 72px; min-width: 72px; } .updraft_advert_content_right { float: none; width: auto; overflow: hidden; font-size: 16px; } .updraft_advert_content_right p { font-size: 16px!important; } .updraft_advert_bottom { margin: 10px 0; padding: 10px; font-size: 140%; background-color: white; border-color: #E6DB55; border: 1px solid; border-radius: 4px; } .updraft-advert-dismiss { float: right; font-size: 13px; font-weight: normal; } h3.updraft_advert_heading { margin-top: 5px !important; margin-bottom: 5px !important; } h4.updraft_advert_heading { margin-top: 2px !important; margin-bottom: 3px !important; } .updraft_center_content { text-align: center; margin-bottom: 5px; } .updraft_notice_link { padding-left: 5px; } .updraft_text_center { text-align: center; } @media screen and (min-width: 560px) { .updraft_advert_content_left, .updraft_advert_content_left_extra { float: left; } } Ping funcionalities with non-privileged user - Pandora FMS Community

Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Bienvenido a la comunidad de Pandora FMS Forums Community support Advanced troubleshooting Ping funcionalities with non-privileged user

  • Ping funcionalities with non-privileged user

    Posted by Salim on septiembre 25, 2009 at 20:08

    I’m Running PandoraFMS with a non-privileged User called pandora. I know that the ICMP features don’t work without pivilégios root, then the Host Alive module didn’t work. I changed the file /usr/local/bin/pandora_network at line 336 and 365 and changed the type of ping used, library Net::Ping, from «icmp» to «tcp»:

    $ p = Net:: Ping-> new ( «tcp», $ l_timeout, 32);

    Thus, the Host Alive module works now, but not for all agents. For Publics IPs (type 200.X.X.X) the module works fine, but when I use a private IP (like 192.168.xx) the module doesn’t work. I don’t know why.

    With the kind of ping changed to «tcp» (Library Net:: Ping) module Host Latency does not work, too. Why PandoraFMS uses «icmp» option?

    Best Regards

    Sancho replied 16 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • Sancho

    Administrator
    septiembre 26, 2009 at 23:37
    2428 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    ICMP option it’s suppossed to be more accurate to get network latency information.

    In 3.0 version we drop perl usage for ping and rely on system’s ping command, much more portable and we don’t need to run as root. Perl ICMP ping is not threadsafe and locks are slowing down alot the network monitoring server.

Log in to reply.