NRPE how to monitor all hard drives

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

NRPE how to monitor all hard drives

Postby araiot » Fri Jul 29, 2011 12:53 pm

Hi, I'm new to Nagios.

I have a config file that work on 5 servers appropriately, so i copied that conf file and started to monitor a new win server. the issue that i have new is that its not monitoring all hard drives on that new host and its not monitoring the memory(RAM).
It is monitoring c drive and CPU.

[External Alias]
alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s
alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s
alias_disk=CheckDriveSize MinWarn=25% MinCrit=15% CheckAll FilterType=FIXED
alias_service=checkServiceState CheckAll
alias_process=checkProcState $ARG1$=started
alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical
alias_up=checkUpTime MinWarn=1d MinWarn=1h
alias_file_age=checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%"
alias_file_size=checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%"
alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%"
alias_event_log=CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success filter-severity==informational truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
alias_event_log2=CheckEventLog file=application file=system filter=new filter=in MaxWarn=1 MaxCrit=1 filter+generated=<2d "filter+eventSource==Service Control Manager" filter+severity==error truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
check_ok=CheckOK Everything is fine!


what am i missing
araiot
 
Posts: 5
Joined: Fri Jul 29, 2011 12:37 pm

Re: NRPE how to monitor all hard drives

Postby agriffin » Tue Aug 02, 2011 3:26 pm

It's hard to know what's wrong without more information. What exactly have you done so far? Make sure that you copied NSC.ini to each new Windows box, that you copied your host and service definitions on your Nagios server and updated them for each new host, and that you updated your allowed hosts everywhere. It would be helpful if you could post some more relevant snippets of your configuration, like your service definitions in Nagios.
agriffin
 
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: NRPE how to monitor all hard drives

Postby araiot » Tue Aug 02, 2011 3:30 pm

Thanks for your reply

i found that the description was wrong and it was actually monitoring all drives.
i am so new... :)
araiot
 
Posts: 5
Joined: Fri Jul 29, 2011 12:37 pm

Re: NRPE how to monitor all hard drives

Postby agriffin » Tue Aug 02, 2011 3:40 pm

Glad I could help!
agriffin
 
Posts: 876
Joined: Mon May 09, 2011 9:36 am


Return to Nagios Core

Who is online

Users browsing this forum: MSN [Bot] and 27 guests