Hi all,
I'm using a program named cacti ( to gather data from various sources and put that data into rrd files. It's written in php.
Cacti can use different ways to see if a host is online. One of them is with icmp pings. But the polling script needs to be run with root privileges to be able to create icmp packages (that's seems to be default in linux).
I know in perl there exists a module named Net:ing which uses the external suid ping command. This enables a script that runs with default permissions to ping.
I know perl but I don't know PHP at all. I'm just fishing for more info if there's something similar for PHP?
thanks in advance
I'm using a program named cacti ( to gather data from various sources and put that data into rrd files. It's written in php.
Cacti can use different ways to see if a host is online. One of them is with icmp pings. But the polling script needs to be run with root privileges to be able to create icmp packages (that's seems to be default in linux).
I know in perl there exists a module named Net:ing which uses the external suid ping command. This enables a script that runs with default permissions to ping.
I know perl but I don't know PHP at all. I'm just fishing for more info if there's something similar for PHP?
thanks in advance