[op5-users] ninja and host visibility
Paul Haldane
paul.haldane at newcastle.ac.uk
Sat Jan 2 01:39:28 CET 2010
> From: Paul Haldane
> Sent: Friday, January 01, 2010 7:52 PM
>
> I've just downloaded and installed Ninja (and Merlin) and linked them
> into our existing Nagios config (downloaded tar files for both
> yesterday). This all works fine (one issue that I'll talk about in a
> separate message) and I can now login and see _most_ of the monitored
> hosts and services that I see in Nagios but not all. What controls the
> set of hosts that a user sees in Ninja?
>
> It may be that there's something broken/tweaked in our Nagios (3.0.6)
> installation which means that I see everything (but I don't remember
> making such a change).
Ah - it was two things. To start with I was pointing the scripts at the wrong Nagios config file so ninja_user_authorization wasn't being populated. That was just my dumb mistake.
Second - in cgi.cfg we have
authorized_for_all_services=*
authorized_for_all_hosts=*
auth_import_mysql.php doesn't handle this so I've just fixed the entries by hand.
I've obviously messed something up along the way because ninja_user_authorization keeps getting emptied. I suspect it's probably easiest for me to zap everything and start again now that I've got a clearer idea of what I'm doing.
Paul
More information about the op5-users
mailing list