Re: [Nagios-users-br] Nagios-users-br Digest, Vol 23, Issue 6

2008-06-25 Thread Maycon Correia
Elias, seria a distro CentOS preparada para o cacti? 2008/6/23 [EMAIL PROTECTED]: Somente utilizo o SNMP no Nagios para verificar se um determinado router está UP ou DOWN pois é melhor q o ping. A linha de comando q utilizo é: check_snmp_router: $USER1$/check_snmp -H $HOSTADDRESS$ -C public

Re: [Nagios-users-br] problema ao rotacionar os logs

2008-06-25 Thread André Moura
Outros serviços estão corretos, sobre o relógio ele apresenta o horário certo, como posso saber se ele é o nagios não conversão? A questão da memória, se eu paro o nagios e inicio novamente volta ao normal. Acredito que ele manda algun sinal para o nagios na hora do rotate que ele não para por

[Nagios-users-br] Monitorando tonner no Nagios

2008-06-25 Thread Fabricio Silva
Bom dia galera, Estou com uma dificuldade no nagios da minha empresa, preciso monitorar quantidade de tonner pelo nagios. alguem poderia me ajudar. Dados da Impressora: Canon ImageRunner 1023if senao me engano, sei que e possivel fazer isso em impressoras HP pelo hpjd... Estou no aguardo

[Nagios-users] Antwort: [Nagiosplug-help] locking out AD account

2008-06-25 Thread Sascha . Runschke
[EMAIL PROTECTED] schrieb am 24.06.2008 21:57:30: Since ~ Friday nagios appears to be locking out random servers AD accounts. I know what you’re thinking, what changed?! I went through log files, and even grep’d the entire /etc/nagios directory and subdirectories for the connection

Re: [Nagios-users] Questions about Nagios Looking Glass

2008-06-25 Thread Matthew Macdonald-Wallace
On Wed, 25 Jun 2008 00:39:36 +0100 Andy Shellam [EMAIL PROTECTED] wrote: There is no current way to exclude hosts that are in scheduled downtime or have been acknowledged; this is on the cards for version 2. Sorry to hijack the thread, but can I put in a feature request for version 2? :o)

[Nagios-users] sms notifications for only specific services

2008-06-25 Thread Machiel Richards
Hi All I hope you can assist. We have an exhange server which we monitor using the normal nagios monitoring. We are however trying to set up sms notifications for specific services on this mail server.

[Nagios-users] Problems with correct execution Nagios Plugin scheduled

2008-06-25 Thread Giovanni Ciampi
Hello, I have one problem very particular on a Nagios check custom. It try to execute one query to Oracle Server. When I run my plugin from Linux shell as nagios user, the check returns correct output. But, when Nagios runs the same plugin with the same parameters, the check returns incorrect

[Nagios-users] Antwort: Problems with correct execution Nagios Plugin scheduled

2008-06-25 Thread Sascha . Runschke
[EMAIL PROTECTED] schrieb am 25.06.2008 10:32:54: I have one problem very particular on a Nagios check custom. It try to execute one query to Oracle Server. When I run my plugin from Linux shell as nagios user, the check returns correct output. But, when Nagios runs the same plugin with

Re: [Nagios-users] sms notifications for only specific services

2008-06-25 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Machiel Richards wrote: | I have created the sms notifications in the | contacts and contact group, however I am trying to find out how I can | assign this to only specific services while thewy also get mails for | these

[Nagios-users] nagios 3.x - check_bonding ?

2008-06-25 Thread Tom Brown
Hi I have recently started deploying bonding throughout our estate and i interested in monitoring the bonded interface - I can see the status of the bond in /proc/net/bonding but i wonder if anyone has already written a plugin to test this. I have looked on nagios exchange and google but not

Re: [Nagios-users] Check_mrtgtraf

2008-06-25 Thread Steffen Knauf
Hello, you can test your nagios configs if you try: (you have to set correct path to nagios and the config) /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg Perhaps you can post the output. You can find the plugin in you nagios libexec Folder. The service definition is ok, because the

