Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path for fping issues #1

Closed
Gilgalidd opened this issue Oct 14, 2015 · 2 comments
Closed

path for fping issues #1

Gilgalidd opened this issue Oct 14, 2015 · 2 comments

Comments

@Gilgalidd
Copy link
Contributor

Hello,

I've a problem with fping path, here is my config file:

$config['method']       = "fping";
#$config['pingpath'] = "/usr/local/sbin/fping";
$config['pingpath'] = "/usr/bin/fping";

And the error:

/var/www/phpipam-agent# php index.php discover
sh: 1: /bin/fping: not found

/var/www/phpipam-agent# which fping
/usr/bin/fping

When I do a link to the path specified in the error It works well, maybe it's better to use env. variable instead of specified the path in conf. file?

ln -s /usr/bin/fping /bin/fping
@phpipam
Copy link
Owner

phpipam commented Oct 14, 2015

Hi, thanks for testing. Indeed settings were taken from main database and not from config.php . Should be fixed now, please test.

@Gilgalidd
Copy link
Contributor Author

It works !

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants