Question about perfdata
Pedro Fernandes Macedo
webmaster at margo.bijoux.nom.br
Tue Jun 8 22:14:24 CEST 2004
Ben Clewett wrote:
> I can help with the problem of no performance data. You must get the
> latest snapshot plugins and use them. This is currently:
>
> http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD-200406080514.tar.gz
>
>
> I don't know about the ping, sorry.
>
> Regards, Ben.
Thx for the hint.. I'll try this package later...
But I'm doing more tests here and it doesnt seem to work anyway... I've
made a small plugin that checks if xmms is running and then prints the
user that is running it... Here's the output:
gargamel:/opt/nagios/var# /opt/nagios/libexec/check_nrpe -H
150.164.254.25 -c check_xmms_192.168.1.4
1 usando xmms|user = someuser, numero = 1 - Usuário: someuser
gargamel:/opt/nagios/var#
This service is configured in nagios , but it never shows up in the
serviceperf.log file... In the interface , it shows up ok...
Any ideas on what could be wrong?
I've put my nagios.cfg below .... Just to be safe , I've enabled
perfdata both in nagios.cfg and in the template definitions for all
services...
--
Pedro Macedo
soft_state_dependencies=1
log_file=/opt/nagios/var/nagios.log
process_performance_data=0
xpdfile_host_perfdata_template=$TIMET$::$HOSTNAME$::$OUTPUT$::$PERFDATA$
xpdfile_service_perfdata_template=$TIMET$::$HOSTNAME$::$SERVICEDESC$::$OUTPUT$::$PERFDATA$
xpdfile_service_perfdata_file=/opt/nagios/var/serviceperf.log
xpdfile_host_perfdata_file=/opt/nagios/var/hostperf.log
cfg_file=/opt/nagios/etc/checkcommands.cfg
cfg_file=/opt/nagios/etc/misccommands.cfg
cfg_file=/opt/nagios/etc/contactgroups.cfg
cfg_file=/opt/nagios/etc/contacts.cfg
cfg_file=/opt/nagios/etc/dependencies.cfg
cfg_file=/opt/nagios/etc/escalations.cfg
cfg_file=/opt/nagios/etc/hostgroups.cfg
cfg_file=/opt/nagios/etc/timeperiods.cfg
cfg_dir=/opt/nagios/etc/clientes
cfg_dir=/opt/nagios/etc/servicos
resource_file=/opt/nagios/etc/resource.cfg
status_file=/opt/nagios/var/status.log
nagios_user=nagios
nagios_group=nagios
check_external_commands=1
command_check_interval=-1
command_file=/opt/nagios/var/rw/nagios.cmd
comment_file=/opt/nagios/var/comment.log
downtime_file=/opt/nagios/var/downtime.log
lock_file=/opt/nagios/var/nagios.lock
temp_file=/opt/nagios/nagios.tmp
log_rotation_method=d
log_archive_path=/opt/nagios/var/archives
use_syslog=1
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_external_commands=1
log_passive_service_checks=1
inter_check_delay_method=s
service_interleave_factor=s
max_concurrent_checks=0
service_reaper_frequency=10
sleep_time=1
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
retain_state_information=1
state_retention_file=/opt/nagios/var/status.sav
retention_update_interval=60
use_retained_program_state=1
interval_length=60
use_agressive_host_checking=0
execute_service_checks=1
accept_passive_service_checks=1
enable_notifications=0
enable_event_handlers=1
obsess_over_services=0
check_for_orphaned_services=0
check_service_freshness=1
freshness_check_interval=60
aggregate_status_updates=1
status_update_interval=15
enable_flap_detection=0
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
date_format=us
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
admin_email=nagios
admin_pager=pagenagios
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list