FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 11-02-2011, 11:28 PM
Nico Baggus
 
Default Nagios...

Nagios is not exactly installed, just nrpe is.
Several audit messages indicate that the checkdisk_plugin has problems,
from these reports the following settings are derived...


---8<---
module nagios_nb 1.0;

require {
type devpts_t;
type nagios_checkdisk_plugin_t;
type usbfs_t;
type boot_t;
type default_t;
type sysfs_t;
type fusefs_t;
type sysctl_fs_t;
type samba_share_t;
type var_t;
type binfmt_misc_fs_t;
class dir { getattr search };
}

#============= nagios_checkdisk_plugin_t ==============
allow nagios_checkdisk_plugin_t binfmt_misc_fs_t:dir getattr;
allow nagios_checkdisk_plugin_t boot_t:dir getattr;
allow nagios_checkdisk_plugin_t default_t:dir getattr;
allow nagios_checkdisk_plugin_t devpts_t:dir getattr;
allow nagios_checkdisk_plugin_t fusefs_t:dir getattr;
allow nagios_checkdisk_plugin_t samba_share_t:dir getattr;
allow nagios_checkdisk_plugin_t sysctl_fs_t:dir search;
allow nagios_checkdisk_plugin_t sysfs_t:dir { getattr search };
allow nagios_checkdisk_plugin_t usbfs_t:dir getattr;
allow nagios_checkdisk_plugin_t var_t:dir getattr;
 

Thread Tools




All times are GMT. The time now is 03:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org