Re: [Nagios-users] NSCA not receiving or send_nsca not sending

2008-06-25 Thread Mohr James
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Anthony Montibello Gesendet: Mittwoch, 25. Juni 2008 05:17 An: Jason Cc: nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] NSCA not receiving or send_nsca not sending There was

Re: [Nagios-users] nagios 3.x - check_bonding ?

2008-06-25 Thread Steffen Knauf
Hi Tom, it's no problem to get the status of the bonding interace via snmp. (i have an Intel Dual Server Adapter): .1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1) The only one you need is the correct oid. so you can check via check_snmp. I try to monitor the traffic of the bonding interface

[Nagios-users] use_timezone

2008-06-25 Thread André Moura
Hi, I add in config file this option: use_timezone=US/Mountain but: /etc/init.d/nagios start Starting nagios:/etc/init.d/nagios: line 121: 6987 Segmentation fault $NagiosBin -d $NagiosCfgFile done. why this? -- André O Moura http://andrem.wordpress.com

Re: [Nagios-users] nagios 3.x - check_bonding ?

2008-06-25 Thread Tom Brown
it's no problem to get the status of the bonding interace via snmp. (i have an Intel Dual Server Adapter): .1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1) The only one you need is the correct oid. so you can check via check_snmp. I try to monitor the traffic of the bonding interface

Re: [Nagios-users] nagios 3.x - check_bonding ?

2008-06-25 Thread Steffen Knauf
it's no problem to get the status of the bonding interace via snmp. (i have an Intel Dual Server Adapter): .1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1) The only one you need is the correct oid. so you can check via check_snmp. I try to monitor the traffic of the bonding interface

[Nagios-users] Problem scheduling downtime externally

2008-06-25 Thread Tony Rice (trice)
I'm trying to interface a database of upcoming downtimes to Nagios via the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME external command. However, writing to the nagios.cmd file just sits there and never returns. I'm wondering if it's a problem with the way the named pipe is setup. My

[Nagios-users] LDAP Authentication, and what authenticated users can see.

2008-06-25 Thread Steven Relf
Hi All, I have gotten LDAP authentication working against the webserver. And it works great, the question is, how do I go about determining what users can see what. Ideally I would like to split it down to per host group. Has anyone got any ideas? Thanks Steve.

Re: [Nagios-users] Problem scheduling downtime externally

2008-06-25 Thread Richard Quintin
I had a similar problem and just switched to using the cmd.cgi to get it done. Attached is a simple daemon I wrote until I can get around to writing a proper one. You can take a look at it to get an example of how to use cmd.cgi. If you decide you want to use the script itself, you'll need to

Re: [Nagios-users] Problem scheduling downtime externally

2008-06-25 Thread Aaron M. Segura
Please be more specific. How, exactly, are you trying to write to the pipe? Please include some examples. Do you look in the nagios log after that to see if it picked up any commands? Are there any relevant log entries that might help? On Wed, 2008-06-25 at 11:09 -0400, Tony Rice (trice)

Re: [Nagios-users] LDAP Authentication, and what authenticated users can see.

2008-06-25 Thread Marc Powell
On Jun 25, 2008, at 10:13 AM, Steven Relf wrote: Hi All, I have gotten LDAP authentication working against the webserver. And it works great, the question is, how do I go about determining what users can see what. Ideally I would like to split it down to per host group. Has anyone

Re: [Nagios-users] Questions about Nagios Looking Glass

2008-06-25 Thread Andy Shellam
Hi Matt, Sounds like quite a task you've gotten there! Can I take it that fun is with a capital F? ;-) The template engine isn't really an engine at all, but simply a mixture of placeholders and a bunch of str_replace()'s! It is hideous I know, but v2 will have it's own templating engine

Re: [Nagios-users] Problem scheduling downtime externally

2008-06-25 Thread Tony Rice (trice)
Perl script looks like this: open (FILE, $cmd_file); print [$epoch_now] SCHEDULE_HOST_DOWNTIME;$host;$epoch_start;$epoch_stop;0;0;$duration;$use rid;$comment\n; close (FILE); Nothing in the log indicating that this command is making it anywhere. Nothing in the log relevant either. -Tony

