Nagios not working except for local host

Martin Hugo Martin_Hugo at hboe.org
Tue Jan 8 20:23:20 CET 2013


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.frost1 at 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_Hugo at 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 at 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 at 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 at 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





More information about the Users mailing list