Re: [Nagios-users] Commenting in host and service config file.......

2012-03-19 Thread Claudio Kuenzler
Yep, that works. On Tue, Mar 20, 2012 at 6:00 AM, Manish_Kmr wrote: > Hi List, > > > > Actually I am using Nagios since a long but still I am not sure of one > thing how can I comment some lines in nagios host and service config files. > For example:- > > > > > > define service { > > hos

[Nagios-users] Commenting in host and service config file.......

2012-03-19 Thread Manish_Kmr
Hi List, Actually I am using Nagios since a long but still I am not sure of one thing how can I comment some lines in nagios host and service config files. For example:- define service { host_name localhost service_description NPCD status

Re: [Nagios-users] Root_partition check not reading correctly

2012-03-19 Thread Wolf Halton
I checked that, and I had made that error, however when I fixed that error, I still have a reading only from the nagios server rather than the masterkey server --- In my spare time, I found "check_by_ssh and added that to the commands.cfg and its's counterpart lines in my service definitions f

Re: [Nagios-users] Root_partition check not reading correctly

2012-03-19 Thread Andrew Thompson
Check out the command lines and the way you are spelling disk/disc as you have 2 different spellings. command_line$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ command_line$USER1$/check_disc -w $ARGS$ -c $ARGS$ -p $ARGS$ Check the actual name of the file in the libexec folder. Also

Re: [Nagios-users] Root_partition check not reading correctly

2012-03-19 Thread Wolf Halton
More stuff I am in commands.cfg and added check_disk as a command to check discks on the remote server as well as check_local_disk, which I understand to be about checking the nagios server disk. [code] define command{ command_namecheck_local_disk command_line$USER1$/check

Re: [Nagios-users] Root_partition check not reading correctly

2012-03-19 Thread Wolf Halton
I found it check_command check_disk! -w 20% -c 10% --path=/ It was missing the "!" Thanks for helping me sort it out. Wolf On Mon, Mar 19, 2012 at 10:37 AM, Wolf Halton wrote: > I am not sure how I am launching the service, which I admit is bad, > but I inherited the setup. >

Re: [Nagios-users] Root_partition check not reading correctly

2012-03-19 Thread Wolf Halton
I am not sure how I am launching the service, which I admit is bad, but I inherited the setup. I am not sure if it ever worked properly, because it took a catastrophic rampant application running amok, spewing 9GB files to clue me in. I am running nagios 3.3.1 and nagios-plugins 1.4.15 the applicat

[Nagios-users] notes field missing in hostgroups table in ndoutils

2012-03-19 Thread K.Morgan
I am trying to build a custom component for nagios and I need to access the "notes" field from the hostgroup definitions, but when I make a backend call to the function get_xml_hostgroup_objects($args=null) found in /usr/local/nagiosxi/html/includes/utils-objects.inc.php, the notes field is not

Re: [Nagios-users] service checks could not be rescheduled properly.

2012-03-19 Thread Julian_Grunnell
Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 Andreas Ericsson 16/03/2012 10:14 Please respond to Nagios Users List To Nagios Users List cc julian_grunn...@tdwh.co.uk Subject Re: [Nagios-users] service checks could not