How can I install the packages from the EPEL software repository?
There are repository rpm packages for RHEL4 and RHEL5. The repository package installs the repo details on your local system for yum or up2date to use. Then you can install packages with your usual method, and the EPEL repository is included.
su -c 'rpm -Uvh https://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm'
su -c 'yum -y install foo'
If you’re debugging SIP, here are a few tools can make all the difference:
SIPp on Sourceforge,
SIPp config sample at: SIPfoundry,
callflow produces nice diagrams and sip_scenario is a similar product producing HTML.
And of course Wireshark (formerly Ethereal) and tcpdump.
A couple ofÂ tips when using sip_scenario:
tcpdump -s 0 -w pk.cap
-s … don’t truncate packets to default length of 96
-w … write output to pk.cap
sip_scenario 192.168.1.1:5060:1 -g:30 pk.cap
192.168.1.1:5060:1 … output ip addr 192.168.1.1 port 5060 in column 1
-g:30 … set column width to 30 (charsÂ wide?)
move the generated html files to a folder on your webserver and voila!
For more detailed help and samples: sip_scenario -syntax++
And here I’ve been wasting time installing chkconfig for Debian …
update-rc.d service_name defaults 20 90
Check man update-rc.d for details.
Not sure how but my Fawn automatically starts ntop on reboot. Either this is the default when you install the package or I’ve simply forgotten about creating links in /etc/rc3.d.
However, while everything looks nice, the network load info was missing. Also, restarting ntop (or rebooting) would lose all stats.
A quick look around turned up ‘rrd’ or Round Robin Database which is installed with rrdtool and then activating the plugin of the same name in ntop. But this lead to an error indicating that it couldn’t create/access files in /var/lib/ntop/rrd. Since ntop is launched at boot under control of user ‘ntop’, the solution was to simply give ownership of /var/lib/ntop/rrd to ntop.