Daniel Rich wrote:
I'm running into a problem using gmetric. I am trying to push the
RedHat release into my metric data, but am getting the following error:
gmond could not connect to multicast channel: Bad address
I'm still trying to figure out what is going on with this, but just as an FYI I found a cosmetic bug in gmetric. The error above should say "gmetric could not connect...", not gmond.
Also, it's not necessarily a RedHat 7.2 issue, I have one 7.2 machine where gmetric works fine.
Here's a patch (ooo, this was a toughie :) ) *** gmetric/gmetric.c.orig Fri Nov 21 14:27:01 2003 --- gmetric/gmetric.c Fri Nov 21 14:27:10 2003 *************** *** 101,107 ****(struct in_addr *)&(entry->intf_addr.addr_ip), args_info.mcast_ttl_arg);
if ( !mcast_socket )
{
! perror("gmond could not connect to multicast channel");
return -1;
}
--- 101,107 ----
(struct in_addr
*)&(entry->intf_addr.addr_ip), args_info.mcast_ttl_arg);
if ( !mcast_socket )
{
! perror("gmetric could not connect to multicast channel");
return -1;
}
--
Dan Rich <[EMAIL PROTECTED]> | http://www.employees.org/~drich/
| "Step up to red alert!" "Are you sure, sir?
| It means changing the bulb in the sign..."
| - Red Dwarf (BBC)
pgpp2YOlOLI2c.pgp
Description: PGP signature

