Tuesday, November 12, 2013

Custom Nagios Scripts

If you are into systems and datacenter's and are using Nagios as your monitoring tool then this article will be useful for you.

During my stint with one of the organisations I worked with, there were situations where we need to perform certain tasks like

- Enable / Disable Notifications for hosts
- Enable / Disable Notifications for all the services of a particular host.
- Deleting Scheduled downtimes for services.
- Deleting Scheduled downtimes for hosts.
- Disable Notifications for host group
- Enable Notifications for host group

What you need to do is
  • Login with root / Nagios user
  • Ensure that the nagios command file is at the below location :  /usr/local/nagios/var/rw/nagios.cmd
  • If its not there, find the appropriate location and edit the scripts accordingly.
The scripts can be found here
Link to scripts

Your feedback is welcome and let me know incase it doesn't work for you.




ASUS Transformer TF300T not powering on




Incase you own an ASUS Transformer (probably should be applicable on other android tabs as well) , and wondering why your tab doesn't power on when you left it unused for a while, then this is how you can fix it.

You need to follow the hard reset procedure to get it back alive.

Steps to reset :
  1. Press the power button (Top Left)
  2. Press the volume rocker (down) which is on the Left side of the tab when you are looking at the screen.
Keep holding 1 & 2 for a couple of seconds, and then you should soon see a booting screen of ASUS showing up on the screen.

I am not sure of why this happens though, but my understanding is that it happens generally when there is some corrupt data loaded in the cache of the tablet.

Hope this helps.

The Azure Synapse Resource Provider Error

  If you are get the error " The Azure Synapse resource provider (Microsoft.Synapse) needs to be registered with the selected subscript...