Skip to main content

I am curious what languages are used by the community for reporting, monitoring and/or automation. I personally do a lot of scripting with PowerShell. What language is worth learning it?

I wish, Veeam will replace their PowerShell Plug-In by a PowerShell module in www.powershellgallery.com.

@Kseniya Just a little thing: when embedding code here in the community, PowerShell is no language-option. Maybe this can be added in the future? 

I am using PowerShell, too.

But I will try to play around with the RESTful API in the next time...


I am using PowerShell, too.

But I will try to play around with the RESTful API in the next time...

Fine! From time to time I try to use REST too. But even then I use PowerShell for API requests.


Hey @vNote42!

 

Thanks for sharing this idea. This is a good point, I will look into this! :nerd:


We use powershell to check jobs with Centreon (nagios like)


We use powershell to check jobs with Centreon (nagios like)

So you trigger a powershell script out of Centreon and visualize the output there? Sounds good!


We use powershell to check jobs with Centreon (nagios like)

So you trigger a powershell script out of Centreon and visualize the output there? Sounds good!


Yes every useful informations / alarms should be send to centreon in our company to be processed by a team 24/7. 

In fact nothing very impressing, you can use nsclient to launched your posh script. The script ouput just have to be the nagios standard.


I am curious what languages are used by the community for reporting, monitoring and/or automation. I personally do a lot of scripting with PowerShell. What language is worth learning it?

I’m also using Powershell for Veeam et vSphere purpose, but I’m also using Python for automation in Linux env.  


I miss the second part for automation, we use ansible for Linux and Windows.
For example before the backup windows we generate temporary linux backup proxy to bring ephemeral backup power.


Powershell on Windows and Python on Linux.

We usually use NSClient++ to launch the scripts as @BertrandFR suggested as well.


Thanks for all answers! For all those use Python: is it worth to learn it? 

BTW: Did you know - at least as far as I know - the name Python comes from the legendary Monty Pythons. For that alone it is worth to know more about it :grinning:

 


Thanks for all answers! For all those use Python: is it worth to learn it? 

BTW: Did you know - at least as far as I know - the name Python comes from the legendary Monty Pythons. For that alone it is worth to know more about it :grinning:

 

Absolutely! :)

 


@vNote42 Thank you for the anedcote, did’t remember it hehe!

I’m from linux world so python learning was mandatory during my university studies. I love POSH too but if you work on linux and windows you have to use a langage who runs quite the same.

ps: I tried powershell on linux i was feeling MEH


@vNote42Thank you for the anedcote, did’t remember it hehe!

I’m from linux world so python learning was mandatory during my university studies. I love POSH too but if you work on linux and windows you have to use a langage who runs quite the same.

ps: I tried powershell on linux i was feeling MEH

I understand!

What I do not understand: what means “MEH”?


sorry too much 9gag


Because most of you seem to use PowerShell/PowerCLI: VMware started a new PowerCLI Home Page: https://developer.vmware.com/powercli 

Looks great! They did re-think a few things. See here more details:

https://blogs.vmware.com/PowerCLI/2021/01/introducing-the-new-powercli-home-page.html

 

 


Regarding vCenter interaction, I switched from powershell to GOVC. Night and day.


Regarding vCenter interaction, I switched from powershell to GOVC. Night and day.

I think I never heard of GOVC. I guess you mean this: https://github.com/vmware/govmomi/tree/master/govc ?

Is it a kind of “desired state configuration”?


Yep. This is also what is used in the kubernetes vsphere storage integration driver (https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/prerequisites.html).

Give it a try :-)


I’m on “Team PowerShell” here, but will add that I did some Perl work and it was easier for me than PowerShell, I felt like I could do more easier with Perl. But officially I still suck at all of that. 
 


Comment