Software :: Shutdown VMs On ESX Server Through Nagios Event Handlers?

Sep 14, 2010

I would need a lead on how to shutdown several virtual machine on our ESX server. We put in place a UPS and now we want to implement a automatic shutdown of the VMs (in a certain order) when our UPS battery goes under the threshold. I do monitor already the battery state. So I just need to put in place the eventhandler. How to proceed?

View 1 Replies


ADVERTISEMENT

Networking :: Event Handlers Not Working In Nagios

Feb 8, 2011

I have placed the restart-ssh script in /usr/local/nagios/libexec/eventhandler but its not working on seeing the event log the following information is obtained

Though i have checked the script manually by the following command

It works fine with both of the above mentioned commands

I don't know why it is not able to restart ssh when nagios is calling it as event handler

The service definition for ssh in localhost.cfg is as follow:

View 1 Replies View Related

Server :: Error: Cannot Open Log File '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' For Reading?

Jul 9, 2011

Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!

View 2 Replies View Related

Server :: Unable To Shutdown/reboot Server, No Shutdown Process Running?

Mar 30, 2010

I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

View 5 Replies View Related

Server :: Shutdown The Nodes From The Master Terminal Using "shutdown -h Now" Get Shutdown?

Dec 10, 2010

I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .

Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?

View 1 Replies View Related

Server :: Snmpwalk - -bash: !xx: Event Not Found - Failed Authentication

Aug 30, 2010

I use snmpv3, and experiencing problem in passwords containing special symbols like "!". For Ex.: snmpwalk -v 3 -a SHA -A xxxxxxx!xx -l authPriv -u user -x DES -X xxxxxxx <IP address/Name of device> -bash: !xx: event not found I also tried using "" before "!" in passwords for ex. xxxxxx!xx, but then I have failed authentication.

View 2 Replies View Related

General :: How To See The Code Behind The Nagios Plugin: Nagios Checker

Aug 4, 2010

How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?

View 14 Replies View Related

Server :: Unable To Receive Mails Sent By Nagios On Remedy Server

Oct 29, 2009

I have two situations here :

1) I have my Nagios running on the linux box and BMC Remedy Server on the Solaris box. I have simulated a mail from Nagios to be delivered to the Remedy server. But the Remedy Server does not receive it. I even tried snooping on port 25 but nothing has reached the box.

2) I have my Nagios running on the linux box and BMC Remedy Server on the Solaris box. I have simulated a mail from Nagios to be delivered to the Remedy server. I snooped on port 25 on the Solaris box. I could see the mail reaching the box, but it is not being forwarded to the Remedy inbox.

View 5 Replies View Related

Server :: Add New User Account Nagios Over Ubuntu Server ?

Nov 26, 2010

I need to add a aditional user account for monitoring web over nagios.

View 2 Replies View Related

Server :: How To Configure Nagios To Use Remote Mail Server

May 31, 2010

I have installed Nagios 3 on CentOS 5.2. Everything is running. It is monitoring 10 machines and 60 services for now. Now I want email notifications for the critical alerts from Nagios. I am already having one mail server (Qmail) running on different machine and I want to use its reference to send alerts to my network.

View 6 Replies View Related

Ubuntu :: What Are Exit Handlers

May 1, 2010

What are exit handlers ? They are piece of code to execute prior to exit() ?

View 3 Replies View Related

OpenSUSE :: Apache Redirect - Handlers ?

Nov 5, 2010

The previous version of one of my websites was static and so the URLs looked like this: [url]

A few months ago I re-did the site to be completely dynamic. There are no individual pages for product reviews, just one which pulls the right data from a database. So now, my URLs look like this: [url]

Some fellow ex-googler who specialize in SEO told me that the previous URL scheme was better for search engines because it had the product name. Of course, I have set up redirects from the old naming scheme to the new one but what I would like to do is have 'review.php' handle the request for 'review_XXXX_YYYY.php' without actually doing a redirect... and do this for past and future products. I don't want to have to actually create all these 'review_XXXX_YYYY.php', there would be hundreds, just make it seem like they exist to visitors.

View 7 Replies View Related

Networking :: Use Static Thread Handlers ?

Jun 29, 2010

Can we use static thread handlers ?

View 1 Replies View Related

