Hi, Probably there is a more straightforward way of doing this. Just my 5 cents
Supposing you have the dashboard installed: 1.- Create a script that checks the msyql db for servers that changed the state during last run. Check nodes table 2.- Make this script launch the traps you need. 3.- Put this script in a cron job In less than 10-20 lines/30 minutes you should have a working solution. Quick and dirty :) Best regards -------------------------------------------------------------------------------------- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE -------------------------------------------------------------------------------------- 2014-11-18 15:50 GMT+01:00 Spriya <supriya.uppalap...@gmail.com>: > Hi , > > How to use snmp trap command if the server goes to changed state in puppet? > > Anyone,Please help me > > Thank you > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/eec10178-e00d-4492-a89d-c37434f48592%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CABS%3Dy9tMp0FaZHWzyQVNYsvH3Du-zhg8OTX4U7NtQQtrn_0MAw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.