Ngios 1.0b6 : Perfdata Problem
louafi
sebastien.louafi at e-qual.fr
Mon Oct 7 11:31:45 CEST 2002
Hi,
I agree with you but I made test with check_ping plugin that generates
perfdata but I still have no entry in my files, I also made tests with
netsaint plugins (I use it before) but there was the same problem...
Seb
>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 li...
> > 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