Re: [Nagios-users] Problem scheduling downtime externally

2008-06-25 Thread Tony Rice (trice)
Sorry, typo in my cutting and pasted to the email. The FILE file handle is there. -Tony -Original Message- From: Aaron M. Segura [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 1:37 PM To: Tony Rice (trice) Cc: nagios-users@lists.sourceforge.net Subject: RE:

Re: [Nagios-users] Problem scheduling downtime externally

2008-06-25 Thread Mathieu Gagné
You can't open nagios.cmd in append mode, otherwise it will cause a seek. You should use the function nagios_cmd declared in Nagios::Cmd: http://search.cpan.org/src/TOBEYA/Nagios-Cmd-0.05/lib/Nagios/Cmd.pm It's working fine for me. -- Mathieu

Re: [Nagios-users] Problem scheduling downtime externally

2008-06-25 Thread Marc Powell
On Jun 25, 2008, at 12:32 PM, Tony Rice (trice) wrote: Perl script looks like this: open (FILE, $cmd_file); print [$epoch_now] SCHEDULE_HOST_DOWNTIME;$host;$epoch_start;$epoch_stop;0;0;$duration; $use rid;$comment\n; close (FILE); Nothing in the log indicating that this command is

Re: [Nagios-users] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Jay R. Ashworth
On Tue, Jun 24, 2008 at 12:49:15PM -0400, Brian A. Seklecki wrote: given enough eyeballs, all bugs are shallow -- Eric S. Raymond -- But only if someone writes them down :) And if other people work the tickets. Is *that* part figured out yet? :-) Cheers, -- jra -- Jay R. Ashworth

Re: [Nagios-users] Check_mrtgtraf

2008-06-25 Thread eandre
WHAT I DON´T UNDERSTAND IS THAT WHEN I USE: ./check_mrtgtraf -F /var/www/mrtg/memswap.log -a MAX I GET THIS ANSWER: Traffic CRITICAL - Max. In = 217.0 B/s, Max. Out = 0.0 B/s|in=217.00B/s;;;0.00 in=0.00B/s;;;0.00 SO, HOW DO I TRANSLATE THIS TO THE CORRECT SYNTAX IN

[Nagios-users] HOWTO for nagiosgrapher

2008-06-25 Thread Stephen Valdinger
Does anyone have notes on how to get nagiosgrapher up and running on an ubuntu installation? I've downloaded the stuff, but there is no configure scripts or anything, and the documentation just plain well sucks. Any help or pointers would be wonderful. Google yielded a few very vague and unhelpful

Re: [Nagios-users] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Brian A. Seklecki
On Wed, 2008-06-25 at 14:14 -0400, Jay R. Ashworth wrote: And if other people work the tickets. I'll volunteer to have my team manage tickets and generate reports. Its just a reality of work-flow management in F/OSS projects. Consider at Net-SNMP, one of the most active projects on sf.net

Re: [Nagios-users] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Jay R. Ashworth
On Wed, Jun 25, 2008 at 03:38:03PM -0400, Brian A. Seklecki wrote: On Wed, 2008-06-25 at 14:14 -0400, Jay R. Ashworth wrote: And if other people work the tickets. I'll volunteer to have my team manage tickets and generate reports. Its just a reality of work-flow management in F/OSS

Re: [Nagios-users] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Brian A. Seklecki
Yes, precisely my point. If no developers are closing tickets, having a tracking system is somewhat beside the point. My opinion is that Net-SNMP actually doing a suburb job. Good enough that vendors are shipping it embedded (a la OpenSSH into Cisco and HFUX) Moreover, even if tickets

Re: [Nagios-users] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Jay R. Ashworth
On Wed, Jun 25, 2008 at 04:11:10PM -0400, Brian A. Seklecki wrote: Yes, precisely my point. If no developers are closing tickets, having a tracking system is somewhat beside the point. My opinion is that Net-SNMP actually doing a suburb job. Good enough that vendors are shipping it

