Re: [Nagios-users] Notification Interval problem

2008-10-20 Thread Gürkan Aslan
Hi Eric, As you can see in the description, your service is configured to check for every 1 minutes... You can try to change normal_check_interval to 10 and retry_check_interval to 1. Nagios will check the service in every 10 minutes and if something fails, it will retry to check in every 1

[Nagios-users] Unmanaged switch

2008-10-20 Thread Mike
Folks, What is the best way to include an unmanaged (read: IPless) switch in Nagios? Obviously I can't monitor it directly, but I'd like Nagios to be aware of it in the network heirachy so that it is aware that it is a possible poit of failure. Can I just define it as a host with no IP address

Re: [Nagios-users] Unmanaged switch

2008-10-20 Thread Assaf Flatto
you'll need an ip to define it, since nagios require an address if you define it as host . but you van give it a fictitious ip and assign the Check_dummy to it so it will have a service assigned to it. then you can put it in the hierarchy . Unfortunately , this will not give a good indication

Re: [Nagios-users] Unmanaged switch

2008-10-20 Thread Christian Schneemann
On Monday October 20 2008 11:38:04 am Paul Weaver wrote: How about a new command called fakecheck, and apply to a dumbswitch host with a 127.0.0.1 address. It would take a list of machines, and check them all. If any of them are up, then the fakecheck would return OK, otherwise it would return

Re: [Nagios-users] Unmanaged switch

2008-10-20 Thread Paul Weaver
On Monday October 20 2008 11:38:04 am Paul Weaver wrote: How about a new command called fakecheck, and apply to a dumbswitch host with a 127.0.0.1 address. It would take a list of machines, and check them all. If any of them are up, then the fakecheck would return OK, otherwise it

Re: [Nagios-users] mediawiki - include the nagios status report

2008-10-20 Thread Paul Weaver
Use an iframe to include http://nagios/cgi-bin/status.cgi?servicegroup-allstyle=summary -- you'd need a mediawiki plugin to allow the use of iframes The use of actualize does ask questions.. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 822

