Re: [Nagios-users] Nagios not working except for local host
Thanks for the Reponses guys. I went back and reconfigured from source and now Nagios is working! So now it's on to pnp4nagios and then NRPE. Thanks again. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -Original Message- From: Frost, Mark {BIS} [mailto:mark.fro...@pepsico.com] Sent: Tuesday, January 08, 2013 9:13 AM To: Nagios Users List Subject: Re: [Nagios-users] Nagios not working except for local host Martin, Remember that the UI shows you hosts and services based on the user you're logged into the UI as (or the user that apache thinks you are and then passes that on to the Nagios CGIs). The hosts/services shown to a userid in the UI are based on either what Nagios thinks that user is a contact for (i.e. that id is a contact for a given host or service therefore you see it in the UI) or based on what settings you have for that user in your cgi.cfg file. So if you're logged in as "martin" in the UI and "martin" doesn't match a contact in Nagios, then you would want to change your cgi.cfg to give "martin" permissions to say view all hosts, etc. Mark -Original Message- From: Martin Hugo [mailto:martin_h...@hboe.org] Sent: Tuesday, January 08, 2013 8:30 AM To: 'Nagios Users List' Subject: [Nagios-users] Nagios not working except for local host Hello, My Nagios server died and I am having to rebuild (ran well for the best part of two years). I am running Nagios Core 3.4.3 on Ubuntu 12.04 and have added pnp4nagios 0.6.19. Nagios and pnp4nagios were installed from source. I believe I have configured it correctly but I have obviously missed something. My Nagios pre-flight check shows no errors (one warning about a host with no services assigned - which I am aware of), it correctly lists the number of hosts and services but, when I go to the web interface, it only shows the local host. Can anyone suggest where I might start troubleshooting this? Thanks very much. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ 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 -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ 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 -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ 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 not working except for local host
Martin, Remember that the UI shows you hosts and services based on the user you're logged into the UI as (or the user that apache thinks you are and then passes that on to the Nagios CGIs). The hosts/services shown to a userid in the UI are based on either what Nagios thinks that user is a contact for (i.e. that id is a contact for a given host or service therefore you see it in the UI) or based on what settings you have for that user in your cgi.cfg file. So if you're logged in as "martin" in the UI and "martin" doesn't match a contact in Nagios, then you would want to change your cgi.cfg to give "martin" permissions to say view all hosts, etc. Mark -Original Message- From: Martin Hugo [mailto:martin_h...@hboe.org] Sent: Tuesday, January 08, 2013 8:30 AM To: 'Nagios Users List' Subject: [Nagios-users] Nagios not working except for local host Hello, My Nagios server died and I am having to rebuild (ran well for the best part of two years). I am running Nagios Core 3.4.3 on Ubuntu 12.04 and have added pnp4nagios 0.6.19. Nagios and pnp4nagios were installed from source. I believe I have configured it correctly but I have obviously missed something. My Nagios pre-flight check shows no errors (one warning about a host with no services assigned - which I am aware of), it correctly lists the number of hosts and services but, when I go to the web interface, it only shows the local host. Can anyone suggest where I might start troubleshooting this? Thanks very much. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ 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 -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ 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 not working except for local host
On 08/01/13 13:29, Martin Hugo wrote: > Hello, > > My Nagios server died and I am having to rebuild (ran well for the best part > of two years). I am running Nagios Core 3.4.3 on Ubuntu 12.04 and have added > pnp4nagios 0.6.19. Nagios and pnp4nagios were installed from source. I > believe I have configured it correctly but I have obviously missed something. > > My Nagios pre-flight check shows no errors (one warning about a host with no > services assigned - which I am aware of), it correctly lists the number of > hosts and services but, when I go to the web interface, it only shows the > local host. > > Can anyone suggest where I might start troubleshooting this? > > Thanks very much. > Are you logged as guest or as nagiosadmin ? what changes have you made in the cgi.cfg ? -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ 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] NRPE: Unable to read output; but works when run under strace ...
Hello all, following up to myself ... On Mon, Oct 08, 2012 at 08:31:21PM +0200, Florian Ernst wrote: > [...] > However, it got weirder: if I strace the nrpe process, everything works > as desired: > [...] > I found no further hints in the strace log, but this led me to assume > that there is some NRPE weirdness involved, and thus I'm writing here > instead of further digging through the system. > > Any ideas? Lacking any further clue as to what peculiarity might be responsible for this weird behavior, I decided to simply let the nrpe process permanently run under strace like strace -f -q -e none -o /dev/null ... The performance impact is minimal, and I finally get check results. Not really a solution, but it'll do. Cheers, Flo -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ 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 not working except for local host
Hello, My Nagios server died and I am having to rebuild (ran well for the best part of two years). I am running Nagios Core 3.4.3 on Ubuntu 12.04 and have added pnp4nagios 0.6.19. Nagios and pnp4nagios were installed from source. I believe I have configured it correctly but I have obviously missed something. My Nagios pre-flight check shows no errors (one warning about a host with no services assigned - which I am aware of), it correctly lists the number of hosts and services but, when I go to the web interface, it only shows the local host. Can anyone suggest where I might start troubleshooting this? Thanks very much. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ 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