Ngios 1.0b6 : Perfdata Problem

Subhendu Ghosh sghosh at sghosh.org
Fri Oct 4 21:41:50 CEST 2002


It depends on if the plugins in use are actually generating perfdata.  
most standard plugins are not yet doing so unless you are using CVS 
version for check_http and check_tcp.

-sg

On Fri, 4 Oct 2002, louafi wrote:

> Hi,
> 
> I'm Netsaint user and i decide to try Nagios...
> I want to use the perfdata functionnality but i do not succeed...
> 
> 1)
> I compile Nagios with --with-default-perfdata
> I put these entriues in my nagios.cfg : 
> process_performance_data=1
> host_perfdata_command=process-host-perfdata
> service_perfdata_command=process-service-perfdata
> 
> I put these entries in my services.cfg :
> 
> define service{
>  host_name mycomputer
>  service_description check
>  check_command check_alive
>  max_check_attempts 5
>  normal_check_interval 5
>  retry_check_interval 3
>  active_checks_enabled 1
>  check_period 24x7
>  parallelize_check 1
>  process_perf_data 1
>  retain_status_information 1
>  retain_nonstatus_information 1
>  notification_interval 30
>  notification_period 24x7
>  notification_options w,c,r
>  contact_groups louafi
> }
> 
> I put the entry process_perf_data 1 in my MYCOMPUTER definition in
> hosts.cfg
> 
> I defined these commands in my commands.cfg :
> 
> define command{
>         command_name process-host-perfdata
>         command_line /bin/echo -e "$HOSTNAME$" >>
> /opt/nagios/hostperfdata
>         }
> define command{
>         command_name process-service-perfdata
>         command_line /bin/echo -e "$HOSTNAME$" >>
> /opt/nagios/serviceperfdata
>         }
> 
> But I don't have any entry in my files :( (Nagios does not create the
> dump file)
> 
> 2)
> I recompile NAGIOS with --with-file-perfdata
> 
> I put these entries in my nagios.cfg :
> process_performance_data=1
> xpdfile_host_perfdata_file=/opt/nagios/var/hostperf
> xpdfile_service_perfdata_file=/opt/nagios/var/svcperf
> xpdfile_host_perfdata_template=$HOSTNAME$\n
> xpdfile_service_perfdata_template=$HOSTNAME$\n
> 
> Nagios creates hostperf and svcperf files but i don't have any entry in
> these files :(
> 
> The files permssions are good...
> 
> Any Ideas ???
> 
> Thanks
> 
> Sebastien LOUAFI
> Project Manager
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 

-- 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list