Hello there, I would like to automatize my snmpd.conf with all local disks discovered by puppet. For example, in my template : snmpd.erb I have : --//-- syslocation "<%= syslocation %>" syscontact "ITadmin <itadmin@cfm.fr>" rocommunity cfmpublic sysservices 78 # Monitoring des partition disk / 2000 disk /opt 2000 --//-- I''d like to add disk <local mount> 2000 on every local disks. Before I doing anything about that, I wanted to know if someone has already done that before ? /Xavier -- Xavier Beaudouin - http://kazar.net/ http://magicduck.labrute.fr/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hello If you really want all disks 2000 then net-snmp''s "includeAllDisks 2000" might do for you. Neil Xavier Beaudouin wrote:> Hello there, > > I would like to automatize my snmpd.conf with all local disks discovered > by puppet. > > For example, in my template : snmpd.erb I have : > > --//-- > syslocation "<%= syslocation %>" > syscontact "ITadmin <itadmin@cfm.fr <mailto:itadmin@cfm.fr>>" > rocommunity cfmpublic > > sysservices 78 > > # Monitoring des partition > disk / 2000 > disk /opt 2000 > --//-- > > I''d like to add disk <local mount> 2000 on every local disks. Before I > doing anything about that, I wanted to know if someone has already done > that before ? > > /Xavier > > -- > Xavier Beaudouin - http://kazar.net/ > http://magicduck.labrute.fr/ > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hello Neil, This rocks :p Thanks :) /Xavier 2009/10/16 Neil Prockter <n.prockter@lse.ac.uk>> > Hello > > If you really want all disks 2000 then net-snmp''s "includeAllDisks 2000" > might do for you. > > Neil > Xavier Beaudouin wrote: > > Hello there, > > > > I would like to automatize my snmpd.conf with all local disks discovered > > by puppet. > > > > For example, in my template : snmpd.erb I have : > > > > --//-- > > syslocation "<%= syslocation %>" > > syscontact "ITadmin <itadmin@cfm.fr <mailto:itadmin@cfm.fr>>" > > rocommunity cfmpublic > > > > sysservices 78 > > > > # Monitoring des partition > > disk / 2000 > > disk /opt 2000 > > --//-- > > > > I''d like to add disk <local mount> 2000 on every local disks. Before I > > doing anything about that, I wanted to know if someone has already done > > that before ? > > > > /Xavier > > > > -- > > Xavier Beaudouin - http://kazar.net/ > > http://magicduck.labrute.fr/ > > > > > > > > > >-- -- Xavier Beaudouin - http://kazar.net/ http://magicduck.labrute.fr/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---