Re: [CentOS] [SOLVED] Re: lost udp packets

2012-10-07 Thread Gordon Messmer
On 10/05/2012 11:53 AM, James Pifer wrote:
> Now I need to figure out how to have the traps forwarded but retain the
> real source of the trap.

If you want to forward the traps without modifying the source address on 
the UDP packet, you'll need to use iptables.  Add a DNAT rule to the 
PREROUTING chain in the nat table.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] Re: lost udp packets

2012-10-07 Thread James Pifer
On 10/7/2012 4:03 AM, Gordon Messmer wrote:
> On 10/05/2012 11:53 AM, James Pifer wrote:
>> Now I need to figure out how to have the traps forwarded but retain the
>> real source of the trap.
> If you want to forward the traps without modifying the source address on
> the UDP packet, you'll need to use iptables.  Add a DNAT rule to the
> PREROUTING chain in the nat table.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
I was able to add the following to snmptrad.conf and the source address 
stays:

format1 '%B [%b]: Trap %#v\n
format2 '%B [%b]: Trap %#v\n

Thanks,
James
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Removing/disabling console-kit-daemon

2012-10-07 Thread Emmanuel Noobadmin
I was trying to optimize a minimum memory VM and realized that this
process was taking up over 560M of virt memory. On googling, it seems
to be a known issue and doesn't seem to be needed except for graphical
desktop. Although virt memory isn't actual memory usage, the daemon is
still taking up almost 4MB of limited memory, which on a VM with only
384MB feels relatively significant to me.

Earlier in May, there was also a mailing list thread that indicates
removing console-kit-daemon requires getting rid of hal as well.

Is it safe to remove both console-kit and hal for headless
console-only web application VMs that also needs mdadm?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Removing/disabling console-kit-daemon

2012-10-07 Thread Nux!
On 08.10.2012 07:10, Emmanuel Noobadmin wrote:
> I was trying to optimize a minimum memory VM and realized that this
> process was taking up over 560M of virt memory. On googling, it seems
> to be a known issue and doesn't seem to be needed except for 
> graphical
> desktop. Although virt memory isn't actual memory usage, the daemon 
> is
> still taking up almost 4MB of limited memory, which on a VM with only
> 384MB feels relatively significant to me.
>
> Earlier in May, there was also a mailing list thread that indicates
> removing console-kit-daemon requires getting rid of hal as well.
>
> Is it safe to remove both console-kit and hal for headless
> console-only web application VMs that also needs mdadm?
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Emmanuel,

I think you're going to be fine without hal and ckd.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos