[Nagios-users] different contact method for different states

2009-01-29 Thread Nicolas Laurance
Hi, Is it possible (I didn't find how) to configure a use case like in Nagios 2 : if a warning hard state is reached = contact via email if a critical hard state is reached = contact via pager ?? many thanks -- This

[Nagios-users] display selected info on public web page

2009-01-29 Thread Per olof Ljungmark
Hi all, I wonder if anyone could please share some knowledge on how one can display snippets of info from Nagios on a public web page? I've googled some but did not find much on the topic, then looked into Nagvis but that seemed more suited to the datacenter. For example, a small green blob

[Nagios-users] passive checks with business time notification

2009-01-29 Thread Matteo
Hi, I want to monitor some night batch procedures. These procedures are executed each night. When the procedure finish, say to nagios passive service OK. If an error occur the procedure catch the error and push it via a critical passive alert to nagios. So there have two thing to check every

Re: [Nagios-users] check_snmp_storage.pl - check disk space for /

2009-01-29 Thread Chris
On Wed, Jan 28, 2009 at 9:10 PM, Marc Powell m...@ena.com wrote: On Jan 28, 2009, at 10:19 PM, Chris wrote: Is there any way to get it check only the / partition and not the other ones? Here is the commands I tried: /usr/lib/nagios/plugins/check_snmp_storage.pl -H server -C foo -m / - w

[Nagios-users] How to dtermine disk space in Linux

2009-01-29 Thread Edwin Zoeller
I hope someone can help and explain this to me. I am trying to use one of three plugins for Nagios to check disk space on a Linux file system. When I plug in values that I thinks would work, I don't understand what its telling me. Can someone shed some lite. I am used to the plugins on Solaris

[Nagios-users] skip monitoring every 4 weeks

2009-01-29 Thread Assaf Flatto
Hello I have a situation where i need to turn of monitoring for server while they are being rebooted , this is done during the weekend , and the person doing the reboots is not one that has access to the nagios . i know that Version 3 placed the functionality of alternating and dynamic

[Nagios-users] calling a java program from nagios

2009-01-29 Thread Venugopal S
Hi, For some purpose that was not served by nagios, we have written a java program. One of our client requirement is that this java code (if possible) has to be integrated with nagios so that all the purpose is solved(apparently) by nagios framework. Any input is appreciated. Thanks

Re: [Nagios-users] How to dtermine disk space in Linux

2009-01-29 Thread Kevin Keane
I'm not sure what 3 plugins you are trying. I am using a bash script with a little df and awk thrown in: The whole script does a lot more, but the key part is this: The critical and warn percentages are in $CDISKUSAGE and $WDISKUSAGE, respectively. Note that this will check all file systems,

Re: [Nagios-users] skip monitoring every 4 weeks

2009-01-29 Thread Edgar Matzinger
Hi Assaf, I have a situation where i need to turn of monitoring for server while they are being rebooted , this is done during the weekend , and the person doing the reboots is not one that has access to the nagios . why don't you specify downtimes? For those hosts? This can be done in

Re: [Nagios-users] display selected info on public web page

2009-01-29 Thread Simon Kainz
Quoting Per olof Ljungmark p...@bsdlabs.com: Hi all, I wonder if anyone could please share some knowledge on how one can display snippets of info from Nagios on a public web page? I've googled some but did not find much on the topic, then looked into Nagvis but that seemed more suited to

Re: [Nagios-users] skip monitoring every 4 weeks

2009-01-29 Thread Andreas Ericsson
Assaf Flatto wrote: Hello I have a situation where i need to turn of monitoring for server while they are being rebooted , this is done during the weekend , and the person doing the reboots is not one that has access to the nagios . i know that Version 3 placed the functionality of

Re: [Nagios-users] skip monitoring every 4 weeks

2009-01-29 Thread Assaf Flatto
On Thursday 29 January 2009 13:41:46 Edgar Matzinger wrote: Hi Assaf, I have a situation where i need to turn of monitoring for server while they are being rebooted , this is done during the weekend , and the person doing the reboots is not one that has access to the nagios . why

Re: [Nagios-users] Browser reload problem

2009-01-29 Thread Chris Beattie
I didn't notice this until you pointed it out. I almost always open things in new tabs, though. Reloading status.cgi works if it's in its own tab, at least. -Original Message- From: Nicole Hähnel [mailto:m...@nicole-haehnel.de] Sent: Tuesday, January 27, 2009 11:15 AM To: Nagios Users

Re: [Nagios-users] calling a java program from nagios

2009-01-29 Thread ankit . mehrotra
For doing this, you have to describe an appropriate command in commands.cfg file, which will have this java program as an entry in command_line. This command can be called from a service for any machine. Personally, I dont think that executing a Java program through nagios is a good option.

Re: [Nagios-users] skip monitoring every 4 weeks

2009-01-29 Thread Kevin Keane
What you are describing is, in more generic terms, a maintenance window. I'm actually using a very different approach for the same basic problem: I schedule downtime for that maintenance window. Now Nagios doesn't support recurring scheduled downtimes directly. The solution is a script (this one

[Nagios-users] adding html links to service groups

2009-01-29 Thread Dunn, Larry
Has anyone added html links to service groups in Nagios 2.9? I want to be able to have the web page display a link to another web server with additional information from the output of a service query of a group of systems. Thanks in advance, Larry

Re: [Nagios-users] calling a java program from nagios

2009-01-29 Thread Michael Medin
There is a NRPE server written in Java which probably is a better option then spawning Java from the command line. // Michael Medin Hi, For some purpose that was not served by nagios, we have written a java program. One of our client requirement is that this java code (if possible) has

Re: [Nagios-users] display selected info on public web page

2009-01-29 Thread Marc Powell
On Jan 29, 2009, at 2:33 AM, Per olof Ljungmark wrote: Hi all, I wonder if anyone could please share some knowledge on how one can display snippets of info from Nagios on a public web page? Nagios Looking Glass might be useful to you. http://www.andyshellam.eu/nlg You could also install

Re: [Nagios-users] How to dtermine disk space in Linux

2009-01-29 Thread Marc Powell
On Jan 29, 2009, at 5:38 AM, Edwin Zoeller wrote: I hope someone can help and explain this to me. I am trying to use one of three plugins for Nagios to check disk space on a Linux file system. When I plug in values that I thinks would work, I don't understand what its telling me. Can

Re: [Nagios-users] calling a java program from nagios

2009-01-29 Thread Marc Powell
On Jan 29, 2009, at 7:30 AM, Venugopal S wrote: Hi, For some purpose that was not served by nagios, we have written a java program. One of our client requirement is that this java code (if possible) has to be integrated with nagios so that all the purpose is solved(apparently) by

Re: [Nagios-users] display selected info on public web page

2009-01-29 Thread Matteo
On Thu, Jan 29, 2009 at 09:33:34AM +0100, Per olof Ljungmark wrote: I wonder if anyone could please share some knowledge on how one can display snippets of info from Nagios on a public web page? I've googled You can parse the file status.dat and publish only information that you want. M.

[Nagios-users] Nagios SQL configuration backed

2009-01-29 Thread James Miller
Hello everyone, I've been using Nagios for a few years now and it the configuration file(s) have become pretty unwieldy over the years. So I'm going to build a new server and I was hoping to get some insight into what everyone's thoughts are on various Nagios addons such as: NDOUtils --

Re: [Nagios-users] Nagios SQL configuration backed

2009-01-29 Thread Dario B. Bestetti (OpServices)
- James Miller j...@simutronics.com escreveu: Hello everyone, I've been using Nagios for a few years now and it the configuration file(s) have become pretty unwieldy over the years. So I'm going to build a new server and I was hoping to get some insight into what everyone's

[Nagios-users] Nagios 3.1.0 - Update check feature

2009-01-29 Thread Seth P. Low
In Nagios 3.1.0 there is a new feature: Added automatic update check functionality - runs once a day to check for new Nagios releases Splash screen on web UI now indicates whether a new update is available (requires that update checks are enabled) Question - Where do you enable the update

Re: [Nagios-users] Nagios 3.1.0 - Update check feature

2009-01-29 Thread Allan Clark
Hi; Hammering a website by referring to it on a constantly-reloading page can generate a lot of unnecessary traffic. If Nagios' DNS held a TXT record indicating the latest released version in a given trend, then it can be checked in a way that is much gentler -- a DNS RR is cached automatically

Re: [Nagios-users] Nagios 3.1.0 - Update check feature

2009-01-29 Thread Andy Shellam
Hi, If Nagios' DNS held a TXT record indicating the latest released version in a given trend, then it can be checked in a way that is much gentler -- a DNS RR is cached automatically by the DNS servers used, depending on how Nagios.org defines the RR. An update check can simply compare the

[Nagios-users] Contacts and notifications - services

2009-01-29 Thread Ugo Bellavance
Hi, We've been using nagios for a long while, but only needed one group. However, we now want to add a DBA contact group, so that the database administrators get notfications by e-mail if something goes wrong, but only on database servers. I've created the contacts, the

Re: [Nagios-users] Contacts and notifications - services

2009-01-29 Thread Mathieu Gagné
Hi, Ugo Bellavance wrote: Hi, We've been using nagios for a long while, but only needed one group. However, we now want to add a DBA contact group, so that the database administrators get notfications by e-mail if something goes wrong, but only on database servers. I've

Re: [Nagios-users] Contacts and notifications - services

2009-01-29 Thread Ugo Bellavance
Mathieu Gagné a écrit : Hi, Ugo Bellavance wrote: Hi, We've been using nagios for a long while, but only needed one group. However, we now want to add a DBA contact group, so that the database administrators get notfications by e-mail if something goes wrong, but only on database

[Nagios-users] Strange problem with plugins timing out

2009-01-29 Thread Sean Carolan
We have two Nagios servers each for monitoring different networks. The production network has over 1200 service checks and the average host check time is around 4 seconds: Host Check Execution Time: 4.03 / 4.15 / 4.039 sec The UAT network has only 120 checks. For some reason, starting

Re: [Nagios-users] Contacts and notifications - services

2009-01-29 Thread Mathieu Gagné
Hi, Ugo Bellavance wrote: Mathieu Gagné a écrit : Why don't you add the contactgroup dbas and remove sysadmins from the load service definition for all database servers? Because the load service is defined for all my linux servers. If I remove sysadmin from the load service definition,

Re: [Nagios-users] Contacts and notifications - services

2009-01-29 Thread Ugo Bellavance
Mathieu Gagné a écrit : Hi, Ugo Bellavance wrote: Mathieu Gagné a écrit : Why don't you add the contactgroup dbas and remove sysadmins from the load service definition for all database servers? Because the load service is defined for all my linux servers. If I remove sysadmin from the

Re: [Nagios-users] time travel

2009-01-29 Thread Peter Lecki
That was kind of a question, I'm not sure why this is happening and was hoping someone might? The server has the correct time and the correct time also appears in Nagios Current Network Status window. But all of the times of Last Checks are in the future by several hours. Thanks, Peter.

Re: [Nagios-users] Contacts and notifications - services

2009-01-29 Thread Mathieu Gagné
Hi, Ugo Bellavance wrote: But this also leads to a duplication of a service that is currently stated only once. Is there any host left in the first service check which could be member of the hostgroup used in the second service check? -- Mathieu

[Nagios-users] 127 Errors

2009-01-29 Thread Jonah Horowitz
I'm upgrading my nagios installation from a nagios 2.7 installation to a nagios 3.0.6 setup. I installed nagios 3.0.6 on my new server with the exact same directory structure as my nagios 2.7 installation on my old server. I copied over my configuration files and ran nagios -v on the configs. I

Re: [Nagios-users] Problems Compile Nagios Plugin 1.4.13

2009-01-29 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/01/09 01:43 PM, Felipe Ferreira wrote: Problems Compile Nagios Plugin 1.4.13 All this big mess started because I need the MySQLPerf plugin, whitch is a really cool plugin, but it needs the source of the official plugin. [...]

Re: [Nagios-users] 127 Errors

2009-01-29 Thread Marc Powell
On Jan 29, 2009, at 3:49 PM, Jonah Horowitz wrote: 1233265544.091784] [2320.2] [pid=15317] Raw Command Input: $USER1$/ check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -t 2 -n 1 [1233265544.091796] [2320.2] [pid=15317] Expanded Command Output: $USER1$/check_icmp -H $HOSTADDRESS$

[Nagios-users] SNMP monitoring of a Dell switch: snmpwalk succeds but check_snmp fails.

2009-01-29 Thread Rahul Nabar
I was trying to monitor my Dell Power Connect Switch via nagios. I used the default templates and have this check_command in my switch.cfg: check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB Unfortunately the web-interface shows: SNMP CRITICAL - *down(2)* Now I

Re: [Nagios-users] SNMP monitoring of a Dell switch: snmpwalk succeds but check_snmp fails.

2009-01-29 Thread Max
On Thu, Jan 29, 2009 at 7:56 PM, Rahul Nabar rpna...@gmail.com wrote: I was trying to monitor my Dell Power Connect Switch via nagios. I used the default templates and have this check_command in my switch.cfg: check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB

Re: [Nagios-users] calling a java program from nagios

2009-01-29 Thread Venugopal S
Hi Marc, The program can be run from commandline with one argument (which is critical for the java code to work). For example : java -classpath Notify.jar argument is the format. How to achieve this is nagios ? Venu -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent:

Re: [Nagios-users] time travel

2009-01-29 Thread Kevin Keane
Looks like a time zone issue to me. Apparently Last Check displays in GMT for you. Maybe Nagios itself runs on GMT, and Apache in PST? Peter Lecki wrote: Take a look at the times shown in the attached screenshot. Current time is earlier than the last check time??? The time shown in the

Re: [Nagios-users] calling a java program from nagios

2009-01-29 Thread Marc Powell
On Jan 29, 2009, at 11:24 PM, Venugopal S wrote: Hi Marc, The program can be run from commandline with one argument (which is critical for the java code to work). For example : java -classpath Notify.jar argument is the format. How to achieve this is nagios ? See the rest of my