Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

External ping

Status
Not open for further replies.

emat

Technical User
Sep 20, 2005
18
BE
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::ping 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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top