Perfparse problem: datas on mysql but no graphs
Roberto Raffo
Roberto.Raffo at enterpriseda.com
Fri Jun 23 11:14:00 CEST 2006
Hi.
I'm reposting this because I didn't resolve.
We have a problem with perfparse: after having added only some service
checks and having restarted nagios, perfparse stopped to draw graphs.
Apparently the data continue to be loaded in mysql, but with no grah.
Previously all worked correctly, with the sequent action scheduled in
crontab every 30 minutes:
0,30 * * * * /usr/local/nagios/bin/perfparse-log2mysql
If I put on crontab the script perfparse.sh, that send a sighup to
Nagios, it seems to work correctly (it makes graphs) but after a random
time Nagios stop doing check, I think because of the numerouse sighup.
Any ideas?
Some more information:
- We use Nagios 2.1 and Perfparse 0.105.6.
- Here are the config files:
********************
perfparse.cfg
********************
Error_Log = "/usr/local/nagios/var/perfparse.log"
Error_Log_Rotate = "yes"
Error_Log_Keep_N_Days = "7"
Drop_File = "/usr/local/nagios/var/perfparse.drop"
Drop_File_Rotate = "yes"
Drop_File_Keep_N_Days = "7"
Server_Port = "1976"
Service_Log = "/usr/local/nagios/var/perfdata-service.log"
Service_Log_Save_Position = "yes"
Service_Log_Position_Mark_Path = "/usr/local/nagios/var"
Daemon_Lock = "/usr/local/nagios//var/perfparsed.lock"
Daemonize = "no"
Periodic_Cleanup = "yes"
Periodic_Cleanup_Lock =
"/usr/local/nagios//var/perfparsed_periodic_cleanup.lock"
Periodic_Cleanup_Hour = "0430"
Dummy_Hostname = "LinuxSAM"
No_Raw_Data = "no"
No_Bin_Data = "no"
Storage_Modules_Dir = "/usr/local/nagios//lib"
Storage_Modules_Load = "mysql"
Storage_Modules_Status_File =
"/usr/local/nagios/var/storage_modules.status"
# Storage Module : mysql
# ==============================
DB_User = "nagios"
DB_Pass = ""
DB_Name = "nagios"
DB_Host = "LinuxSAM"
********************
nagios.cfg
********************
log_file=/usr/local/nagios/var/nagios.log
cfg_file=/usr/local/nagios/etc/checkcommands.cfg
cfg_file=/usr/local/nagios/etc/contact_templates.cfg
cfg_file=/usr/local/nagios/etc/contactgroups.cfg
cfg_file=/usr/local/nagios/etc/contacts.cfg
cfg_file=/usr/local/nagios/etc/escalations.cfg
cfg_file=/usr/local/nagios/etc/extended_host_info.cfg
cfg_file=/usr/local/nagios/etc/extended_host_info_templates.cfg
cfg_file=/usr/local/nagios/etc/host_templates.cfg
cfg_file=/usr/local/nagios/etc/hostgroups.cfg
cfg_file=/usr/local/nagios/etc/hosts.cfg
cfg_file=/usr/local/nagios/etc/misccommands.cfg
cfg_file=/usr/local/nagios/etc/service_templates.cfg
cfg_file=/usr/local/nagios/etc/services.cfg
cfg_file=/usr/local/nagios/etc/time_periods.cfg
cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg
xpdfile_host_perfdata_file=/usr/local/nagios/var/perfdata-host.log
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
xpdfile_service_perfdata_file=/usr/local/nagios/var/perfdata-service.log
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$O
UTPUT$\t$SERVICESTATE$\t$PERFDATA$
object_cache_file=/usr/local/nagios/var/objects.cache
resource_file=/usr/local/nagios/etc/resource.cfg
temp_file=/usr/local/nagios/var/nagios.tmp
status_file=/usr/local/nagios/var/status.dat
aggregate_status_updates=1
status_update_interval=15
nagios_user=nagios
nagios_group=nagios
enable_notifications=1
execute_service_checks=1
accept_passive_service_checks=1
execute_host_checks=1
accept_passive_host_checks=1
enable_event_handlers=1
log_rotation_method=d
log_archive_path=/usr/local/nagios/var/archives
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
downtime_file=/usr/local/nagios/var/downtime.dat
comment_file=/usr/local/nagios/var/comments.dat
lock_file=/usr/local/nagios/var/nagios.lock
retain_state_information=1
state_retention_file=/usr/local/nagios/var/retention.dat
retention_update_interval=60
use_retained_program_state=0
use_retained_scheduling_info=1
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_checks=1
sleep_time=0.25
service_inter_check_delay_method=s
max_service_check_spread=10
service_interleave_factor=s
max_concurrent_checks=0
service_reaper_frequency=10
host_inter_check_delay_method=s
max_host_check_spread=30
interval_length=60
auto_reschedule_checks=1
auto_rescheduling_interval=30
auto_rescheduling_window=180
use_agressive_host_checking=0
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
soft_state_dependencies=0
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
obsess_over_services=0
process_performance_data=1
host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata
service_perfdata_file=/usr/local/nagios/var/perfdata.log
service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED
ESC$||$SERVICEOUTPUT$||$SERVICESPERDATA$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=30
service_perfdata_file_processing_command=process-service-perfdata
check_for_orphaned_services=0
check_service_freshness=1
freshness_check_interval=60
check_host_freshness=1
host_freshness_check_interval=60
date_format=us
illegal_object_name_chars=`~!$%^&*|'"<>?,()'=
illegal_macro_output_chars=`~$&|'"<>
use_regexp_matching=0
use_true_regexp_matching=0
admin_email=nagios
admin_pager=pagenagios
Roberto Raffo
Application & Service Providing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060623/dc45cb65/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4551 bytes
Desc: image001.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060623/dc45cb65/attachment.gif>
-------------- next part --------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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