It was with great joy that today morning I found an email in my mailbox with the subject
Welcome to the 2017 vExpert Program
For those who don’t know vExpert Program started in 2009 and is a community that recognizes VMware enthusiasts that have an active role in the VMware community by sharing their knowledge.
With this recognition and certificate, you are able to get access to special offers like private betas, free licenses, exclusive events and restricted content on VMware Technology Network – VMTN
VMware vExperts have three paths:
- VMware Partner
The path that I applied was the Evangelist one that is intended to bloggers, authors, speakers and VMTN contributors.
The applications for VMware vExpert are open twice a year.
I wish you all a great day and thanks for reading.
Adding a Windows 2008 Server to Icinga2 master Server using Icinga2 agent
Setup the Icinga2 master for node clients and make shure the answer to the first question is
# icinga2 node wizard
Dowload the agent from Icinga2 website and run it.
After the installation the setup wizzard will pop up.
Remember the Instance Name as you will need it to generate the Setup Ticket in the Icinga2 server.
Add the Icinga2 master
Click the Add button and fill in the box
Run this command in Icinga2 server to generate the Setup Ticket
# icinga2 pki ticket -cn infra-veeam.domain.local
Now copy the ticket and past it to the box
Before you click next check if the port 5665 is open in the Windows server and add a rule in Icinga2 server to permit connections
Check your active zones
# firewall-cmd --get-active-zones
I just had one “public” zone
At this point i added the rule to the firewall by running the command
# firewall-cmd --zone=public --add-port=5665/tcp --permanent
Continue the installation and finish it.
Open a command prompt and type in the command:
If all goes well you should get this output
Now update the configured hosts by running and restart icinga2
# icinga2 node update-config # systemctl reload icinga2
And that’s it! If you have Icinga Web 2 the host should pop up.
This post was based on the Documentation shared by the Icinga project
In my company we have a couple of VPN’s configured and one of the VPN’s is essential to the core business of the company.
That particular VPN from time to time freezes and i need to disconnect it, but that isn’t always a simple task as when i am in vacations i don’t have access to internet so i needed a way for users to be able to disconnect the VPN themselves. The solution was a python script that connects to the Cisco equipment through telnet using the telnetlib.
This is the script:
pwd1 = “password”
pwd2 = “enable_password”
cmdVpn = “vpn-sessiondb logoff ipaddress 184.108.40.206”
cmdEn = “enable”
host = “10.60.2.254”
tn = telnetlib.Telnet(host)
tn.write(pwd1 + “\n”)
tn.write(cmdEn + “\n”)
tn.write(pwd2 + “\n”)
tn.write(cmdVpn + “\n”)
print “Operation completed”
I had a problem with my Windows 2008 SQL Server.
I have a scheduled task to handle the backups of the backups with robocopy and a very small disk.
I thought i could just delete the files after copying them to a network drive, but this is a lot harder than it look.
It looks like Windows Task Scheduler does not permit to run a task after another one has finished despite the existence of an event log showing the task starting, running and completing.
However it is possible to define Custom Event, though the standard filter does not allow much control over the selection of the events.
So i found this XML to place in the Custom Event
Now insert this XML in the text box and where you read copy backup replace with the name of your previous task:
<QueryList> <Query Id="0" Path="Microsoft-Windows-TaskScheduler/Operational"> <Select Path="Microsoft-Windows-TaskScheduler/Operational">*[EventData [@Name='TaskSuccessEvent'][Data[@Name='TaskName']='\copy backup']]</Select> </Query> </QueryList>