Mittwoch, 12. März 2014

equallogic on hyper-v 2012 cluster

environment: hyper-v cluster 2012 and equallogic

* storagemigration on equallogic failed bugfix:
http://support.microsoft.com/kb/2796995

* snapshot on csv volumes
http://support.microsoft.com/kb/2878635

(Event ID 8194 — Volume Shadow Copy Service Operations)



* http://workinghardinit.wordpress.com/2012/09/14/dell-compellent-hardware-vss-provider-commvault-on-windows-server-2012-hyper-v-nodes-volume-shadow-copy-service-error-unexpected-error-querying-for-the-ivsswritercallback-interface-hr-0x80/
olumeschattenkopie-Dienstfehler: Beim Abfragen nach der Schnittstelle “IVssWriterCallback” ist ein unerwarteter Fehler aufgetreten. hr = 0×80070005, Zugriff verweigert . Die Ursache hierfür ist oft eine falsche Sicherheitseinstellung im Schreib- oder Anfrageprozess.

Donnerstag, 6. März 2014

icinga notification chat to chatroom

define command{
        command_name                    notify-host-by-jabber
        command_line                    /usr/bin/printf "%b" "***** Icinga *****\n\nNotification Type: $NOTIFICATIONTYPE$\nKOMMENTAR: $NOTIFICATIONCOMMENT$\nHost: $HOSTNAME$\nHostalias: $HOSTALIAS$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nHostInfo: https://internallog.server.domain?q=$HOSTNAME$\nIcingaInfo: https://icinga.server.domain/icinga/cgi-bin/extinfo.cgi?type=1&host=$HOSTNAME$\n\nDate/Time: $SHORTDATETIME$\n" | /bin/sendxmpp -u chatuser -j jabber.server.domain -p 'jabberuserpassword' -c room@conference.jabber.server.domain -r chatuser 

}

see:
http://docs.icinga.org/latest/de/sample-notifications.html

environment:
Server: icinga + ejabberd (chatserver) + sendxmpp
Client: pidgin, apple-ichat


idea: you can also put a similar script on an webserver and forward the query-string to the chatroom!

echo -e “hello world” | /usr/bin/sendxmpp -u chatuser -j jabber.server.domain -p ‘jabberuserpassword’ -c room@conference.jabber.server.domain