Hi,

Appreciate your help. Do you have any sample script to just get started

Thank You

On Tuesday, November 18, 2014 10:44:42 AM UTC-5, Juan Sierra Pons wrote:
>
> 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                                 [email protected] 
> <javascript:> 
> 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 <[email protected] <javascript:>>: 
> > 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 [email protected] <javascript:>. 
> > 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a3da5bb9-f334-4f4a-8f35-724001cf9238%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to