Re: [Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
The issue is the mail router is natted to only one local IP. On Mon, Oct 20, 2008 at 10:13 AM, Assaf Flatto [EMAIL PROTECTED]wrote: You should be able to do that . if you have access to the server , and the routing allows you to reach it , ( and as you say you do not have an ip collision

Re: [Nagios-users] check_dxml_drvstate report incorrectly remotely

2008-10-20 Thread trevor obba
The initial problem was due to the plug-in’s log file been own by root. Nagios could not write to the log hence the plug-in was not working when executed as nagios, deleting /tmp/check_dxml_drvstate.err and nagios automatically recreate the log file with permission to write to it fix the

[Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
Hi Guys, Our email server is currently behind a cisco router. The server is running a local IP and the router is on a public IP. I installed NSClient and use the check_nt plugin to monitor the email server. Here is my host file define host{ use dns-servers

Re: [Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Assaf Flatto
Can you access that ip from the nagios server (ping it ?) It seems to me the issue is with the routing , not with nagios. you need to define in your routers the routing tables to the natted IP's , and then define the host you wish to check . On Monday 20 October 2008 12:21:41 Alex Dehaini

Re: [Nagios-users] Unmanaged switch

2008-10-20 Thread Paul Weaver
How about a new command called fakecheck, and apply to a dumbswitch host with a 127.0.0.1 address. It would take a list of machines, and check them all. If any of them are up, then the fakecheck would return OK, otherwise it would return an error state. Something like #!/usr/bin/perl my $up =

Re: [Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
Can you route traffic to two local IPs behind the router? On Mon, Oct 20, 2008 at 1:50 PM, Assaf Flatto [EMAIL PROTECTED]wrote: So it is like I thought , you need to define a routing rules on that router to direct the traffic to the device nat'ed behind . On Monday 20 October 2008 14:42:08

Re: [Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Assaf Flatto
I can not tell you more about routing , since i am not a CISCO expert . i suggest you ask the people that setup your network for those issue. On Monday 20 October 2008 15:23:50 Alex Dehaini wrote: Can you route traffic to two local IPs behind the router? On Mon, Oct 20, 2008 at 1:50 PM,

Re: [Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
Okay, thanks On Mon, Oct 20, 2008 at 2:28 PM, Assaf Flatto [EMAIL PROTECTED]wrote: I can not tell you more about routing , since i am not a CISCO expert . i suggest you ask the people that setup your network for those issue. On Monday 20 October 2008 15:23:50 Alex Dehaini wrote: Can

[Nagios-users] How do I check if a website is up?

2008-10-20 Thread Josh Wells
Do I have to define a remote host such as www.website.com in order to apply the check_http service against that host? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux

[Nagios-users] mediawiki - include the nagios status report

2008-10-20 Thread Bianca
hello all, i´m creating a webpage with mediawiki and i want to include there the Status Summary For All Service Groups. but i want this status report to acutalize itself. how can i manage this? - This SF.Net email is

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Assaf Flatto
Not nessaceily . If you have that website in your network , you can just define the check_http check to that host. also you can add in one of the parameters the specific URL you wish to query . -u, --url=PATH URL to GET or POST (default: /) Or you can define a check on the nagios server

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Hendrik Bäcker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh Wells schrieb: Do I have to define a remote host such as www.website.com http://www.website.com in order to apply the check_http service against that host? Yes/No ;) You can but you have not to... you can use check_http as a service for an

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread James
On Mon, October 20, 2008 10:18 am, Josh Wells wrote: Do I have to define a remote host such as www.website.com in order to apply the check_http service against that host? A service needs a host so I think so. It doesn't need to be www though, as long as port 80 answers. All it does it telnet

Re: [Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Assaf Flatto
Unless you have two servers with the same local ip - you shouldn't have any problems. i assume that the routing rules you have between routers know which range is behind which router , so all you need to do is monitor the second mail server as a regular server on the your network. Can you

Re: [Nagios-users] mediawiki - include the nagios status report

2008-10-20 Thread Paul Weaver
-Original Message- From: Heigl, Bianca [mailto:[EMAIL PROTECTED] Sent: 20 October 2008 11:56 To: Paul Weaver Subject: AW: [Nagios-users] mediawiki - include the nagios status report Thanks a lot, i will try this. Sorry, I didn´t mean actualize, I meant that it should update

Re: [Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
Nagios is on a public IP, the router is on a public IP and the two servers are on local IPs. Here is the connection *mail1*(localIP) - *MailRouter*(PublicIP) - Switch --- (*Nagios*)(PublicIP) *mail2* (localIP) If the two servers have

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Josh Wells
Ok so if the website is external to my network I need to create a host definition? What would that look like for a URL? I've only made host definitions for internal hosts using the IP address. Because the website is a hosted solution I would rather define it by URL than IP address. Is this

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Assaf Flatto
No , you don't have to define a host . you define a service check with the fix parameters ( as i gave in the previous mail ) and assign this check to an existing host . that host will execute the check and report the status returned from the command ( personally i'd run it from the nagios

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Paul Weaver
However if you use a squid proxy, running the service on the cache would be a better choice. If not, running on your external gateway might be a good idea. After all, if your internet connection goes down, it doesn't mean www.google.com isn't available -- it means you can't see it. -- Paul

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Josh Wells
Ok I defined the command as you specified in my commands.cfg file. I then added a service definition in my localhost.cfg file using that command. It appears to be working. How do I configure an alert for this type of check? I would like to be notified if the website is not reachable for more

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Assaf Flatto
Josh All those questions you asked here , are explained in detail in the documantation . http://www.nagios.org/docs/ I sugest you read that , and if you have any questions , we'll be happy to help. On Monday 20 October 2008 17:17:03 Josh Wells wrote: Ok I defined the command as you specified

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Ben O'Hara
What i have done in the past is, a) create a host for www.example.com b) ceate a host group - External c) stick www.example.com in Eternal group ) add service check to host Yu can then add numberous external checks into the group or check other services on the host. Seemed to make sense that

[Nagios-users] Nagios 2

2008-10-20 Thread mba
I have a question about Nagios version 2 that I use to oversee the entire park. I NRPE and orders. on some queries on some LDAP servers AD (Active Directory), nagios sends me: SERVER SERVICE TIME OK%%% SIMPLE WARNING TIME TIME TIME UNKNOWN% CRITICAL TIME INDETERMINATE% DC 1 LDAP