[Nagios-users] check_nrpe missing

2008-06-25 Thread Natxo Asenjo
hi, I followed the instructions on the guide to install nagios 3.03 and the nagios-plugins-1.4.12. The operating system is debian stable, but as I say, the nagios installation is manual from the official nagios sources. I do # tar xzf nagios-plugins-1.4.12.tar.gz # cd nagios-plugins-1.4.12

Re: [Nagios-users] check_nrpe missing

2008-06-25 Thread kyle . odonnell
check_nrpe does not come with the nagios-plugins. Download the nrpe source tarball. On 6/25/08, Natxo Asenjo [EMAIL PROTECTED] wrote: hi, I followed the instructions on the guide to install nagios 3.03 and the nagios-plugins-1.4.12. The operating system is debian stable, but as I say, the

Re: [Nagios-users] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Brian A. Seklecki
On Wed, 2008-06-25 at 16:14 -0400, Jay R. Ashworth wrote: admit I'm not familiar with their ticket universe, so I retract the judgement. And I would concede that there are certain scenarios where it can be especially tricky, in terms of conflict of interest, for example when an F/OSS project

Re: [Nagios-users] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Marc Powell
On Jun 25, 2008, at 3:14 PM, Jay R. Ashworth wrote: Oh, I'm all for ticketing systems... as long as they aren't giving people the impression that work is likely to be done which will not in fact ever be done. Have you looked at The Original Bugzilla lately? ;-) Has anyone bothered to

Re: [Nagios-users] NSCA not receiving or send_nsca not se nding

2008-06-25 Thread Jason
Thanks guys! That would explain why the messages are not being received from the Windows machine as the time is, in fact, later than the time on the server. However, it does not make sense to me that it starts working when I reboot the Windows machine or in the case of the Linux machine I

Re: [Nagios-users] Forcing a check on a Desginated Slave from cmd.cgi?

2008-06-25 Thread Brian A. Seklecki
On Tue, 24 Jun 2008, Marcel wrote: have you looked at DNX? I think it's the way to solve your problem. I talked to the DNX people about some contract work to develop a slave-specific meta-data structure -- none exists -- DNX's decision making is based on load distribution metrics. As for

[Nagios-users] Custom Cfg files?

2008-06-25 Thread Shoaibi
What if i create my config files and want to use them instead of the default files? Like suppose: Default files are: contact.cfg template.cfg commands.cfg localhost.cfg and i want to create files like: test_contact.cfg test_template.cfg test_commands.cfg test_localhost.cfg and want to use

[Nagios-users] notify_with_sms

2008-06-25 Thread Shoaibi
Before you read further, please have a look at the following pages if you havent seen them already... http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1855.html;d=1 http://cristian.livadaru.net/2006/04/27/nagios-with-sms-notification/ My question is, what are the correct define commands for the

[Nagios-users] disable event handlers during scheduled downtime

2008-06-25 Thread [EMAIL PROTECTED]
Hi, I set up Nagios with event handlers to restart an application in case it fails, when I have to do a maintenance of it, I schedule downtime, but when I start working on the maintenance, Nagios restarts it and does not let me work, so, what I'm doing now, is stopping Nagios, but I know that

Re: [Nagios-users] HOWTO for nagiosgrapher

2008-06-25 Thread Dirk H. Schulz
Stephan, --On 25. Juni 2008 14:24:57 -0400 Stephen Valdinger [EMAIL PROTECTED] wrote: Does anyone have notes on how to get nagiosgrapher up and running on an ubuntu installation? I've downloaded the stuff, but there is no configure scripts or anything, and the documentation just plain well

Re: [Nagios-users] Custom Cfg files?

2008-06-25 Thread Mathieu Gagné
You should look in the manual for the configuration variable cfg_file: http://nagios.sourceforge.net/docs/3_0/configmain.html Mathieu Shoaibi wrote: What if i create my config files and want to use them instead of the default files? Like suppose: Default files are: contact.cfg