Category Archives: Site News

Zimbra Web login Monitoring script

This is my second blog for testing weblogin the first one was for testing moodle and this one is for Zimbra. I have written a custom script which I want to share with you that helps us check the login in Zimbra and escalate it via Nagios in case it fails. Some users ask me if they are using Nagios they can easily monitor all the services for zimbra and i totally agree with them. But not everyone is having the same level of knowledge as you geeks are having. This script can be easily used with nagios or without nagios for your convenience. You can take of the highlighted part of the script to remove the nagios bit out of it. You may have to modify the script if you are not using it for nagios for escalation type you want to use. The answer is as simple as to make sure all the service Zimbra depends upon are functioning properly like (mysql, ldap, webserver, postfix etc). Please find the script below to check the Zimbra login.

We will use curl to check the web login for zimbra.







#removes any cookies

rm -f /tmp/$2

#create a cookie entry in the cookie file for that site

curl -b $2 -c /tmp/$2 $1 > /dev/null

#gets the auth token in cookies

curl -b /tmp/$2 -c /tmp/$2 “$1/zimbra/?loginOp=login&username=$3&password=$4” > /dev/null

#use the cookie files to lookup the address book for

curl –cookie  /tmp/$2 –data “zimbra/h/search?sq=$3&st=contact&search=Search” $1   | grep $3@$5 >/dev/null

if [ $? -eq 0 ]; then


/bin/echo “OK: Authentication Successfull \n”

exit $STATE_OK

elif [ $? -eq 1 ]; then


/bin/echo ” Critical: Authentication Failure \n”



Please feel free to contact for more information and do give us your feedback.

Original post is on

What is a SAN?

A storage area network (SAN) is a dedicated high performance network provides access block level to Data. The in modern day data is stored in an array of hard disk drives or solid-state drive or a combination of both.

This Storage area network is usually separated from the local area network for performance and security reasons.

Over a SAN there is no access to the file systems directly; rather they are access able in a block level. The operating system will think as if the disk is attached to it directly and the access is going to be block level. A SAN can be shared across many servers.



SAN network type:

There are various SAN network type, however they are most commonly used in two types Fiber Channel Protocol and iSCSI over Ethernet.

FC: Fiber channel is a gigabit-speed network technology primarily used for storage network starting from 1gbps up to 20Gbps.

iSCSI: Internet Small Computer System Interface, an Internet Protocol (IP)-based storage networking standard for linking data storage facilities. By carrying SCSI commands over IP network. iSCSI is becoming more and more popular due to its slow cost and available hardware and network interface to support it. Presently there are many open source platform that support iSCSI as a SAN right out of the box.

Key advantages of using SAN:

  • Raid: usually SAN devices are build on raid array of disks exported as virtual block devices. Depending on the raid type SAN can tolerate and automatically recover from multiple level of disk failure in a data centre environment
  • Expandability: Expandability as easy as adding shelf and disks to the storage area network.
  • High availability: These storage networks can be designed to support high availability server clusters
  • Disaster recovery: Block level data can be replicated on remote storage of any disaster recovery and block level snap shots can be taken to recover against human error
  • High performance for all servers: Array of disk makes the SAN very fast. High performance network is used to provide high performance and high throughput access to the data for the servers. SAN performance is shared among servers as required.

Some of the leading SAN manufacturers are EMC, NetApp, IBM, Sun storage. While the big corporate are coming up with highly scalable reliable storage systems, open standard storage appliances are not far behind. They are catching up faster than ever and providing very good alternatives in a fraction of a price, like nexenta, FreeNAS.

SAN in a cloud: SAN is the ultimate storage for cloud. An added challenge to cloud storage is its economics. Open storage systems like Nexenta, FreeNAS redefines the economics of the SAN while maintaining all key advantages. They can be build on open hardware and network platform providing high performance and scalability in a nominal cost.

SAN and NAS:

Network-attached storage (NAS), in contrast to SAN, uses file-based file level access to its clients using protocols such as NFS or CMB/CIFS where it is clear that the storage is remote, and computers request a portion of an abstract file rather than a disk block. In modern days many of entry and mid level SAN performance as both SAN and NAS

XeoIS provides various data centre solutions which includes low cost scalable SAN solution for more information please visit