Ask Your Question
1

Does anyone know of any snmp module that works on Solaris 10,11?

asked 2017-05-01 16:21:10 -0500

Adam gravatar image

I am working with an SNMP module from the forge on my RedHat systems https://forge.puppet.com/razorsedge/snmp

but it does not work on Solaris.

Any hint or direction it would be appreciated

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-01 20:56:24 -0500

smarlow gravatar image

To my knowledge there isn't an SNMP module for Solaris yet. You could fork the Razorsedge module and add Solaris 10/11 support, however.

Looking at the project what you would need to do is add Solaris 10/11 to params.pp and fill in the appropriate values for the variables.

edit flag offensive delete link more

Comments

Thank you I will try that, if you have any example to how to add it in params.pp, I would appreciate it

Adam gravatar imageAdam ( 2017-05-02 08:44:24 -0500 )edit

Here's a link to the file in question: https://github.com/razorsedge/puppet-snmp/blob/master/manifests/params.pp#L345 It's a case statement on osfamily, so you'd add a section for Solaris with those variables set appropriately.

smarlow gravatar imagesmarlow ( 2017-05-02 14:13:28 -0500 )edit

since I have this module already working on my master for all the redhat nodes, how can I overwrite his code ? afetr adding the Solaris section

Adam gravatar imageAdam ( 2017-05-02 14:22:24 -0500 )edit
1

If you are deploying via a Puppetfile you can specify where to get the module with the :git parameter. You simply need to fork the module, make the changes, and host it somewhere. Most commonly you can do this on Github simply by hitting the 'fork' button at https://github.com/razorsedge/puppet-snmp

smarlow gravatar imagesmarlow ( 2017-05-02 14:39:43 -0500 )edit

I am deploying via Puppetfile as : mod 'razorsedge-snmp', '3.6.0', I am using gitlab though

Adam gravatar imageAdam ( 2017-05-02 14:43:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-05-01 16:21:10 -0500

Seen: 45 times

Last updated: May 01