Discussion:
Set periodic SNMP SET task
Gabriel Linero
2013-02-21 14:24:34 UTC
Permalink
Gabriel Linero [http://community.zenoss.org/people/gabriel.lb] created the discussion

"Set periodic SNMP SET task"

To view the discussion, visit: http://community.zenoss.org/message/71619#71619

--------------------------------------------------------------
Hi,

SNMP SET command is not defined by default in Zenoss, but it is possible to define it, isnt it?
If it is possible, would be also possible to create and automatized task to send a command at any time?

Thank you


http://community.zenoss.org/message/71619#71619#71619/Beskrivelse: Beskrivelse: Beskrivelse: cid:9D0A7258-52C1-45F9-A270-10BFAE9E3D93 Set periodic SNMP SET task
Gabriel L. Blanco
Digital Channel Manager
"Software geek"
Clear Channel Norway
Tvetenveien, Bryn (Oslo)
M +47 90 70 03 26
BesÞk oss på www.clearchannel.no< http://www.clearchannel.no/ http://www.clearchannel.no/>
Clear Channel Norway AS, Registered Office: PO.Box 3813, Ullevål Stadion,N-0805 Oslo.Company number: 976227891. Registered in Norway. This email and any attachments are confidential and are intended for the addressee only. They may not be disclosed to, used by or copied in any way other than by the intended recipient. It may contain legally privileged or price sensitive information. If this email is received in error please notify the author immediately by replying to this email. Should you use the information or allow others to use it, you and they may be committing a criminal offence and/or tort.

http://community.zenoss.org/message/71619#71619#71619/Beskrivelse: Beskrivelse: play_signatur Set periodic SNMP SET task< http://www.clearchannel.no/produkter/play/play-digitale-muligheter http://www.clearchannel.no/produkter/play/play-digitale-muligheter
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71619#71619]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
themactech
2013-02-21 17:54:06 UTC
Permalink
themactech [http://community.zenoss.org/people/themactech] created the discussion

"Re: Set periodic SNMP SET task"

To view the discussion, visit: http://community.zenoss.org/message/71630#71630

--------------------------------------------------------------
You can have scripts execute when a certain event occurs, you would have to decide what trigger you want to react on.  If you just need an SNMP SET to run periodically then a calling it from a CRON job would do.  If that CRON job needs to react to Zenoss data, that can be scripted or you could have your Zenoss write the appropriate info/status/data to a file when events occur, then have the CRON job read the appropriate data off the file when it runs.

You could also have specific events of your choosing execute a script that would perform you SNMP set command.

Can you provide an example of what you are looking to do?

Manuel
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71630#71630]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Gabriel Linero
2013-02-22 07:06:37 UTC
Permalink
Gabriel Linero [http://community.zenoss.org/people/gabriel.lb] created the discussion

"Re: Set periodic SNMP SET task"

To view the discussion, visit: http://community.zenoss.org/message/71645#71645

--------------------------------------------------------------
Hi and thank you for the answer.

That is true that I can program a periodic task in my server with CRON or just by making a simple script that sends snmpset –v -2c –c public address OID s “value”
But I was wondering if it would be possible to automatized this with Zenoss. If not I see it is much easier what you are saying ☺

Thank you again!

Regards


http://community.zenoss.org/message/71645#71645#71645/Beskrivelse: Beskrivelse: Beskrivelse: cid:9D0A7258-52C1-45F9-A270-10BFAE9E3D93 Re: Set periodic SNMP SET task
Gabriel L. Blanco
Digital Channel Manager
“Software geek”
Clear Channel Norway
Tvetenveien, Bryn (Oslo)
M +47 90 70 03 26
BesÞk oss på www.clearchannel.no< http://www.clearchannel.no/ http://www.clearchannel.no/>
Clear Channel Norway AS, Registered Office: PO.Box 3813, Ullevål Stadion,N-0805 Oslo.Company number: 976227891. Registered in Norway. This email and any attachments are confidential and are intended for the addressee only. They may not be disclosed to, used by or copied in any way other than by the intended recipient. It may contain legally privileged or price sensitive information. If this email is received in error please notify the author immediately by replying to this email. Should you use the information or allow others to use it, you and they may be committing a criminal offence and/or tort.

http://community.zenoss.org/message/71645#71645#71645/Beskrivelse: Beskrivelse: play_signatur Re: Set periodic SNMP SET task< http://www.clearchannel.no/produkter/play/play-digitale-muligheter http://www.clearchannel.no/produkter/play/play-digitale-muligheter>

Fra: themactech mailto:***@zenoss.org ***@zenoss.org
Sendt: 21. februar 2013 18:54
Til: Blanco, Gabriel Linero
Emne: http://community.zenoss.org/message/71645#71645#71645/zenoss-users Re: Set periodic SNMP SET task Set periodic SNMP SET task

Zenoss Community< http://community.zenoss.org/index.jspa http://community.zenoss.org/index.jspa>

Re: Set periodic SNMP SET task
created by themactech< http://community.zenoss.org/people/themactech http://community.zenoss.org/people/themactech> in zenoss-users - View the full discussion< http://community.zenoss.org/message/71630#71630#71630 http://community.zenoss.org/message/71630#71630
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71645#71645]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...