[Nagios-users] WRONG STATUS

2007-03-23 Thread grace ingabire
Hello, I' m using nagiosVersion 2.0 and sometimes nagios delivers wrong status like the device is down as you can see it here although the device is not. Notification Type: PROBLEM Host: cisco_7204_157_194 State: DOWN Address: 196.12.157.194 Info: $ Date/Time: Sat Mar 24 09:35:48 CA

Re: [Nagios-users] Checking host up without ping

2007-03-23 Thread Taieb
Hi, Yes you can. If you have an other server running on it, example of http server you can use the check_http command, and I think you should remove the check_host_alive from the host config. If your switch does not host any other services, take a look on the check_fping command it may work :) Ri

Re: [Nagios-users] Checking host up without ping

2007-03-23 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Michael Johnston > Sent: Friday, March 23, 2007 4:12 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Checking host up without ping > > Hi list > > I swear I've see

Re: [Nagios-users] Checking host up without ping

2007-03-23 Thread Patrick Morris
On Fri, 23 Mar 2007, Michael Johnston wrote: > I swear I've seen a way to do this this before but I just can't remember > where and I can't seem to find it. Isn't there a way to check to see if a > host is up without having to ping it? I have a switch that we don't allow > ICMP return but I'd

Re: [Nagios-users] Checking host up without ping

2007-03-23 Thread Clyde Jones
You could use SNMP if it is configured. Make sure to change your community from public to something else and make it read only -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Johnston Sent: Friday, March 23, 2007 2:12 PM To: nagios-users@lists.so

[Nagios-users] Checking host up without ping

2007-03-23 Thread Michael Johnston
Hi list I swear I've seen a way to do this this before but I just can't remember where and I can't seem to find it. Isn't there a way to check to see if a host is up without having to ping it? I have a switch that we don't allow ICMP return but I'd still like to have nagios tell me if it's up

[Nagios-users] Checking host up without ping

2007-03-23 Thread Michael Johnston
Hi list I swear I've seen a way to do this this before but I just can't remember where and I can't seem to find it. Isn't there a way to check to see if a host is up without having to ping it? I have a switch that we don't allow ICMP return but I'd still like to have nagios tell me if it's up

Re: [Nagios-users] nagios check_nt eventlog Windows

2007-03-23 Thread Anthony Montibello
Framework 2.0 is installed by default on Windows Server 2003 and newer. NC_NEt v3 or higher installs with no issue on these hosts since they require Framework 2.0 NC_NEt before version 3 (2.X or 1.X) require Framework 1.1 but I do not recomend installing older verison of NC_NEt. I just updated Na

[Nagios-users] check_http without HEAD

2007-03-23 Thread Massimiliano Liccardo
I'm wondering why the check_http plugin doesn't use also the HEAD method to poll a web server in order to reduce traffic. -- Massimiliano Liccardo (maX) <[EMAIL PROTECTED]> jid:[EMAIL PROTECTED] jid:[EMAIL PROTECTED] GnuPG public key available on wwwkeys.eu.pgp.net Key ID: D01F1CAD Key fin

[Nagios-users] Breakdown of status.cgi?

2007-03-23 Thread Jonathan Call
Is there some documentation somewhere that breaks down the possible variables and options available to status.cgi? For example, what are all the possible binary operands for servicestatustypes or style? I'm trying to create a Current Network Status view that will be more appropriate for NOC peopl

Re: [Nagios-users] nagios check_nt eventlog Windows

2007-03-23 Thread Mies, Christian
if you can change the software on windows use nsclient++- there is also a NRPE Daemon included, and you don't nee framework 1.x or 2.x regards Christian it-novum GmbH Ein Unternehmen der Mehler AG Christian Mies Consultant Systemmanagement Edelze

[Nagios-users] nagios check_nt eventlog Windows

2007-03-23 Thread Alicia Calvo
Hi, I need your help... I work fine with 'Check_nt' Eventlogs Windows for any time, it nedd install a client in the Windows machine with Nc_net_setup.msi and have a requirement, the microsoft Net framework 1.1.4. But, today, the current version in my servers is net framework 2.0 and the install c

