Re: [Nagios-users] Cannot add remote-linux server to my setup to be monitored
You've got to tell your service what hosts/hostgroups it has to check. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service You can do this by adding one of this to the service you would like to monitor: hostgroup_name compute-nodes host_name star01 Rahul Nabar wrote: I just installed Nagios and I can monitor my localhost all right. I tried to start with one of my remote compute-nodes but this does not seem to work so well. I see my new group compute-nodes on the web interface but it does not list the remote machine I tried adding. I'm stumped as to what I am doing wrong! To my nagios.cfg I added this line :cfg_file=/usr/local/nagios/etc/hosts.cfg And made a new /usr/local/nagios/etc/hosts.cfg like so: define hostgroup{ hostgroup_name compute-nodes alias compute-nodes members star01 } define host{ host_name star01 alias star01 address 11.0.0.1 hostgroups compute-nodes check_command check-host-alive max_check_attempts 5 check_period24x7 process_perf_data 0 retain_nonstatus_information0 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } Shouldn't this be a basic template to get me started up? What else do I need to do? Any debug suggestions? A ping to 11.0.0.1 is successful. -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Cannot add remote-linux server to my setup to be monitored
Just a little side note: I don't think you need to maintain the hostgroup- host relationship in both the hostgroup and host definitions. Keep the definition in one of the two to get a cleaner code. Someone please correct me if I'm wrong. :) On 12/22/08, Rahul Nabar rpna...@gmail.com wrote: I just installed Nagios and I can monitor my localhost all right. I tried to start with one of my remote compute-nodes but this does not seem to work so well. I see my new group compute-nodes on the web interface but it does not list the remote machine I tried adding. I'm stumped as to what I am doing wrong! To my nagios.cfg I added this line :cfg_file=/usr/local/nagios/etc/hosts.cfg And made a new /usr/local/nagios/etc/hosts.cfg like so: define hostgroup{ hostgroup_name compute-nodes alias compute-nodes members star01 } define host{ host_name star01 alias star01 address 11.0.0.1 hostgroups compute-nodes check_command check-host-alive max_check_attempts 5 check_period24x7 process_perf_data 0 retain_nonstatus_information0 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } Shouldn't this be a basic template to get me started up? What else do I need to do? Any debug suggestions? A ping to 11.0.0.1 is successful. -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios / OTRS (or other ticketing systems)
Has anyone (or does anyone) successfully use Nagios and OTRS or anotehr ticketing system in parallel? I am looking for a solution that will open a support ticket if a problem is found. -- http://www.volatileminds.net -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios / OTRS (or other ticketing systems)
Has anyone (or does anyone) successfully use Nagios and OTRS or anotehr ticketing system in parallel? I am looking for a solution that will open a support ticket if a problem is found. I've used Nagios in concert with Request Tracker (http://www.bestpractical.com). RT can accept tickets via email, and Nagios is good at emailing when there's a problem, so it works well. -- Joe Hartley | Sr. Linux SysAdmin Retail Solutions, Inc. (formerly VeriSign RDS) 40 Sharpe Drive Cranston, RI 02920 joe.hart...@retailsolutions.com +1 401.824.5040 (o) | +1 401.824.5002 (f) -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios / OTRS (or other ticketing systems)
On Dec 23, 2008, at 11:32 AM, Brandon Perry wrote: Has anyone (or does anyone) successfully use Nagios and OTRS or anotehr ticketing system in parallel? I am looking for a solution that will open a support ticket if a problem is found. The OTRS guys know how. They gave a presentation at Netways last year. If you can fumble through German, the PDFs of their presentations might be useful -- http://www.netways.de/nagios_konferenz/y2008/programm/v/nagios_otrs/ http://www.netways.de/nagios_konferenz/y2008/programm/w/otrs_workshop/ -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Cannot add remote-linux server to my setup to be monitored
On Tue, Dec 23, 2008 at 4:02 AM, Kenneth Holter kenneho@gmail.com wrote: Just a little side note: I don't think you need to maintain the hostgroup- host relationship in both the hostgroup and host definitions. Keep the definition in one of the two to get a cleaner code. Someone please correct me if I'm wrong. :) Thanks guys! I got it working now. Another question: I see a Critical Notification of the sort: PROCS CRITICAL: 1217 processes with STATE = RSZDT on my localhost itself. What is this? Any clues? I'm stumped. -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios / OTRS (or other ticketing systems)
We are working on integration with Unicenter Service Desk via their mail interface (too start with) and later on their WebServices interface. On Wed, Dec 24, 2008 at 10:30 AM, Marc Powell m...@ena.com wrote: On Dec 23, 2008, at 11:32 AM, Brandon Perry wrote: Has anyone (or does anyone) successfully use Nagios and OTRS or anotehr ticketing system in parallel? I am looking for a solution that will open a support ticket if a problem is found. The OTRS guys know how. They gave a presentation at Netways last year. If you can fumble through German, the PDFs of their presentations might be useful -- http://www.netways.de/nagios_konferenz/y2008/programm/v/nagios_otrs/ http://www.netways.de/nagios_konferenz/y2008/programm/w/otrs_workshop/ -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Cannot add remote-linux server to my setup to be monitored
Rahul Nabar wrote: On Tue, Dec 23, 2008 at 4:02 AM, Kenneth Holter kenneho@gmail.com wrote: Just a little side note: I don't think you need to maintain the hostgroup- host relationship in both the hostgroup and host definitions. Keep the definition in one of the two to get a cleaner code. Someone please correct me if I'm wrong. :) Thanks guys! I got it working now. Another question: I see a Critical Notification of the sort: PROCS CRITICAL: 1217 processes with STATE = RSZDT on my localhost itself. What is this? Any clues? I'm stumped. It means you have a service check set up to check how many processes are in the state RSZDT (I believe these are active processes) with a critical threshold. The current number of (active?) processes on the machine is 1,217 which is above your critical threshold you have defined so Nagios is alerting you (good Nagios.) You might want to look into that Andy -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Cannot add remote-linux server to my setup to be monitored
On Tue, Dec 23, 2008 at 6:52 PM, Andy Shellam andy-li...@networkmail.eu wrote: It means you have a service check set up to check how many processes are in the state RSZDT (I believe these are active processes) with a critical threshold. The current number of (active?) processes on the machine is 1,217 which is above your critical threshold you have defined so Nagios is alerting you (good Nagios.) Good Nagios indeed! It has paid back pretty quickly! Something did indeed go wrong on my server and had spawned a lot of processes in the S status. I am looking into this now. Glad I did not ignore the red critical flag! -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Notification Problem
Hi, I have configured nagios 3.0.5, on my linux EL4 box. i have successfully configured and added my all servers. i am able to monitor all servers. But am unable to recieve mails form nagios server when a host down. any one help me to resolve this problem. Thanks Regards Satya. -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] nagios error: Could not stat() command file
When I try to access many of the sub-menu options under nagios (eg. deactivate the service etc.) I get the following error: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. I looked in the indicated dir and it seems empty. Should there be something in there? Does it point to a fault Nagios install? All my tests seemed OK. Any suggestions? -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Notification Problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 satya narayana wrote: I have configured nagios 3.0.5, on my linux EL4 box. i have successfully configured and added my all servers. i am able to monitor all servers. But am unable to recieve mails form nagios server when a host down. any one help me to resolve this problem. Which sections of the manual did you read about this? Who did setup the SMTP server or whatever you want to use for notifications? Which other steps have you taken to configure and debug this? Hugo. - -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklR1rYACgkQBvzDRVjxmYE0YgCgtfG7RHv8SFQgEPZeE04fX07n k0UAnRrjfDOBwNrM21ObqSkd652sLNaS =61Bt -END PGP SIGNATURE- -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Unable to Commit anything
Hi, My Nagios was working perfectly but now from some days when I tried to stop some notifications I get a message that nagios.cmd file is not present. So please suggest me how to resolve this problem. Thanks Regards, Saurabh Kulkarni Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from x...@flagtelecom.com to x...@relianceglobalcom.com -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios error: Could not stat() command file
Rahul Nabar wrote: When I try to access many of the sub-menu options under nagios (eg. deactivate the service etc.) I get the following error: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. I looked in the indicated dir and it seems empty. Should there be something in there? The error is telling you that /usr/local/nagios/var/rw/nagios.cmd is missing. It should be there. Have you Googled and checked the list archives? I answered this same question earlier this month. Ian -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios error: Could not stat() command file
On Wed, Dec 24, 2008 at 1:14 AM, Ian Masters i...@acces.co.jp wrote: Have you Googled and checked the list archives? I answered this same question earlier this month. Oh! I'll google on the Nagios list. I missed out on this one. Sorry. -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null