Server :: Nagios Server Setup In Centos 5.3

Aug 13, 2010

I have installed the nagios by FAN 2.0 CD. In this distro all the required softwares are bundled. Now i do not know where to start. How can i monitor my other server on the network. I have google on the internet but it is not giving the clear idea. Is there any document on the net or how to which can show that how to configure nagios with centreon or originally from changing nagios files.

View 6 Replies View Related

Server :: Monitoring EC2 RDS In Nagios?

May 27, 2011

I want to monitor RDS (mysql database of EC2) using Nagios. In command line ( I am able to do it but I dont know how to feed it in nagios . On nagios server if I execute the following command , I am able to fetch the information of database (RDS)

Nagios_server #/usr/local/nagios/libexec/check_mysqld.pl -p<password> -f -u <username> -A uptime,threads_connected,slow_queries,open_tables -H <hostname> -q 'SHOW STATUS'

output :- MYSQL 5.1.50 OK | uptime=344783 threads_connected=672 slow_queries=0 open_tables=64

Note :- Here the host name is public dns name (x.y.z.amazon.com) .We cant ping to this host.With mysql command , we can log in and work on databases.

View 5 Replies View Related

Server :: Nagios Alerts Via SMS ?

Mar 30, 2011

How can recive nagios alerts via SMS,via SMS gateway XML API.

I have a sms gateway xml api & had writte a script in perl

NAGIOS SETUP

Can I have to install gateway module

View 10 Replies View Related

Slackware :: File Type Handlers In Firefox

Jul 16, 2011

I like to set firefox to ask me every time what to do when downloading a file. This works well if I want to save to disk, but if I want to use an application I don't get a dropdown with applications to choose, but a browse button which requires the application to be typed every time. To make it a bit clearer, if I have clicked on a pdf file I get this: [URL]. How do I get okular listed in a dropdown instead of the browse button?

View 14 Replies View Related

General :: Nagios 3.2.1 And Ubuntu 10.10 Server

Dec 8, 2010

Troubleshooting Nagios configuration? I'm already done with the installation and it's working fine. Now I'm working on adding Windows Server in Nagios to be monitored but the problem is my cfg_file=/etc/nagios3/objects/commands.cfg and cfg_file=/etc/nagios3/objects/windows.cfg there's no such /etc/nagios3/objects directory is existing on my nagios directory.

View 1 Replies View Related

Server :: How To Test A Nagios Email

Sep 22, 2010

This is an odd question, but I can't figure out why my nagios emails aren't being sent. In fact, I got my last one three days ago so it *should* be working.

I have everything in contacts.cfg, and the admin page tells me that the following should be sent: Unknown, Warning, Critical, Recovery, Flapping, Downtime

I also have notify-service-by-email and notify-host-by-email.

I have no idea if nagios emails just don't want to be sent or what -- and I'm not even sure if the nagios emails are even trying to be sent.

Here's my contacts.cfg code...

There's nothing in /var/log/nagios besides the mention of that email address in objects.cache, so I have no idea if an email was attempted to be sent. My sendmail queue is empty as well.

Meanwhile, I have some downtime on a service and didn't get notified. Only the web interface is helping me out here. Any ideas why I am not getting email? How can I run a test to see if everything's working okay?

View 10 Replies View Related

Server :: Logging Into Nagios Not Working?

Aug 31, 2010

When I try to log into the webgui I am getting a file to download labled "nagios". When double-clicking the file I get the error " The file /path/to/file cannot be found. Please check the location and try again".

View 10 Replies View Related

Server :: Monitor Partition Other Than / In Nagios

Oct 1, 2010

I have a CentOS-5 Server with Nagios installed,through which I monitor three other servers.I want to monitor a Linux partition which is mounted under CentOS-5 server which has Nagios installed.

View 1 Replies View Related

Server :: Nagios Not Processing Perfdata

Mar 19, 2011

I am currently deploying Nagios as my NMS on CentOS 5 and using pn4nagios to create graphs.I have successfully configured Nagios-3.3.3 along with nagios-plugins-1.4.15. its working fine and showing my windows machine and linux machine.But here is the problem, when I try to configure pnp4nagios-0.6.11 I am unable to restart nagios service as it gives me error in commands.cfgfile on line number 240.can sum1 tell me how to get rid of this error. i had encountered similar problem while using nagiosgrapher. kindly note that i have allowed perdata to be processed by setting its value to 1.

View 4 Replies View Related

Server :: Reporting The Schedule For Nagios?

Jun 3, 2010

I have configured Nagios in my CentOS machine and is able to receive notificatons/alerts related to hosts and services at defined interval. Now I would like to receive combined reports (for daily downtime, availability of hosts/services) for all hosts and services in one go in the morning. Is there any configuration or setting on Nagios Splash screen.

View 1 Replies View Related

General :: Nagios - Can I Configure Nagios To Do This

Jul 15, 2011

So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?

View 1 Replies View Related

Ubuntu :: Custom Url-handlers Fails To Register In Browsers

May 4, 2011

Operating System: Ubuntu 11.04 w/ Unity-2D

I had serveral custom url-handlers setup using gconftool-2 in my old Ubuntu 10.10 setup, but now after reinstalling and updating to Ubuntu 11.04 I can't get a single one to work with Chrome (11.0.696.57) nor other browsers like Midori.

The only solution was to switch to Firefox and setup them manually using network.protocol-handler*

It seems (on the surface) that Chrome insists on opening the links with xdg-open (and if I remember correctly in Ubuntu 10.10 Chrome said it opened the links using the apps set in gconf), but xdg-open only supports the most common http* and ftp* does it not? - Just learned that xdg-open is the default handler for all urls.

I've tried everything, including searching through Chrome's config files, reinstalling Chrome, and tested changing the paths to my apps - but without any luck.

Note that I'm talking about links in Google Chrome, Firefox on the other hand doesn't even check the url-handlers so I had to set them up manually using about:config > network.protocol-handler*

So they work in Firefox when added, but in no other browsers.

Google Chrome opens the links with xdg-open [url] as depicted in the attacheds screenshot, but this throws in error, found in .xsession-errors:

Code:
gvfs-open: svtrip://example.com/: error opening location: The specified location is not supported

View 2 Replies View Related

Red Hat / Fedora :: Find Signal Handlers Definitions In Kernel?

Apr 9, 2011

I am currently working on "Creation of Postmortem data logger in Linux on Intel architecture. Its nothing but core utility creation. how the signal handlers for various signals(SIGSEGV,SIGABRT,SIGFPE etc) which produce core dump upon crashing an application internally implemented in Linux kernel. I need to re-write these signal handlers with my own user specific needs and rebuild the kernel. It makes my kernel producing the core file (upon crashing an application) with user specific needs like showing registers,stackdump and backtrace etc.

View 1 Replies View Related

Programming :: About Writing Device Drivers - Interrupt Handlers ?

Apr 28, 2010

I have written interrupt handlers for a keyboard as well as the serial port RS232.

I have seen the book written by O'Reilly w.r.t the device drivers.

I wanted to know *exactly* what parts of Linux kernel should i understand well for having a crystal clear view of writing any kind of device driver ?

View 1 Replies View Related

Networking :: Nagios - Forbidden (No Access To This Server)

Jan 12, 2010

Nagios - forbidden you dont have access to this server
I had made following changes on httpd.conf file:
ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/"
<Directory "/usr/local/nagios/sbin/">
AllowOverride AuthCongig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /nagios/ "/usr/local/nagios/share/"
<Directory "/usr/local/nagios/share/">
Options None
AllowOverride AuthCongig
Order allow,deny
Allow from all
</Directory>

View 1 Replies View Related

Server :: Add Dns And Dhcp Service To Be Monitered By Nagios?

Oct 3, 2010

I have installed nagios 3.2 on Rhel5. Now I want to add Dns and Dhcp service to be monitered by nagios (on local server). How can I add this services to get monitored by nagios. let us know the exact steps so that I can add this services in nagios.

View 1 Replies View Related

Server :: Nagios Web Access For A Particular Host Group?

Feb 15, 2010

We are using Nagios Server for different sites say India,US,Germany. All of them are in their respective groups. Now how do i create web access to 3 of them, so that they can monitor only their server? Say, India shouls be able to see and monitor only India group, US guys should able to monitor only US servers. And they not be anle to access other group.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved