Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Home
Help
Search
Calendar
Login
Register
Openideas.info
|
Pandora FMS
|
Community general support
|
Advanced troubleshooting and problems
|
Ping funcionalities with non-privileged user
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Ping funcionalities with non-privileged user (Read 558 times)
0 Members and 1 Guest are viewing this topic.
Salim
Newbie
Karma: 0
Offline
Posts: 1
Ping funcionalities with non-privileged user
«
on:
September 25, 2009, 05:08:31 PM »
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
Logged
Sancho Lerena
Administrator
Expert member
Karma: 24
Offline
Posts: 1151
I can see everything... with my glasses :-)
Re: Ping funcionalities with non-privileged user
«
Reply #1 on:
September 26, 2009, 08:37:27 PM »
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.
Logged
-- See you in the other screen.
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Pandora FMS
-----------------------------
=> Announcements and news
=> Suggestions and new feature request
=> F for Flexible... or awesome ideas using Pandora FMS
=> Community general support
===> Español / Spanish forum
===> Help for new users in Pandora FMS
===> Advanced troubleshooting and problems
===> 日本語フォーラム / Japanese forum
===> Development lists (Read only)
-----------------------------
General Category
-----------------------------
=> Epic Tunnelizer
=> Lechuga CMS
=> Sysadmin tools
=> General monitoring discussion
=> Openideas General Forums
===> Linux systems
===> Unix systems
=> Babel Enterprise
=> Integria IMS
=> phpRADmin
Loading...