The number of active calls\channels in Asterisk - output to file

Sometimes it is necessary to determine whether there are enough channels of ground telephone lines, in case if the operator is connected to Asterisk. To collect such statistics in our company, we decided to record every minute (ideally, of course, more often) the number of active calls\channels in Asterisk to file, then plot if required.

There are two steps in the task:

  1. Output needed data to file in manual mode.
  2. Put the script into cron.
  • Hits: 8519

How to restore deleted Postfix log files in Ubuntu

If you accidentally deleted Postfix log files in Ubuntu (or any other system), you can restore them in the following way:

  • Hits: 2615

Find mailboxes in Exchange 2010/2013 with enabled mail forwarding

How to find all mailboxes in Exchange 2010/2013 with mail forwarding enabled?

It's just a string in Powersehll:

  • Hits: 1954

Find all snapshots in VmWare vSphere

It's no secret that when you perform backup with Veeam Backup & Replication, sometimes it "forgets" to delete the its snapshots. This leads to the fact that all virtual machine starts to work entirely on snapshot all the time. This is a costly operation, which significantly reduces the performance of the virtual machine.

In addition, system administrators can create snapshot manually and forget about it. We had a case in our company when a virtual server half-year (!!!!!) worked on the snapshot.

Fortunately, VmWare provides a plugin for Powershell, PowerCLI, which you can use to find all these snapshots.

  • Hits: 22226

Slow work of Veeam Backup & Replication GUI interface

The longer you work with Veeam Backup & Replication, the lower and lower its interface work. Apparently, this is because Veeam stores in database information about all sessions of the interface. Once they become so numerous that queries to the database begin to slow down.

So we need:

  1. Set up Veeam to not to store all this unneeded information.
  2. Delete existing data from database.
  3. Truncate and shrink database.

After performing these steps, my Veeam client started to work much faster.

  • Hits: 13906

Deny access to Exchange ECP from Internet with IIS ARR Reverse Proxy

Exchange 2010 and 2013 partially managed with Exchange Control Panel (ECP). It's a web-service running on IIS on Client Access Server. There is a problem: when you publish OWA in the Internet, you automatically publish ECP to the Internet too. And this is a security issue.

If you use IIS ARR as Reverse Proxy for publishing Exchange to the Internet, you can create rule that will block access to URLs like https://owa.domain.com/ecp/.

  • Hits: 9251

STARTTLS issues in mail server MDaemon on Windows Server 2003

Recently MDaemon that installed on Windows Server 2003, ceased to send or receive messages from\to some mail servers. As it turned out, the problem is in the obsolete SSL\TLS protocols on Windows Server 2003.

Symptoms (cut from log):

  • Hits: 4943

Page 7 of 13