Re: [Nagios-users] Images not showing in GUI

2007-03-23 Thread Payam Jahromi
ls -l /usr/local/nagios/share/images total 316 -rw-rw-r-- 1 nagios nagios 891 Mar 12 12:21 ack.gif -rw-rw-r-- 1 nagios nagios 1374 Mar 12 12:21 action.gif -rw-rw-r-- 1 nagios nagios 1187 Mar 12 12:21 command.png -rw-rw-r-- 1 nagios nagios 900 Mar 12 12:21 comment.gif -rw-rw-r-- 1 n

Re: [Nagios-users] Images not showing in GUI

2007-03-23 Thread Dinçer Kavraal
It's okay for now. But could you check "ls -l /usr/local/nagios/share/images"? 2007/3/23, Payam Jahromi <[EMAIL PROTECTED]>: I've re-read this page and I still don't know the issue. I've made sure the permissions are readable. I put in the snippet in my httpd.conf file. [EMAIL PROTECTED]

Re: [Nagios-users] Images not showing in GUI

2007-03-23 Thread Payam Jahromi
I’ve re-read this page and I still don’t know the issue. I’ve made sure the permissions are readable. I put in the snippet in my httpd.conf file. [EMAIL PROTECTED] conf]# ls -ld /usr/local/nagios/sbin drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/sbin [EMAIL PROTECTED

Re: [Nagios-users] Images not showing in GUI

2007-03-23 Thread Dinçer Kavraal
You have to recheck your image permissions. Be sure they are readable by web server (read: http://nagios.sourceforge.net/docs/2_0/installweb.html) 2007/3/23, Payam Jahromi < [EMAIL PROTECTED]>: Hi, I just installed and set up nagios (version 2.8) for the first time. I set up the cgi-bin di

[Nagios-users] Images not showing in GUI

2007-03-23 Thread Payam Jahromi
Hi, I just installed and set up nagios (version 2.8) for the first time. I set up the cgi-bin directory per the instructions, but when I go to the web interface, I don't see any images or icons/colors. I can see the nagios colors to the left, but the images in the middle are X'd out. -

Re: [Nagios-users] setting the From: email address

2007-03-23 Thread Dinçer Kavraal
Kyle is right. You can use: # sendmail -f [EMAIL PROTECTED] . or for mail you can give header information: # mail -a "From: [EMAIL PROTECTED]" . 2007/3/23, Robin Mordasiewicz <[EMAIL PROTECTED]>: What are people doing in order to set the From: email address that notifications appear to

Re: [Nagios-users] check_users plugin problem [Solved]

2007-03-23 Thread Dinçer Kavraal
It might be using default .po file (translation - language). You can set your default language to solve that English problem. But there is a problem in here, you ought not to run nagios as root. There can occur a security flaw. Try to run only "check_users" as root or give related permission to th

Re: [Nagios-users] setting the From: email address

2007-03-23 Thread Kyle O'Donnell
i use sendmail -f printf "%" "To: for\n Subject: bar\n this is an alert" |sendmail -f nagiosadmin $contactemail$ On 3/23/07, Morris, Patrick <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of Robin Mordasiewicz > >

Re: [Nagios-users] setting the From: email address

2007-03-23 Thread Morris, Patrick
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Robin Mordasiewicz > Sent: Friday, March 23, 2007 9:07 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] setting the From: email address > > What are people doing in order to set

[Nagios-users] setting the From: email address

2007-03-23 Thread Robin Mordasiewicz
What are people doing in order to set the From: email address that notifications appear to come from. When using mail the email notifications appear to come from the [EMAIL PROTECTED] which nagios runs. -- - Take Surveys.

Re: [Nagios-users] check_users plugin problem

2007-03-23 Thread Sil
Dinçer Kavraal a écrit : > Ok. It's an issue of security. However, I do not know how to achieve > this. Sorry. > But you can search for "grant user who" like strings at Google. I will look about this. > By the way, I will be looking for that, if found, I will share it and > asking you same. Okay?

[Nagios-users] NDOutil question

2007-03-23 Thread Jay Radcliffe
I am looking to eliminate the timedevents and servicechecks data from being NDO'd into my database. Currently my data_processing_options is set to -1, which includes everything. The documentation refers to a header file that doesn't exist to OR the values together to get the right dataset. Has anyo

Re: [Nagios-users] check_users plugin problem

2007-03-23 Thread Dinçer Kavraal
Ok. It's an issue of security. However, I do not know how to achieve this. Sorry. But you can search for "grant user who" like strings at Google. By the way, I will be looking for that, if found, I will share it and asking you same. Okay? Dinçer 2007/3/23, Sil <[EMAIL PROTECTED]>: Dinçer Kav

[Nagios-users] check_perc.pl

2007-03-23 Thread Josh Yost
Hi all, If anyone uses my check_perc.pl, I've posted a new version on nagiosexchange.org. The core functionality hasn't changed much, except for (hopefully) better error handling, expanded options, & more debugging output. changes: - switched to Getopt::Long - more nagios plugin-complia

Re: [Nagios-users] check_users plugin problem [Solved]

2007-03-23 Thread Sil
I think I solved the problem. In my tests I've try the plugin in a user shell, a sudo shel and a root shell (su - ) But when I restart a service I use sudo. $ sudo /etc/init.d/nagios restart So I try to restart Nagios service in a root shell : $ su - pw # /etc/init.d/nagios restart And now it wo

Re: [Nagios-users] SMS notification with gammu - Solved

2007-03-23 Thread Josh Yost
Simon Welch wrote: > The problem was due to the /dev/ttyACM0 device that was created when the > mobile was connected via USB not having rw access for other user. Is there > a way to make these permissions persistent on a reboot or disconnection > of a > hot plug device? > Hi, Are you usi

Re: [Nagios-users] SMS notification with gammu - Solved

2007-03-23 Thread Simon Welch
The problem was due to the /dev/ttyACM0 device that was created when the mobile was connected via USB not having rw access for other user. Is there a way to make these permissions persistent on a reboot or disconnection of a hot plug device? Many thanks Simon On 3/23/07, Dinçer Kavraal <[EMAIL

Re: [Nagios-users] check_users plugin problem

2007-03-23 Thread Sil
Dinçer Kavraal a écrit : > Sorry, but that number difference is because: > - when root is logged in, you have used "su root", so there are two > users: 1) root 2) (already open) me > - when "me" is logged in, there are only 1 user which is "me". My example was too simple sorry, here an other : [EM

Re: [Nagios-users] SMS notification with gammu

2007-03-23 Thread Dinçer Kavraal
Hello Simon, Probably, it is so. Otherwise, I don't have anything sensible in my mind about this. Could you check (if possible pass to Nagios user and try to execute) /usr/bin/printf /usr/local/bin/gammu can be readable and executable by Nagios user? you can simply add # chmod +x /usr/bin/printf

Re: [Nagios-users] SMS notification with gammu

2007-03-23 Thread Simon Welch
Dinçer I did as you suggested and echoed the command into a temporary file (output below), so the notification is been triggered. Again if I run the output of the text file manually then the sms is sent as expected but not as part of the notification command. Could it be due to permissions? /u

Re: [Nagios-users] check_users plugin problem

2007-03-23 Thread Dinçer Kavraal
Sorry, but that number difference is because: - when root is logged in, you have used "su root", so there are two users: 1) root 2) (already open) me - when "me" is logged in, there are only 1 user which is "me". I hope it's clear enough. So is this all problem? or is it only a sample? Summary:

[Nagios-users] check_users plugin problem

2007-03-23 Thread Sil
Hi, Excuse for my bad English, I'm French. I'm trying to check my local users on Debian Sarge Nagios 1.3 with the plugin check_users. But it only find one user each time. Only root can make work properly the plugin : [EMAIL PROTECTED]:~$ /usr/lib/nagios/plugins/check_users -w3 -c10 UTILISATEURS O