Page 1 of 3
Nagios XI no performance graphs
Posted: Tue Jun 13, 2017 3:56 pm
by mgrover
Running a newish install of Nagios XI, None of the configured services have performance graphs available.
This is NagiosXI version 5.4.5. It is running on physical hardware on RedHat 7.3
The perfdata should be using a Ramdisk. All the following config referenced here have been checked and appear to be correct:
https://assets.nagios.com/downloads/nag ... giosXI.pdf
Following the troubleshooting guide at
https://support.nagios.com/kb/article.p ... ategory=44
Code: Select all
[root@nagios var]# ls /var/nagiosramdisk/spool/perfdata/ | wc -l
602
[root@nagios var]# ls /var/nagiosramdisk/spool/xidpe/ | wc -l
2
The performance log verbosity was set to 2.
The file /usr/local/nagios/var/perfdata.log is empty.
The NPCD logging verbosity was set to -1.
A sample of the npcd.log shows the following:
Code: Select all
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386909.perfdata.service-PID-23396
[06-13-2017 14:49:22] NPCD: File '1497386909.perfdata.service-PID-23396' is an already in process PNP file. Leaving it untouched.
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386924.perfdata.host-PID-23574
[06-13-2017 14:49:22] NPCD: File '1497386924.perfdata.host-PID-23574' is an already in process PNP file. Leaving it untouched.
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386939.perfdata.host-PID-23578
[06-13-2017 14:49:22] NPCD: File '1497386939.perfdata.host-PID-23578' is an already in process PNP file. Leaving it untouched.
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386939.perfdata.service-PID-23579
[06-13-2017 14:49:22] NPCD: File '1497386939.perfdata.service-PID-23579' is an already in process PNP file. Leaving it untouched.
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: ThreadCounter 0/5 File is 1497386954.perfdata.host
[06-13-2017 14:49:22] NPCD: Regular File: 1497386954.perfdata.host
[06-13-2017 14:49:22] NPCD: A thread was started on thread_counter = 0
[06-13-2017 14:49:22] NPCD: Processing file 1497386954.perfdata.host with ID 139683499988736 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata/1497386954.perfdata.host
[06-13-2017 14:49:22] NPCD: DEBUG: load 0.000000/10.000000
[06-13-2017 14:49:22] NPCD: Processing file '1497386954.perfdata.host'
[06-13-2017 14:49:22] NPCD: ThreadCounter 1/5 File is 1497386954.perfdata.service
[06-13-2017 14:49:22] NPCD: Regular File: 1497386954.perfdata.service
[06-13-2017 14:49:22] NPCD: A thread was started on thread_counter = 1
[06-13-2017 14:49:22] NPCD: Processing file 1497386954.perfdata.service with ID 139683491596032 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata/1497386954.perfdata.service
[06-13-2017 14:49:22] NPCD: Have to wait: Filecounter = 627 - thread_counter = 2
[06-13-2017 14:49:22] NPCD: Processing file '1497386954.perfdata.service'
[06-13-2017 14:49:22] NPCD: ERROR: Executed command exits with return code '2'
[06-13-2017 14:49:22] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata/1497386954.perfdata.service'
[06-13-2017 14:49:22] NPCD: ERROR: Executed command exits with return code '5'
[06-13-2017 14:49:22] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata/1497386954.perfdata.host'
[06-13-2017 14:49:24] NPCD: No more files to process... waiting for 15 seconds
The nagios account appears to be active
Code: Select all
[root@nagios var]# chage -l nagios
Last password change : May 12, 2017
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
Please let me know what your thoughts are on why the performance graphs are not working/appearing.
Thanks!
Matt
Re: Nagios XI no performance graphs
Posted: Tue Jun 13, 2017 4:44 pm
by tgriep
When the perfdata.log is empty, that usually is a missing configuration setting in one of the following files
Code: Select all
/usr/local/nagios/etc/nagios.cfg
/usr/local/nagios/etc/commands.cfg
/usr/local/nagios/etc/pnp/npcd.cfg
Look at the PDF document and verify that all of the settings are correct or post them here so we can look at them.
Re: Nagios XI no performance graphs
Posted: Wed Jun 14, 2017 10:03 am
by mgrover
Everything looks okay to me but obviously I'm missing something.
Here are the files.
/usr/local/nagios/etc/nagios.cfg
Code: Select all
# MODIFIED
admin_email=root@localhost
admin_pager=root@localhost
translate_passive_host_checks=1
log_event_handlers=0
use_large_installation_tweaks=1
enable_environment_macros=0
# NDOUtils module
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
# PNP settings - bulk mode with NCPD
process_performance_data=1
# service performance data
service_perfdata_file=/var/nagiosramdisk/service-perfdata
service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECH$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=15
service_perfdata_file_processing_command=process-service-perfdata-file-bulk
# host performance data
host_perfdata_file=/var/nagiosramdisk/host-perfdata
host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATE$
host_perfdata_file_mode=a
host_perfdata_file_processing_interval=15
host_perfdata_file_processing_command=process-host-perfdata-file-bulk
# OBJECTS - UNMODIFIED
#cfg_file=/usr/local/nagios/etc/objects/commands.cfg
#cfg_file=/usr/local/nagios/etc/objects/contacts.cfg
#cfg_file=/usr/local/nagios/etc/objects/localhost.cfg
#cfg_file=/usr/local/nagios/etc/objects/templates.cfg
#cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg
# STATIC OBJECT DEFINITIONS (THESE DON'T GET EXPORTED/IMPORTED BY NAGIOSQL)
cfg_dir=/usr/local/nagios/etc/static
# OBJECTS EXPORTED FROM NAGIOSQL
cfg_file=/usr/local/nagios/etc/contacttemplates.cfg
cfg_file=/usr/local/nagios/etc/contactgroups.cfg
cfg_file=/usr/local/nagios/etc/contacts.cfg
cfg_file=/usr/local/nagios/etc/timeperiods.cfg
cfg_file=/usr/local/nagios/etc/commands.cfg
cfg_file=/usr/local/nagios/etc/hostgroups.cfg
cfg_file=/usr/local/nagios/etc/servicegroups.cfg
cfg_file=/usr/local/nagios/etc/hosttemplates.cfg
cfg_file=/usr/local/nagios/etc/servicetemplates.cfg
cfg_file=/usr/local/nagios/etc/servicedependencies.cfg
cfg_file=/usr/local/nagios/etc/serviceescalations.cfg
cfg_file=/usr/local/nagios/etc/hostdependencies.cfg
cfg_file=/usr/local/nagios/etc/hostescalations.cfg
cfg_file=/usr/local/nagios/etc/hostextinfo.cfg
cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg
cfg_dir=/usr/local/nagios/etc/hosts
cfg_dir=/usr/local/nagios/etc/services
# GLOBAL EVENT HANDLERS
global_host_event_handler=xi_host_event_handler
global_service_event_handler=xi_service_event_handler
# UNMODIFIED
accept_passive_host_checks=1
accept_passive_service_checks=1
additional_freshness_latency=15
auto_reschedule_checks=1
auto_rescheduling_interval=30
auto_rescheduling_window=45
bare_update_check=0
cached_host_check_horizon=15
cached_service_check_horizon=15
check_external_commands=1
check_for_orphaned_hosts=1
check_for_orphaned_services=1
check_for_updates=1
check_host_freshness=0
check_result_path=/var/nagiosramdisk/spool/checkresults
check_result_reaper_frequency=10
check_service_freshness=1
command_file=/usr/local/nagios/var/rw/nagios.cmd
daemon_dumps_core=0
date_format=us
debug_file=/usr/local/nagios/var/nagios.debug
debug_level=0
debug_verbosity=1
enable_event_handlers=1
enable_flap_detection=1
enable_notifications=1
enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
event_broker_options=-1
event_handler_timeout=30
execute_host_checks=1
execute_service_checks=1
high_host_flap_threshold=20.0
high_service_flap_threshold=20.0
host_check_timeout=30
host_freshness_check_interval=60
host_inter_check_delay_method=s
illegal_macro_output_chars=`~$&|'"<>
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
interval_length=60
lock_file=/usr/local/nagios/var/nagios.lock
log_archive_path=/usr/local/nagios/var/archives
log_external_commands=0
log_file=/usr/local/nagios/var/nagios.log
log_host_retries=1
log_initial_states=0
log_notifications=1
log_passive_checks=0
log_rotation_method=d
log_service_retries=1
low_host_flap_threshold=5.0
low_service_flap_threshold=5.0
max_check_result_file_age=3600
max_check_result_reaper_time=30
max_concurrent_checks=0
max_debug_file_size=1000000
max_host_check_spread=30
max_service_check_spread=30
nagios_group=nagios
nagios_user=nagios
notification_timeout=30
object_cache_file=/var/nagiosramdisk/objects.cache
obsess_over_hosts=0
obsess_over_services=0
ocsp_timeout=5
passive_host_checks_are_soft=0
perfdata_timeout=5
precached_object_file=/usr/local/nagios/var/objects.precache
resource_file=/usr/local/nagios/etc/resource.cfg
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
retained_host_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_service_attribute_mask=0
retain_state_information=1
retention_update_interval=60
service_check_timeout=60
service_freshness_check_interval=60
service_inter_check_delay_method=s
service_interleave_factor=s
soft_state_dependencies=0
state_retention_file=/usr/local/nagios/var/retention.dat
status_file=/var/nagiosramdisk/status.dat
status_update_interval=10
temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/var/nagiosramdisk/tmp
use_aggressive_host_checking=0
use_regexp_matching=0
use_retained_program_state=1
use_retained_scheduling_info=1
use_syslog=1
use_true_regexp_matching=0
/usr/local/nagios/etc/commands.cfg
Code: Select all
###############################################################################
#
# Check command configuration file
#
# Created by: Nagios Core Config Manager 2.6.7
# Date: 2017-06-13 13:53:32
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define command {
command_name check-host-alive
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}
define command {
command_name check-host-alive-http
command_line $USER1$/check_http -H $HOSTADDRESS$
}
define command {
command_name check-host-alive-tftp
command_line tftp $HOSTNAME$ 69
}
define command {
command_name check_bpi
command_line /usr/bin/php $USER1$/check_bpi.php $ARG1$
}
define command {
command_name check_dhcp
command_line $USER1$/check_dhcp $ARG1$
}
define command {
command_name check_dir
command_line $USER1$/check_dir -d $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$
}
define command {
command_name check_dns
command_line $USER1$/check_dns -H $HOSTNAME$ $ARG1$
}
define command {
command_name check_dummy
command_line $USER1$/check_dummy $ARG1$ $ARG2$
}
define command {
command_name check_em01_humidity
command_line $USER1$/check_em01.pl --type=hum --hum=$ARG1$,$ARG2$ $HOSTADDRESS$
}
define command {
command_name check_em01_light
command_line $USER1$/check_em01.pl --type=illum --illum=$ARG1$,$ARG2$ $HOSTADDRESS$
}
define command {
command_name check_em01_temp
command_line $USER1$/check_em01.pl --type=temp --temp=$ARG1$,$ARG2$ $HOSTADDRESS$
}
define command {
command_name check_em08_contacts
command_line $USER1$/check_em08 $HOSTADDRESS$ C
}
define command {
command_name check_em08_humidity
command_line $USER1$/check_em08 $HOSTADDRESS$ H $ARG1$ $ARG2$ $ARG3$
}
define command {
command_name check_em08_light
command_line $USER1$/check_em08 $HOSTADDRESS$ I $ARG1$ $ARG2$ $ARG3$
}
define command {
command_name check_em08_rtd
command_line $USER1$/check_em08 $HOSTADDRESS$ R $ARG1$ $ARG2$ $ARG3$
}
define command {
command_name check_em08_temp
command_line $USER1$/check_em08 $HOSTADDRESS$ T $ARG1$ $ARG2$ $ARG3$
}
define command {
command_name check_em08_voltage
command_line $USER1$/check_em08 $HOSTADDRESS$ V $ARG1$ $ARG2$ $ARG3$
}
define command {
command_name check_email_delivery
command_line $USER1$/check_email_delivery $ARG1$
}
define command {
command_name check_esx3_guest
command_line $USER1$/check_esx3.pl -H "$HOSTADDRESS$" -f "$ARG1$" -N "$ARG2$" -l "$ARG3$" $ARG4$
}
define command {
command_name check_esx3_host
command_line $USER1$/check_esx3.pl -H "$HOSTADDRESS$" -f "$ARG1$" -l "$ARG2$" $ARG3$
}
define command {
command_name check_exchange_rbl
command_line $USER1$/check_bl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_file_service
command_line $USER1$/folder_watch.pl $ARG1$ $ARG2$ -f
}
define command {
command_name check_file_size_age
command_line $USER1$/folder_watch.pl $ARG1$ $ARG2$ -f
}
define command {
command_name check_ftp
command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_ftp_fully
command_line $USER1$/check_ftp_fully "$ARG1$" "$ARG2$" "$ARG3$" $HOSTNAME$
}
define command {
command_name check_hpjd
command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_icmp
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
}
define command {
command_name check_imap
command_line $USER1$/check_imap -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_iostat_array
command_line $USER1$/check_iostat_array.sh $ARG1$
}
define command {
command_name check_local_disk
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
}
define command {
command_name check_local_load
command_line $USER1$/check_load -w $ARG1$ -c $ARG2$
}
define command {
command_name check_local_mrtgtraf
command_line $USER1$/check_mrtgtraf -F $ARG1$ -a $ARG2$ -w $ARG3$ -c $ARG4$ -e $ARG5$
}
define command {
command_name check_local_procs
command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
}
define command {
command_name check_local_swap
command_line $USER1$/check_swap -w $ARG1$ -c $ARG2$
}
define command {
command_name check_local_users
command_line $USER1$/check_users -w $ARG1$ -c $ARG2$
}
define command {
command_name check_mailserver_rbl
command_line $USER1$/check_bl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_mongodb_database
command_line $USER1$/check_mongodb.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -u $ARG5$ -p $ARG6$ -d $ARG7$ -D
}
define command {
command_name check_mongodb_server
command_line $USER1$/check_mongodb.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -u $ARG5$ -p $ARG6$ -D --all-databases
}
define command {
command_name check_mountpoint
command_line $USER1$/check_mountpoints.sh $ARG1$
}
define command {
command_name check_nagiosxi_performance
command_line /usr/bin/php $USER1$/check_nagios_performance.php $ARG1$ $ARG2$ $ARG3$
}
define command {
command_name check_nagios_performance
command_line $USER1$/check_nagios_performance -o $ARG1$ $ARG2$
}
define command {
command_name check_none
command_line /bin/true
}
define command {
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
}
define command {
command_name check_nrpeversion
command_line $USER1$/check_nrpe -H $HOSTADDRESS$
}
define command {
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $USER7$ -s $USER8$ -v $ARG1$ $ARG2$
}
define command {
command_name check_php_snmp_bandwidth
command_line $USER1$/get_snmp.php -H=$HOSTADDRESS$ -C=$ARG1$ -2 -I=$ARG2$ -u -w=$ARG3$ -c=$ARG4$ -d=$ARG5$
}
define command {
command_name check_ping
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
}
define command {
command_name check_pop
command_line $USER1$/check_pop -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_printer_consumables
command_line $USER1$/check_snmp_printer -H $HOSTADDRESS$ -C $ARG1$ -t "CONSUM ALL" -w 10 -c 2
}
define command {
command_name check_printer_toner
command_line $USER1$/check_snmp_printer -H $HOSTADDRESS$ -C $ARG1$ -t "CONSUM Toner"
}
define command {
command_name check_proc_usage
command_line $USER1$/check_proc_usage -p $ARG1$ $ARG2$
}
define command {
command_name check_radius_server_adv
command_line $USER1$/check_radius_adv -r $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_smtp
command_line $USER1$/check_smtp -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_snmp
command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_snmp_int
command_line $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $ARG1$ -2 -n $ARG2$ -f -k -w $ARG3$ -c $ARG4$ $ARG5$
}
define command {
command_name check_ssh
command_line $USER1$/check_ssh $ARG1$ $HOSTADDRESS$
}
define command {
command_name check_tcp
command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
}
define command {
command_name check_tftp_connect
command_line $USER1$/check_tftp.sh --connect $ARG1$
}
define command {
command_name check_tftp_get
command_line $USER1$/check_tftp.sh --get $ARG1$ '$ARG2$' $ARG3$
}
define command {
command_name check_udp
command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
}
define command {
command_name check_xi_by_ssh
command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ $ARG1$ $ARG2$
}
define command {
command_name check_xi_deface
command_line $USER1$/check_http -H $HOSTADDRESS$ -r '$ARG1$' -u '$ARG2$' $ARG3$
}
define command {
command_name check_xi_domain_v2
command_line $USER1$/check_domain.php -d $ARG1$ $ARG2$ $ARG3$
}
define command {
command_name check_xi_host_http
command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_host_ping
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ -c $ARG3$,$ARG4$ -p 5
}
define command {
command_name check_xi_mssql_database
command_line $USER1$/check_mssql_database.py -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_mssql_query
command_line $USER1$/check_mssql -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_mssql_server
command_line $USER1$/check_mssql_server.py -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_mysql_health
command_line $USER1$/check_mysql_health $ARG1$
}
define command {
command_name check_xi_mysql_query
command_line $USER1$/check_mysql_health $ARG1$
}
define command {
command_name check_xi_nagiosxiserver
command_line /usr/bin/php $USER1$/check_nagiosxiserver.php $ARG1$
}
define command {
command_name check_xi_ncpa
command_line $USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_nna
command_line $USER1$/check_nna.py -H $HOSTADDRESS$ -K $ARG1$ $ARG2$
}
define command {
command_name check_xi_oraclequery
command_line /usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib ORACLE_HOME=/usr/lib/oracle/11.2/client $USER1$/check_oracle_health $ARG1$
}
define command {
command_name check_xi_oracleserverspace
command_line /usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib ORACLE_HOME=/usr/lib/oracle/11.2/client $USER1$/check_oracle_health $ARG1$
}
define command {
command_name check_xi_oracletablespace
command_line /usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib ORACLE_HOME=/usr/lib/oracle/11.2/client $USER1$/check_oracle_health $ARG1$
}
define command {
command_name check_xi_postgres
command_line $USER1$/check_postgres.pl $ARG1$
}
define command {
command_name check_xi_postgres_db
command_line $USER1$/check_postgres.pl $ARG1$
}
define command {
command_name check_xi_postgres_query
command_line $USER1$/check_postgres.pl $ARG1$
}
define command {
command_name check_xi_service_dns
command_line $USER1$/check_dns -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_dnsquery
command_line $USER1$/check_dns $ARG1$
}
define command {
command_name check_xi_service_ftp
command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_hpjd
command_line $USER1$/check_hpjd -H $HOSTADDRESS$ -C $ARG1$
}
define command {
command_name check_xi_service_http
command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_http_cert
command_line $USER1$/check_http -H $HOSTADDRESS$ -C $ARG1$
}
define command {
command_name check_xi_service_http_content
command_line $USER1$/check_http -H $HOSTADDRESS$ --onredirect=follow -s "$ARG1$"
}
define command {
command_name check_xi_service_ifoperstatus
command_line $USER1$/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -k $ARG2$ $ARG3$
}
define command {
command_name check_xi_service_ifoperstatusnag
command_line $USER1$/check_ifoperstatnag $ARG1$ $ARG2$ $HOSTADDRESS$
}
define command {
command_name check_xi_service_imap
command_line $USER1$/check_imap -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_ldap
command_line $USER1$/check_ldap -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_mrtgtraf
command_line $USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$
}
define command {
command_name check_xi_service_nagioslogserver
command_line $USER1$/check_nagioslogserver.php $ARG1$
}
define command {
command_name check_xi_service_none
command_line $USER1$/check_dummy 0 "Nothing to monitor"
}
define command {
command_name check_xi_service_nsclient
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$
}
define command {
command_name check_xi_service_ping
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ -c $ARG3$,$ARG4$ -p 5
}
define command {
command_name check_xi_service_pop
command_line $USER1$/check_pop -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_smtp
command_line $USER1$/check_smtp -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp
command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp_linux_load
command_line $USER1$/check_snmp_load_wizard.pl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp_linux_process
command_line $USER1$/check_snmp_process_wizard.pl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp_linux_storage
command_line $USER1$/check_snmp_storage_wizard.pl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp_watchguard
command_line $USER1$/check_snmp_generic.pl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp_win_load
command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp_win_process
command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp_win_service
command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_snmp_win_storage
command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_ssh
command_line $USER1$/check_ssh $ARG1$ $HOSTADDRESS$
}
define command {
command_name check_xi_service_status
command_line sudo /usr/local/nagiosxi/scripts/manage_services.sh status $ARG1$
}
define command {
command_name check_xi_service_tcp
command_line $USER1$/check_tcp -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_udp
command_line $USER1$/check_udp -H $HOSTADDRESS$ $ARG1$
}
define command {
command_name check_xi_service_webinject
command_line $USER1$/check_webinject.sh $ARG1$
}
define command {
command_name check_xi_service_wmiplus
command_line $USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ -m $ARG3$ $ARG4$
}
define command {
command_name check_xi_service_wmiplus_authfile
command_line $USER1$/check_wmi_plus.pl -H $HOSTADDRESS$ -A $ARG1$ -m $ARG2$ $ARG3$
}
define command {
command_name check_xi_sla
command_line $USER1$/check_xisla.php $ARG1$
}
define command {
command_name notify-host-by-email
command_line /usr/bin/printf "%b" "***** Nagios Monitor XI Alert *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$
}
define command {
command_name notify-service-by-email
command_line /usr/bin/printf "%b" "***** Nagios Monitor XI Alert *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}
define command {
command_name process-host-perfdata-file-bulk
command_line /bin/mv /var/nagiosramdisk/host-perfdata /var/nagiosramdisk/spool/xidpe/$TIMET$.perfdata.host
}
define command {
command_name process-host-perfdata-file-pnp-bulk
command_line /bin/mv /usr/local/nagios/var/host-perfdata /usr/local/nagios/var/spool/perfdata/host-perfdata.$TIMET$
}
define command {
command_name process-host-perfdata-pnp-normal
command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
}
define command {
command_name process-service-perfdata-file-bulk
command_line /bin/mv /var/nagiosramdisk/service-perfdata /var/nagiosramdisk/spool/xidpe/$TIMET$.perfdata.service
}
define command {
command_name process-service-perfdata-file-pnp-bulk
command_line /bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/perfdata/service-perfdata.$TIMET$
}
define command {
command_name process-service-perfdata-pnp-normal
command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
}
define command {
command_name xi_host_event_handler
command_line /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php --handler-type=host --host="$HOSTNAME$" --hostaddress="$HOSTADDRESS$" --hoststate=$HOSTSTATE$ --hoststateid=$HOSTSTATEID$ --lasthoststate=$LASTHOSTSTATE$ --lasthoststateid=$LASTHOSTSTATEID$ --hoststatetype=$HOSTSTATETYPE$ --currentattempt=$HOSTATTEMPT$ --maxattempts=$MAXHOSTATTEMPTS$ --hosteventid=$HOSTEVENTID$ --hostproblemid=$HOSTPROBLEMID$ --hostoutput="$HOSTOUTPUT$" --longhostoutput="$LONGHOSTOUTPUT$" --hostdowntime=$HOSTDOWNTIME$
}
define command {
command_name xi_host_notification_handler
command_line /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_notification.php --notification-type=host --contact="$CONTACTNAME$" --contactemail="$CONTACTEMAIL$" --type=$NOTIFICATIONTYPE$ --escalated="$NOTIFICATIONISESCALATED$" --author="$NOTIFICATIONAUTHOR$" --comments="$NOTIFICATIONCOMMENT$" --host="$HOSTNAME$" --hostaddress="$HOSTADDRESS$" --hostalias="$HOSTALIAS$" --hostdisplayname="$HOSTDISPLAYNAME$" --hoststate=$HOSTSTATE$ --hoststateid=$HOSTSTATEID$ --lasthoststate=$LASTHOSTSTATE$ --lasthoststateid=$LASTHOSTSTATEID$ --hoststatetype=$HOSTSTATETYPE$ --currentattempt=$HOSTATTEMPT$ --maxattempts=$MAXHOSTATTEMPTS$ --hosteventid=$HOSTEVENTID$ --hostproblemid=$HOSTPROBLEMID$ --hostoutput="$HOSTOUTPUT$" --longhostoutput="$LONGHOSTOUTPUT$" --datetime="$LONGDATETIME$"
}
define command {
command_name xi_service_event_handler
command_line /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php --handler-type=service --host="$HOSTNAME$" --service="$SERVICEDESC$" --hostaddress="$HOSTADDRESS$" --hoststate=$HOSTSTATE$ --hoststateid=$HOSTSTATEID$ --hosteventid=$HOSTEVENTID$ --hostproblemid=$HOSTPROBLEMID$ --servicestate=$SERVICESTATE$ --servicestateid=$SERVICESTATEID$ --lastservicestate=$LASTSERVICESTATE$ --lastservicestateid=$LASTSERVICESTATEID$ --servicestatetype=$SERVICESTATETYPE$ --currentattempt=$SERVICEATTEMPT$ --maxattempts=$MAXSERVICEATTEMPTS$ --serviceeventid=$SERVICEEVENTID$ --serviceproblemid=$SERVICEPROBLEMID$ --serviceoutput="$SERVICEOUTPUT$" --longserviceoutput="$LONGSERVICEOUTPUT$" --servicedowntime=$SERVICEDOWNTIME$
}
define command {
command_name xi_service_notification_handler
command_line /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_notification.php --notification-type=service --contact="$CONTACTNAME$" --contactemail="$CONTACTEMAIL$" --type=$NOTIFICATIONTYPE$ --escalated="$NOTIFICATIONISESCALATED$" --author="$NOTIFICATIONAUTHOR$" --comments="$NOTIFICATIONCOMMENT$" --host="$HOSTNAME$" --hostaddress="$HOSTADDRESS$" --hostalias="$HOSTALIAS$" --hostdisplayname="$HOSTDISPLAYNAME$" --service="$SERVICEDESC$" --hoststate=$HOSTSTATE$ --hoststateid=$HOSTSTATEID$ --servicestate=$SERVICESTATE$ --servicestateid=$SERVICESTATEID$ --lastservicestate=$LASTSERVICESTATE$ --lastservicestateid=$LASTSERVICESTATEID$ --servicestatetype=$SERVICESTATETYPE$ --currentattempt=$SERVICEATTEMPT$ --maxattempts=$MAXSERVICEATTEMPTS$ --serviceeventid=$SERVICEEVENTID$ --serviceproblemid=$SERVICEPROBLEMID$ --serviceoutput="$SERVICEOUTPUT$" --longserviceoutput="$LONGSERVICEOUTPUT$" --datetime="$LONGDATETIME$"
}
###############################################################################
#
# Check command configuration file
#
# END OF FILE
#
###############################################################################
/usr/local/nagios/etc/pnp/npcd.cfg
Code: Select all
# NPCD.cfg - sample configuration file for PNPs NPCD
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation;
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# $Id: npcd.cfg-sample.in 440 2008-04-24 09:08:20Z hendrikb $
# Privilege Options
user = nagios
group = nagios
# Logging Options
# log_type - define if you want your logs to
# 'syslog' or to a 'file'
#
# log_type = <value>
#
log_type = file
#log_type = syslog
# log_file - define a path to your logfile
# needed if 'log_type'='file'
#
# log_file = </path/to/logpath/filename>
#
log_file = /usr/local/nagios/var/npcd.log
# max_logfile_size - defines the maximum filesize (bytes)
# before the logfile will rotated.
#
# max_logfile_size = <value> (default 10Mbyte)
#
max_logfile_size = 10485760
# log_level - how much should we log?
#
# log_level = <integer value>
#
# 0 = No logging - except errors
# 1 = Small logging - some few more output
# 2 = More Logging (actual ALL logs)
# -1 = DEBUG Mode - ALL Logging and slower processing
#
log_level = -1
# NEEDED OPTIONS
#
# perfdata_spool_dir - where we can find the
# performance data files
#
# perfdata_spool_dir = </path/to/directory/>
#
perfdata_spool_dir = /var/nagiosramdisk/spool/perfdata/
# Execute following command for each found file
# in 'perfdata_spool_dir'
#
# perfdata_file_run_cmd = </path/to/command>
#
# Must be executable by user/group from above
#
# perfdata_file_run_cmd = </path/to/filename>
#
perfdata_file_run_cmd = /usr/local/nagios/libexec/process_perfdata.pl
# perfdata_file_run_cmd_args (optional)
#
# If you wish, you can apply more arguments to the
# perfdata_file_run_cmd
#
# Hint:
# NPCD will create a command line like this:
# '<perfdata_file_runc_cmd> <perfdata_file_runc_cmd_args> <filename_from_spool_dir>'
#
perfdata_file_run_cmd_args = -b
# npcd_max_threads - define how many parallel threads we
# should start
npcd_max_threads = 5
# sleep_time - how many seconds should npcd wait between dirscans
#
# sleep_time = 15 (default)
sleep_time = 15
# EXPERIMENTAL
#
# use_load_threshold - enables/disables load watching
#
# use_load_threshold = <0 / 1> (default: 0)
#
#use_load_threshold = 0
# EXPERIMENTAL
#
# load_threshold - npcd won't start new threads
# if your system load is over this threshold
#
# load_threshold = <float value> (default: 10.0)
#
# Hint: Do not use "," as decimal delimeter
#
load_threshold = 10.0
# location of your pid file
#pid_file=/var/run/npcd.pid
pid_file=/usr/local/nagiosxi/var/subsys/npcd.pid
# We have to end with a newline
Re: Nagios XI no performance graphs
Posted: Wed Jun 14, 2017 10:59 am
by scottwilkerson
The exit code 5 you are getting means that the following directory doesn't exist and cannot be created by the nagios user
/usr/local/nagios/share/perfdata
Can you check this path and the permissions
Run the following an dreport back
Code: Select all
ls -al /usr/local/nagios/share
ls -al /usr/local/nagios
Re: Nagios XI no performance graphs
Posted: Wed Jun 14, 2017 11:22 am
by mgrover
They seem to be there with correct permissions.
ls -al /usr/local/nagios/share
Code: Select all
[root@nagios ~]# ls -al /usr/local/nagios/share
total 136
drwxrwxr-x 18 nagios nagios 4096 Apr 20 11:58 .
drwxr-xr-x 10 root root 106 Apr 20 15:26 ..
drwxr-xr-x 2 root root 214 Apr 20 11:58 ajaxterm
drwxrwxr-x 4 nagios nagios 88 Apr 20 11:55 angularjs
drwxrwxr-x 3 nagios nagios 17 Apr 20 11:45 bootstrap-3.3.0
-rw-rw-r-- 1 nagios nagios 576 Apr 20 11:55 config.inc.php
drwxrwxr-x 2 nagios nagios 4096 Apr 20 11:55 contexthelp
drwxrwxr-x 2 nagios nagios 23 Apr 20 11:55 d3
drwxrwxr-x 3 nagios nagios 20 Apr 20 11:45 docs
-rw-rw-r-- 1 nagios nagios 879 Apr 20 11:55 graph-header.html
-rw-rw-r-- 1 nagios nagios 4136 Apr 20 11:55 histogram-form.html
-rw-rw-r-- 1 nagios nagios 5579 Apr 20 11:55 histogram-graph.html
-rw-rw-r-- 1 nagios nagios 2855 Apr 20 11:55 histogram.html
-rw-rw-r-- 1 nagios nagios 2372 Apr 20 11:55 histogram-links.html
drwxr-xr-x 3 nagios nagios 4096 Apr 20 11:55 images
drwxrwxr-x 2 nagios nagios 27 Apr 20 11:55 includes
-rw-rw-r-- 1 nagios nagios 1913 Apr 20 11:55 index.php
-rw-rw-r-- 1 nagios nagios 1660 Apr 20 11:55 infobox.html
drwxrwxr-x 2 nagios nagios 321 Apr 20 11:55 js
-rw-rw-r-- 1 nagios nagios 1177 Apr 20 11:55 jsonquery.html
drwxr-xr-x 4 root root 26 Apr 20 11:47 locale
-rw-rw-r-- 1 nagios nagios 8621 Apr 20 11:55 main.php
-rw-rw-r-- 1 nagios nagios 2015 Apr 20 11:55 map-directive.html
-rw-rw-r-- 1 nagios nagios 3824 Apr 20 11:55 map-form.html
-rw-rw-r-- 1 nagios nagios 647 Apr 20 11:55 map-links.html
-rw-rw-r-- 1 nagios nagios 3310 Apr 20 11:55 map.php
-rw-rw-r-- 1 nagios nagios 1723 Apr 20 11:55 map-popup.html
drwxrwxr-x 2 nagios nagios 6 Apr 20 11:45 media
drwxrwxr-x 5 nagios nagios 58 Apr 27 09:16 perfdata
drwxr-xr-x 8 nagios nagios 160 Apr 20 11:57 pnp
-rw-rw-r-- 1 nagios nagios 26 Apr 20 11:55 robots.txt
-rw-rw-r-- 1 nagios nagios 6193 Apr 20 11:55 side.php
drwxrwxr-x 2 nagios nagios 25 Apr 20 11:55 spin
drwxrwxr-x 2 nagios nagios 6 Apr 20 11:45 ssi
drwxr-xr-x 2 nagios nagios 4096 Apr 20 11:55 stylesheets
-rw-rw-r-- 1 nagios nagios 4243 Apr 20 11:55 trends-form.html
-rw-rw-r-- 1 nagios nagios 4256 Apr 20 11:55 trends-graph.html
-rw-rw-r-- 1 nagios nagios 852 Apr 20 11:55 trends-host-yaxis.html
-rw-rw-r-- 1 nagios nagios 2990 Apr 20 11:55 trends.html
-rw-rw-r-- 1 nagios nagios 3586 Apr 20 11:55 trends-links.html
-rw-rw-r-- 1 nagios nagios 1065 Apr 20 11:55 trends-service-yaxis.html
ls -al /usr/local/nagios
Code: Select all
[root@nagios ~]# ls -al /usr/local/nagios
total 28
drwxr-xr-x 10 root root 106 Apr 20 15:26 .
drwxr-xr-x. 18 root root 219 Apr 20 12:01 ..
drwxr-xr-x 2 nagios nagios 192 Apr 21 12:28 bin
drwsrwsr-x 7 apache nagios 4096 Jun 12 12:33 etc
drwxr-xr-x 2 root root 6 Apr 20 11:47 include
drwxrwsr-x 2 apache nagios 8192 Jun 12 14:56 libexec
drwxr-xr-x 5 root root 39 Apr 20 15:26 perl
drwxrwxr-x 2 nagios nagios 4096 Apr 20 11:55 sbin
drwxrwxr-x 18 nagios nagios 4096 Apr 20 11:58 share
drwxr-xr-x 6 nagios nagios 4096 Jun 14 10:21 var
Re: Nagios XI no performance graphs
Posted: Thu Jun 15, 2017 9:03 am
by tgriep
Lets check the permissions for the directories in the /var/nagiosramdisk folder and other info.
Can you run the following commands and post the /tmp/info.txt file?
Code: Select all
ls -lR /var/nagiosramdisk >/tmp/info.txt
ls -lR /usr/local/nagios/share/perfdata >>/tmp/info.txt
ps -ef --cols=300 >/tmp/info.txt
grep nag /etc/group >/tmp/info.txt
Re: Nagios XI no performance graphs
Posted: Thu Jun 15, 2017 9:59 am
by mgrover
The /var/nagiosramdisk/spool/perfdata directory had grown enormous so I cleaned it out to lessen the size of the info file. It had already repopulated with some perfdata entries so you can see activity there. Also, I assume the last two ls commands were intended to be concatenated to the info.txt file.
info.txt
Code: Select all
[root@nagios tmp]# cat /tmp/info.txt
/var/nagiosramdisk:
total 972
-rw-r--r-- 1 nagios nagios 0 Jun 15 08:52 host-perfdata
-rw-r--r-- 1 nagios nagios 423993 Jun 14 15:56 objects.cache
-rw-r--r-- 1 nagios nagios 0 Jun 15 08:52 service-perfdata
drwxrwxr-x 5 nagios nagios 100 May 2 09:22 spool
-rw-r--r-- 1 nagios nagios 569303 Jun 15 08:52 status.dat
drwxrwxr-x 2 nagios nagios 40 Jun 14 15:56 tmp
/var/nagiosramdisk/spool:
total 0
drwxrwxr-x 2 nagios nagios 40 Jun 14 15:56 checkresults
drwxrwxr-x 2 nagios nagios 320 Jun 15 08:52 perfdata
drwxrwxr-x 2 nagios nagios 80 Jun 15 08:52 xidpe
/var/nagiosramdisk/spool/checkresults:
total 0
/var/nagiosramdisk/spool/perfdata:
total 56
-rw-r--r-- 1 nagios nagios 2262 Jun 15 08:50 1497538254.perfdata.host-PID-41738
-rw-r--r-- 1 nagios nagios 775 Jun 15 08:50 1497538254.perfdata.service-PID-41740
-rw-r--r-- 1 nagios nagios 1283 Jun 15 08:51 1497538269.perfdata.host-PID-41784
-rw-r--r-- 1 nagios nagios 1676 Jun 15 08:51 1497538269.perfdata.service-PID-41786
-rw-r--r-- 1 nagios nagios 2625 Jun 15 08:51 1497538284.perfdata.host-PID-42036
-rw-r--r-- 1 nagios nagios 1222 Jun 15 08:51 1497538284.perfdata.service-PID-42038
-rw-r--r-- 1 nagios nagios 1924 Jun 15 08:51 1497538299.perfdata.host-PID-42127
-rw-r--r-- 1 nagios nagios 1809 Jun 15 08:51 1497538299.perfdata.service-PID-42128
-rw-r--r-- 1 nagios nagios 2255 Jun 15 08:51 1497538314.perfdata.host-PID-42519
-rw-r--r-- 1 nagios nagios 1378 Jun 15 08:51 1497538314.perfdata.service-PID-42521
-rw-r--r-- 1 nagios nagios 2293 Jun 15 08:52 1497538329.perfdata.host-PID-42523
-rw-r--r-- 1 nagios nagios 1332 Jun 15 08:52 1497538329.perfdata.service-PID-42525
-rw-r--r-- 1 nagios nagios 2573 Jun 15 08:52 1497538344.perfdata.host
-rw-r--r-- 1 nagios nagios 846 Jun 15 08:52 1497538344.perfdata.service
/var/nagiosramdisk/spool/xidpe:
total 8
-rw-r--r-- 1 nagios nagios 2651 Jun 15 08:52 1497538359.perfdata.host
-rw-r--r-- 1 nagios nagios 841 Jun 15 08:52 1497538359.perfdata.service
/var/nagiosramdisk/tmp:
total 0
/usr/local/nagios/share/perfdata:
total 4
drwxrwxr-x 2 nagios nagios 4096 May 1 10:28 localhost
drwxrwxr-x 2 nagios nagios 42 May 1 10:23 nagios
/usr/local/nagios/share/perfdata/localhost:
total 6048
-rw-rw-r-- 1 nagios nagios 1151496 May 1 10:27 Current_Load.rrd
-rw-rw-r-- 1 nagios nagios 3501 May 1 10:27 Current_Load.xml
-rw-rw-r-- 1 nagios nagios 384952 May 1 10:27 Current_Users.rrd
-rw-rw-r-- 1 nagios nagios 2056 May 1 10:27 Current_Users.xml
-rw-rw-r-- 1 nagios nagios 1534768 May 1 10:26 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios 3892 May 1 10:26 _HOST_.xml
-rw-rw-r-- 1 nagios nagios 768224 May 1 10:28 HTTP.rrd
-rw-rw-r-- 1 nagios nagios 2667 May 1 10:28 HTTP.xml
-rw-rw-r-- 1 nagios nagios 768224 May 1 10:23 PING.rrd
-rw-rw-r-- 1 nagios nagios 2736 May 1 10:23 PING.xml
-rw-rw-r-- 1 nagios nagios 384952 May 1 10:24 Root_Partition.rrd
-rw-rw-r-- 1 nagios nagios 2126 May 1 10:24 Root_Partition.xml
-rw-rw-r-- 1 nagios nagios 384952 May 1 10:25 SSH.rrd
-rw-rw-r-- 1 nagios nagios 2017 May 1 10:25 SSH.xml
-rw-rw-r-- 1 nagios nagios 384952 May 1 10:28 Swap_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2060 May 1 10:28 Swap_Usage.xml
-rw-rw-r-- 1 nagios nagios 384952 May 1 10:24 Total_Processes.rrd
-rw-rw-r-- 1 nagios nagios 2102 May 1 10:24 Total_Processes.xml
/usr/local/nagios/share/perfdata/nagios:
total 1504
-rw-rw-r-- 1 nagios nagios 1534768 May 1 10:23 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios 3926 May 1 10:23 _HOST_.xml
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 May02 ? 00:43:35 /usr/lib/systemd/systemd --system --deserialize 15
root 2 0 0 May02 ? 00:00:02 [kthreadd]
root 3 2 0 May02 ? 00:13:48 [ksoftirqd/0]
root 5 2 0 May02 ? 00:00:00 [kworker/0:0H]
root 7 2 0 May02 ? 00:00:13 [migration/0]
root 8 2 0 May02 ? 00:00:00 [rcu_bh]
root 9 2 0 May02 ? 01:38:07 [rcu_sched]
root 10 2 0 May02 ? 00:00:12 [watchdog/0]
root 11 2 0 May02 ? 00:00:12 [watchdog/1]
root 12 2 0 May02 ? 00:00:15 [migration/1]
root 13 2 0 May02 ? 00:09:01 [ksoftirqd/1]
root 15 2 0 May02 ? 00:00:00 [kworker/1:0H]
root 16 2 0 May02 ? 00:00:11 [watchdog/2]
root 17 2 0 May02 ? 00:00:14 [migration/2]
root 18 2 0 May02 ? 00:08:26 [ksoftirqd/2]
root 20 2 0 May02 ? 00:00:00 [kworker/2:0H]
root 21 2 0 May02 ? 00:00:11 [watchdog/3]
root 22 2 0 May02 ? 00:00:13 [migration/3]
root 23 2 0 May02 ? 00:07:39 [ksoftirqd/3]
root 25 2 0 May02 ? 00:00:00 [kworker/3:0H]
root 26 2 0 May02 ? 00:00:11 [watchdog/4]
root 27 2 0 May02 ? 00:00:13 [migration/4]
root 28 2 0 May02 ? 00:07:27 [ksoftirqd/4]
root 30 2 0 May02 ? 00:00:00 [kworker/4:0H]
root 31 2 0 May02 ? 00:00:11 [watchdog/5]
root 32 2 0 May02 ? 00:00:13 [migration/5]
root 33 2 0 May02 ? 00:07:33 [ksoftirqd/5]
root 35 2 0 May02 ? 00:00:00 [kworker/5:0H]
root 36 2 0 May02 ? 00:00:11 [watchdog/6]
root 37 2 0 May02 ? 00:00:15 [migration/6]
root 38 2 0 May02 ? 00:08:39 [ksoftirqd/6]
root 40 2 0 May02 ? 00:00:00 [kworker/6:0H]
root 41 2 0 May02 ? 00:00:11 [watchdog/7]
root 42 2 0 May02 ? 00:00:15 [migration/7]
root 43 2 0 May02 ? 00:09:01 [ksoftirqd/7]
root 45 2 0 May02 ? 00:00:00 [kworker/7:0H]
root 46 2 0 May02 ? 00:00:09 [watchdog/8]
root 47 2 0 May02 ? 00:00:37 [migration/8]
root 48 2 0 May02 ? 00:06:42 [ksoftirqd/8]
root 50 2 0 May02 ? 00:00:00 [kworker/8:0H]
root 51 2 0 May02 ? 00:00:10 [watchdog/9]
root 52 2 0 May02 ? 00:00:37 [migration/9]
root 53 2 0 May02 ? 00:08:48 [ksoftirqd/9]
root 55 2 0 May02 ? 00:00:00 [kworker/9:0H]
root 56 2 0 May02 ? 00:00:10 [watchdog/10]
root 57 2 0 May02 ? 00:00:36 [migration/10]
root 58 2 0 May02 ? 00:08:26 [ksoftirqd/10]
root 60 2 0 May02 ? 00:00:00 [kworker/10:0H]
root 61 2 0 May02 ? 00:00:10 [watchdog/11]
root 62 2 0 May02 ? 00:00:35 [migration/11]
root 63 2 0 May02 ? 00:07:37 [ksoftirqd/11]
root 65 2 0 May02 ? 00:00:00 [kworker/11:0H]
root 66 2 0 May02 ? 00:00:10 [watchdog/12]
root 67 2 0 May02 ? 00:00:34 [migration/12]
root 68 2 0 May02 ? 00:07:55 [ksoftirqd/12]
root 70 2 0 May02 ? 00:00:00 [kworker/12:0H]
root 71 2 0 May02 ? 00:00:10 [watchdog/13]
root 72 2 0 May02 ? 00:00:34 [migration/13]
root 73 2 0 May02 ? 00:07:47 [ksoftirqd/13]
root 75 2 0 May02 ? 00:00:00 [kworker/13:0H]
root 76 2 0 May02 ? 00:00:10 [watchdog/14]
root 77 2 0 May02 ? 00:00:36 [migration/14]
root 78 2 0 May02 ? 00:09:03 [ksoftirqd/14]
root 80 2 0 May02 ? 00:00:00 [kworker/14:0H]
root 81 2 0 May02 ? 00:00:10 [watchdog/15]
root 82 2 0 May02 ? 00:00:37 [migration/15]
root 83 2 0 May02 ? 00:08:59 [ksoftirqd/15]
root 85 2 0 May02 ? 00:00:00 [kworker/15:0H]
root 87 2 0 May02 ? 00:00:00 [kdevtmpfs]
root 88 2 0 May02 ? 00:00:00 [netns]
root 89 2 0 May02 ? 00:00:01 [khungtaskd]
root 90 2 0 May02 ? 00:00:00 [writeback]
root 91 2 0 May02 ? 00:00:00 [kintegrityd]
root 92 2 0 May02 ? 00:00:00 [bioset]
root 93 2 0 May02 ? 00:00:00 [kblockd]
root 94 2 0 May02 ? 00:00:00 [md]
root 101 2 0 May02 ? 00:00:00 [kswapd0]
root 102 2 0 May02 ? 00:00:00 [ksmd]
root 103 2 0 May02 ? 00:03:01 [khugepaged]
root 104 2 0 May02 ? 00:00:00 [fsnotify_mark]
root 105 2 0 May02 ? 00:00:00 [crypto]
root 113 2 0 May02 ? 00:00:00 [kthrotld]
root 115 2 0 May02 ? 00:00:00 [kmpath_rdacd]
root 116 2 0 May02 ? 00:00:00 [kpsmoused]
root 118 2 0 May02 ? 00:00:00 [ipv6_addrconf]
root 138 2 0 May02 ? 00:00:00 [deferwq]
root 173 2 0 May02 ? 00:02:00 [kauditd]
root 362 2 0 May02 ? 00:00:00 [scsi_eh_0]
root 364 2 0 May02 ? 00:00:00 [scsi_tmf_0]
root 366 2 0 May02 ? 00:00:00 [ata_sff]
root 399 2 0 May02 ? 00:00:00 [scsi_eh_1]
root 400 2 0 May02 ? 00:00:00 [scsi_tmf_1]
root 401 2 0 May02 ? 00:00:00 [scsi_eh_2]
root 402 2 0 May02 ? 00:00:00 [scsi_tmf_2]
root 403 2 0 May02 ? 00:00:00 [scsi_eh_3]
root 404 2 0 May02 ? 00:00:00 [scsi_tmf_3]
root 405 2 0 May02 ? 00:00:00 [scsi_eh_4]
root 406 2 0 May02 ? 00:00:00 [scsi_tmf_4]
root 407 2 0 May02 ? 00:00:00 [scsi_eh_5]
root 408 2 0 May02 ? 00:00:00 [scsi_tmf_5]
root 409 2 0 May02 ? 00:00:00 [scsi_eh_6]
root 410 2 0 May02 ? 00:00:00 [scsi_tmf_6]
root 421 2 0 May02 ? 00:00:00 [ttm_swap]
root 493 2 0 May02 ? 00:00:00 [kdmflush]
root 494 2 0 May02 ? 00:00:00 [bioset]
root 503 2 0 May02 ? 00:00:00 [kdmflush]
root 504 2 0 May02 ? 00:00:00 [bioset]
root 519 2 0 May02 ? 00:00:00 [xfsalloc]
root 520 2 0 May02 ? 00:00:00 [xfs_mru_cache]
root 521 2 0 May02 ? 00:00:00 [xfs-buf/dm-0]
root 522 2 0 May02 ? 00:00:00 [xfs-data/dm-0]
root 523 2 0 May02 ? 00:00:00 [xfs-conv/dm-0]
root 524 2 0 May02 ? 00:00:00 [xfs-cil/dm-0]
root 525 2 0 May02 ? 00:00:00 [xfs-reclaim/dm-]
root 526 2 0 May02 ? 00:00:00 [xfs-log/dm-0]
root 527 2 0 May02 ? 00:00:00 [xfs-eofblocks/d]
root 528 2 0 May02 ? 00:18:06 [xfsaild/dm-0]
root 599 1 0 May02 ? 00:20:17 /usr/lib/systemd/systemd-journald
root 618 1 0 May02 ? 00:00:00 /usr/sbin/lvmetad -f
root 627 2 0 May02 ? 00:00:00 [rpciod]
root 636 2 0 May02 ? 00:00:00 [kworker/11:1H]
root 739 2 0 May02 ? 00:00:00 [edac-poller]
root 1303 2 0 May02 ? 00:00:00 [kvm-irqfd-clean]
root 1307 2 0 May02 ? 00:00:00 [xfs-buf/sda1]
root 1308 2 0 May02 ? 00:00:00 [xfs-data/sda1]
root 1309 2 0 May02 ? 00:00:00 [xfs-conv/sda1]
root 1310 2 0 May02 ? 00:00:00 [xfs-cil/sda1]
root 1311 2 0 May02 ? 00:00:00 [xfs-reclaim/sda]
root 1312 2 0 May02 ? 00:00:00 [xfs-log/sda1]
root 1313 2 0 May02 ? 00:00:00 [xfs-eofblocks/s]
root 1314 2 0 May02 ? 00:00:00 [xfsaild/sda1]
root 1321 2 0 May02 ? 00:00:00 [kworker/2:1H]
root 1326 2 0 May02 ? 00:00:02 [kworker/1:1H]
root 1340 1 0 May02 ? 00:04:53 /sbin/auditd -n
root 1361 1 0 May02 ? 00:06:48 /usr/sbin/irqbalance --foreground
libstor+ 1362 1 0 May02 ? 00:00:07 /usr/bin/lsmd -d
root 1363 1 0 May02 ? 00:00:00 /usr/sbin/abrtd -d -s
root 1365 1 0 May02 ? 00:00:46 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel oub
dbus 1367 1 0 May02 ? 00:54:56 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 1404 1 0 May02 ? 00:25:40 /usr/lib/systemd/systemd-logind
root 1405 1 0 May02 ? 00:00:04 /usr/sbin/smartd -n -q never
chrony 1415 1 0 May02 ? 00:00:12 /usr/sbin/chronyd
root 1419 1 0 May02 ? 00:00:03 /usr/sbin/gssproxy -D
root 1635 1 0 May02 ? 00:00:01 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid
root 1638 2 0 May02 ? 00:00:00 [kworker/0:1H]
root 1655 1 0 May02 ? 00:00:08 /usr/sbin/sshd -D
root 1659 1 0 May02 ? 00:10:00 /usr/sbin/rsyslogd -n
root 1661 1 0 May02 ? 00:00:00 /usr/bin/rhsmcertd
root 1662 1 0 May02 ? 00:00:00 /usr/sbin/cupsd -f
root 2068 1 0 May02 ? 00:00:00 rhnsd
root 2520 2 0 02:49 ? 00:00:02 [kworker/9:2]
apache 2560 30964 0 Jun14 ? 00:03:08 /usr/sbin/httpd -DFOREGROUND
root 2792 1 0 May02 ? 00:00:13 /usr/libexec/postfix/master -w
postfix 2897 2792 0 May02 ? 00:00:03 qmgr -l -t unix -u
root 3046 1 0 May02 ? 00:23:07 /opt/dell/srvadmin/sbin/dsm_sa_datamgrd
root 3069 1 0 May02 ? 00:00:00 /usr/sbin/atd -f
root 3072 1 0 May02 ? 00:02:00 /usr/sbin/automount --pid-file /run/autofs.pid
mysql 3082 1 0 May02 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
mysql 3319 3082 0 May02 ? 05:11:15 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
root 3438 1 0 May02 tty1 00:00:00 /sbin/agetty --noclear tty1 linux
root 3560 1 0 May02 ? 00:00:54 /opt/dell/srvadmin/sbin/dsm_sa_eventmgrd
root 3594 1 0 May02 ? 00:00:01 /opt/dell/srvadmin/sbin/dsm_om_shrsvcd
ajaxterm 3647 1 0 May02 ? 00:15:12 python /usr/share/ajaxterm/ajaxterm.py --daemon --port=8022 --uid=ajaxterm
root 3822 2 0 05:22 ? 00:00:00 [kworker/12:1]
apache 3955 30964 0 Jun13 ? 00:06:30 /usr/sbin/httpd -DFOREGROUND
root 4712 2 0 May02 ? 00:00:00 [kworker/13:1H]
root 4726 2 0 May02 ? 00:00:00 [nfsiod]
root 4764 2 0 May02 ? 00:00:00 [kworker/12:1H]
root 4768 2 0 May02 ? 00:00:00 [kworker/10:1H]
root 4894 2 0 May02 ? 00:00:46 [kworker/9:1H]
root 4954 2 0 May02 ? 00:00:00 [kworker/8:1H]
root 5122 2 0 May02 ? 00:00:00 [kworker/5:1H]
root 5336 2 0 May02 ? 00:00:00 [kworker/14:1H]
root 5998 2 0 May02 ? 00:00:00 [kworker/15:1H]
root 6622 2 0 07:57 ? 00:00:00 [kworker/8:0]
root 7859 2 0 May02 ? 00:00:00 [kworker/4:1H]
root 8120 2 0 May02 ? 00:00:00 [kworker/7:1H]
root 8199 2 0 May02 ? 00:00:00 [kworker/6:1H]
root 8625 2 0 08:00 ? 00:00:00 [kworker/4:0]
root 9518 2 0 Jun14 ? 00:00:00 [kworker/13:1]
root 10959 2 0 08:04 ? 00:00:00 [kworker/14:2]
root 11184 2 0 Jun14 ? 00:00:00 [kworker/11:1]
root 12138 2 0 06:50 ? 00:00:00 [kworker/6:2]
root 12576 2 0 Jun14 ? 00:00:00 [kworker/4:1]
root 17957 2 0 Jun14 ? 00:00:00 [kworker/2:1]
nagios 18970 1 3 Jun13 ? 01:41:48 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
nagios 19902 1 0 Jun14 ? 00:01:32 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 19904 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19905 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19906 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19907 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19908 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19909 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19911 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19912 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19913 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19914 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19915 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19916 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19917 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19918 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19919 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19920 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19921 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19922 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19923 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19924 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19925 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19926 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19927 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19928 19902 0 Jun14 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 19932 35102 0 Jun14 ? 00:00:06 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f
nagios 19933 19932 0 Jun14 ? 00:01:24 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f
nagios 19953 19902 0 Jun14 ? 00:00:02 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 20256 2 0 08:18 ? 00:00:00 [kworker/1:2]
root 20858 2 0 08:19 ? 00:00:00 [kworker/13:2]
root 21431 2 0 04:33 ? 00:00:01 [kworker/u96:1]
root 24182 2 0 04:38 ? 00:00:00 [kworker/7:1]
root 24724 2 0 08:25 ? 00:00:00 [kworker/2:0]
root 25370 2 0 Jun14 ? 00:00:00 [kworker/3:1H]
root 25565 2 0 08:25 ? 00:00:00 [kworker/5:2]
root 25624 2 0 08:26 ? 00:00:00 [kworker/12:2]
root 27035 1 0 Jun09 ? 00:00:25 /usr/sbin/crond -n
root 27075 1 0 Jun09 ? 00:00:00 /usr/lib/systemd/systemd-udevd
root 29166 2 0 08:32 ? 00:00:00 [kworker/0:1]
root 30378 2 0 01:01 ? 00:00:00 [kworker/0:0]
root 30964 1 0 Jun13 ? 00:00:05 /usr/sbin/httpd -DFOREGROUND
apache 30967 30964 0 Jun13 ? 00:06:52 /usr/sbin/httpd -DFOREGROUND
apache 30990 30964 0 Jun13 ? 00:06:43 /usr/sbin/httpd -DFOREGROUND
root 31201 2 0 08:35 ? 00:00:00 [kworker/15:0]
apache 31282 30964 0 Jun13 ? 00:06:44 /usr/sbin/httpd -DFOREGROUND
root 32054 2 0 08:36 ? 00:00:00 [kworker/9:0]
root 32103 2 0 04:50 ? 00:00:00 [kworker/15:2]
root 33212 2 0 Jun14 ? 00:00:00 [kworker/3:2]
root 33673 2 0 Jun14 ? 00:00:00 [kworker/14:0]
root 33698 2 0 08:39 ? 00:00:00 [kworker/7:2]
root 34196 2 0 03:38 ? 00:00:00 [kworker/8:2]
root 34504 2 0 08:40 ? 00:00:00 [kworker/5:0]
nagios 35102 1 0 May02 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f
root 35719 1655 0 08:42 ? 00:00:00 sshd: root@pts/0
root 35945 35719 0 08:42 pts/0 00:00:00 -bash
root 37716 2 0 08:45 ? 00:00:00 [kworker/3:1]
apache 37771 30964 0 Jun14 ? 00:04:04 /usr/sbin/httpd -DFOREGROUND
apache 37866 30964 0 Jun14 ? 00:04:15 /usr/sbin/httpd -DFOREGROUND
root 38958 2 0 08:47 ? 00:00:00 [kworker/10:1]
root 38967 2 0 08:47 ? 00:00:00 [kworker/6:0]
root 39200 2 0 02:30 ? 00:00:00 [kworker/1:1]
postfix 39271 2792 0 07:32 ? 00:00:00 pickup -l -t unix -u
polkitd 39430 1 0 Jun09 ? 00:03:21 /usr/lib/polkit-1/polkitd --no-debug
root 39446 1 0 Jun09 ? 00:00:46 /usr/bin/python -Es /usr/sbin/tuned -l -P
root 41591 2 0 08:51 ? 00:00:00 [kworker/0:2]
root 41608 2 0 08:51 ? 00:00:00 [kworker/13:0]
apache 41753 30964 0 Jun14 ? 00:03:36 /usr/sbin/httpd -DFOREGROUND
root 41767 2 0 02:34 ? 00:00:00 [kworker/10:2]
root 42341 27035 0 08:52 ? 00:00:00 /usr/sbin/CROND -n
root 42342 27035 0 08:52 ? 00:00:00 /usr/sbin/CROND -n
root 42344 27035 0 08:52 ? 00:00:00 /usr/sbin/CROND -n
root 42345 27035 0 08:52 ? 00:00:00 /usr/sbin/CROND -n
root 42346 27035 0 08:52 ? 00:00:00 /usr/sbin/CROND -n
nagios 42348 42341 0 08:52 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 42350 42342 0 08:52 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1
nagios 42352 42344 0 08:52 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1
nagios 42354 42346 0 08:52 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1
nagios 42355 42345 0 08:52 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
nagios 42358 42350 0 08:52 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php
nagios 42359 42348 0 08:52 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
nagios 42361 42352 0 08:52 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php
nagios 42363 42354 0 08:52 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php
nagios 42364 42355 0 08:52 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php
root 42377 2 0 08:52 ? 00:00:00 [kworker/5:1]
rpc 42536 1 0 08:52 ? 00:00:00 /sbin/rpcbind -w
root 42886 35945 0 08:52 pts/0 00:00:00 ps -ef --cols=300
apache 45630 30964 0 Jun14 ? 00:01:53 /usr/sbin/httpd -DFOREGROUND
apache 46782 30964 0 Jun13 ? 00:06:26 /usr/sbin/httpd -DFOREGROUND
root 47677 2 0 07:45 ? 00:00:00 [kworker/11:0]
root 47705 2 0 05:14 ? 00:00:00 [kworker/u96:2]
nagios:x:1000:nagios,apache
nagcmd:x:1001:nagios,apache
Re: Nagios XI no performance graphs
Posted: Thu Jun 15, 2017 2:54 pm
by tgriep
Lets turn on debugging and see if we can get any detailed errors.
Edit this file
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfg
Change the following from
to
Then edit
Code: Select all
/usr/local/nagios/etc/pnp/npcd.cfg
Change the following from
to
The restart these processes by running
Code: Select all
service npcd restart
service nagios restart
Wait about 10 minutes, run the following as root and post the /tmp/info.txt file.
Code: Select all
ps -ef >/tmp/info.txt
tail -100 /usr/local/nagios/var/npcd.log >>/tmp/info.txt
tail -100 /usr/local/nagios/var/perfdata.log >>/tmp/info.txt
Re: Nagios XI no performance graphs
Posted: Fri Jun 16, 2017 12:23 pm
by mgrover
These are the commands and conditions that generated the data I originally opened the ticket with and everything is still set accordingly. The only exception is that npcd.cfg is actually running under log mode -1 for full debug.
Note that perfdata.log is still empty.
info.txt
Code: Select all
[root@nagios ~]# cat /tmp/info.txt
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 May02 ? 00:44:48 /usr/lib/systemd/systemd --system --deserialize 15
root 2 0 0 May02 ? 00:00:02 [kthreadd]
root 3 2 0 May02 ? 00:13:49 [ksoftirqd/0]
root 5 2 0 May02 ? 00:00:00 [kworker/0:0H]
root 7 2 0 May02 ? 00:00:13 [migration/0]
root 8 2 0 May02 ? 00:00:00 [rcu_bh]
root 9 2 0 May02 ? 01:39:40 [rcu_sched]
root 10 2 0 May02 ? 00:00:12 [watchdog/0]
root 11 2 0 May02 ? 00:00:12 [watchdog/1]
root 12 2 0 May02 ? 00:00:15 [migration/1]
root 13 2 0 May02 ? 00:09:02 [ksoftirqd/1]
root 15 2 0 May02 ? 00:00:00 [kworker/1:0H]
root 16 2 0 May02 ? 00:00:11 [watchdog/2]
root 17 2 0 May02 ? 00:00:15 [migration/2]
root 18 2 0 May02 ? 00:08:27 [ksoftirqd/2]
root 20 2 0 May02 ? 00:00:00 [kworker/2:0H]
root 21 2 0 May02 ? 00:00:11 [watchdog/3]
root 22 2 0 May02 ? 00:00:13 [migration/3]
root 23 2 0 May02 ? 00:07:41 [ksoftirqd/3]
root 25 2 0 May02 ? 00:00:00 [kworker/3:0H]
root 26 2 0 May02 ? 00:00:11 [watchdog/4]
root 27 2 0 May02 ? 00:00:13 [migration/4]
root 28 2 0 May02 ? 00:07:28 [ksoftirqd/4]
root 30 2 0 May02 ? 00:00:00 [kworker/4:0H]
root 31 2 0 May02 ? 00:00:11 [watchdog/5]
root 32 2 0 May02 ? 00:00:13 [migration/5]
root 33 2 0 May02 ? 00:07:34 [ksoftirqd/5]
root 35 2 0 May02 ? 00:00:00 [kworker/5:0H]
root 36 2 0 May02 ? 00:00:11 [watchdog/6]
root 37 2 0 May02 ? 00:00:15 [migration/6]
root 38 2 0 May02 ? 00:08:40 [ksoftirqd/6]
root 40 2 0 May02 ? 00:00:00 [kworker/6:0H]
root 41 2 0 May02 ? 00:00:11 [watchdog/7]
root 42 2 0 May02 ? 00:00:15 [migration/7]
root 43 2 0 May02 ? 00:09:02 [ksoftirqd/7]
root 45 2 0 May02 ? 00:00:00 [kworker/7:0H]
root 46 2 0 May02 ? 00:00:10 [watchdog/8]
root 47 2 0 May02 ? 00:00:38 [migration/8]
root 48 2 0 May02 ? 00:06:42 [ksoftirqd/8]
root 50 2 0 May02 ? 00:00:00 [kworker/8:0H]
root 51 2 0 May02 ? 00:00:10 [watchdog/9]
root 52 2 0 May02 ? 00:00:38 [migration/9]
root 53 2 0 May02 ? 00:08:49 [ksoftirqd/9]
root 55 2 0 May02 ? 00:00:00 [kworker/9:0H]
root 56 2 0 May02 ? 00:00:11 [watchdog/10]
root 57 2 0 May02 ? 00:00:37 [migration/10]
root 58 2 0 May02 ? 00:08:27 [ksoftirqd/10]
root 60 2 0 May02 ? 00:00:00 [kworker/10:0H]
root 61 2 0 May02 ? 00:00:10 [watchdog/11]
root 62 2 0 May02 ? 00:00:36 [migration/11]
root 63 2 0 May02 ? 00:07:39 [ksoftirqd/11]
root 65 2 0 May02 ? 00:00:00 [kworker/11:0H]
root 66 2 0 May02 ? 00:00:10 [watchdog/12]
root 67 2 0 May02 ? 00:00:35 [migration/12]
root 68 2 0 May02 ? 00:08:00 [ksoftirqd/12]
root 70 2 0 May02 ? 00:00:00 [kworker/12:0H]
root 71 2 0 May02 ? 00:00:10 [watchdog/13]
root 72 2 0 May02 ? 00:00:35 [migration/13]
root 73 2 0 May02 ? 00:07:51 [ksoftirqd/13]
root 75 2 0 May02 ? 00:00:00 [kworker/13:0H]
root 76 2 0 May02 ? 00:00:10 [watchdog/14]
root 77 2 0 May02 ? 00:00:37 [migration/14]
root 78 2 0 May02 ? 00:09:07 [ksoftirqd/14]
root 80 2 0 May02 ? 00:00:00 [kworker/14:0H]
root 81 2 0 May02 ? 00:00:10 [watchdog/15]
root 82 2 0 May02 ? 00:00:38 [migration/15]
root 83 2 0 May02 ? 00:09:00 [ksoftirqd/15]
root 85 2 0 May02 ? 00:00:00 [kworker/15:0H]
root 87 2 0 May02 ? 00:00:00 [kdevtmpfs]
root 88 2 0 May02 ? 00:00:00 [netns]
root 89 2 0 May02 ? 00:00:02 [khungtaskd]
root 90 2 0 May02 ? 00:00:00 [writeback]
root 91 2 0 May02 ? 00:00:00 [kintegrityd]
root 92 2 0 May02 ? 00:00:00 [bioset]
root 93 2 0 May02 ? 00:00:00 [kblockd]
root 94 2 0 May02 ? 00:00:00 [md]
root 101 2 0 May02 ? 00:00:00 [kswapd0]
root 102 2 0 May02 ? 00:00:00 [ksmd]
root 103 2 0 May02 ? 00:03:06 [khugepaged]
root 104 2 0 May02 ? 00:00:00 [fsnotify_mark]
root 105 2 0 May02 ? 00:00:00 [crypto]
root 113 2 0 May02 ? 00:00:00 [kthrotld]
root 115 2 0 May02 ? 00:00:00 [kmpath_rdacd]
root 116 2 0 May02 ? 00:00:00 [kpsmoused]
root 118 2 0 May02 ? 00:00:00 [ipv6_addrconf]
root 138 2 0 May02 ? 00:00:00 [deferwq]
root 173 2 0 May02 ? 00:02:03 [kauditd]
root 362 2 0 May02 ? 00:00:00 [scsi_eh_0]
root 364 2 0 May02 ? 00:00:00 [scsi_tmf_0]
root 366 2 0 May02 ? 00:00:00 [ata_sff]
root 399 2 0 May02 ? 00:00:00 [scsi_eh_1]
root 400 2 0 May02 ? 00:00:00 [scsi_tmf_1]
root 401 2 0 May02 ? 00:00:00 [scsi_eh_2]
root 402 2 0 May02 ? 00:00:00 [scsi_tmf_2]
root 403 2 0 May02 ? 00:00:00 [scsi_eh_3]
root 404 2 0 May02 ? 00:00:00 [scsi_tmf_3]
root 405 2 0 May02 ? 00:00:00 [scsi_eh_4]
root 406 2 0 May02 ? 00:00:00 [scsi_tmf_4]
root 407 2 0 May02 ? 00:00:00 [scsi_eh_5]
root 408 2 0 May02 ? 00:00:00 [scsi_tmf_5]
root 409 2 0 May02 ? 00:00:00 [scsi_eh_6]
root 410 2 0 May02 ? 00:00:00 [scsi_tmf_6]
root 421 2 0 May02 ? 00:00:00 [ttm_swap]
root 493 2 0 May02 ? 00:00:00 [kdmflush]
root 494 2 0 May02 ? 00:00:00 [bioset]
root 503 2 0 May02 ? 00:00:00 [kdmflush]
root 504 2 0 May02 ? 00:00:00 [bioset]
root 519 2 0 May02 ? 00:00:00 [xfsalloc]
root 520 2 0 May02 ? 00:00:00 [xfs_mru_cache]
root 521 2 0 May02 ? 00:00:00 [xfs-buf/dm-0]
root 522 2 0 May02 ? 00:00:00 [xfs-data/dm-0]
root 523 2 0 May02 ? 00:00:00 [xfs-conv/dm-0]
root 524 2 0 May02 ? 00:00:00 [xfs-cil/dm-0]
root 525 2 0 May02 ? 00:00:00 [xfs-reclaim/dm-]
root 526 2 0 May02 ? 00:00:00 [xfs-log/dm-0]
root 527 2 0 May02 ? 00:00:00 [xfs-eofblocks/d]
root 528 2 0 May02 ? 00:18:34 [xfsaild/dm-0]
root 599 1 0 May02 ? 00:20:59 /usr/lib/systemd/systemd-journald
root 618 1 0 May02 ? 00:00:00 /usr/sbin/lvmetad -f
root 627 2 0 May02 ? 00:00:00 [rpciod]
root 636 2 0 May02 ? 00:00:00 [kworker/11:1H]
root 739 2 0 May02 ? 00:00:00 [edac-poller]
root 1303 2 0 May02 ? 00:00:00 [kvm-irqfd-clean]
root 1307 2 0 May02 ? 00:00:00 [xfs-buf/sda1]
root 1308 2 0 May02 ? 00:00:00 [xfs-data/sda1]
root 1309 2 0 May02 ? 00:00:00 [xfs-conv/sda1]
root 1310 2 0 May02 ? 00:00:00 [xfs-cil/sda1]
root 1311 2 0 May02 ? 00:00:00 [xfs-reclaim/sda]
root 1312 2 0 May02 ? 00:00:00 [xfs-log/sda1]
root 1313 2 0 May02 ? 00:00:00 [xfs-eofblocks/s]
root 1314 2 0 May02 ? 00:00:00 [xfsaild/sda1]
root 1321 2 0 May02 ? 00:00:00 [kworker/2:1H]
root 1326 2 0 May02 ? 00:00:02 [kworker/1:1H]
root 1340 1 0 May02 ? 00:05:01 /sbin/auditd -n
root 1361 1 0 May02 ? 00:06:59 /usr/sbin/irqbalance --foreground
libstor+ 1362 1 0 May02 ? 00:00:07 /usr/bin/lsmd -d
root 1363 1 0 May02 ? 00:00:00 /usr/sbin/abrtd -d -s
root 1365 1 0 May02 ? 00:00:49 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD
dbus 1367 1 0 May02 ? 00:56:22 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 1401 2 0 11:02 ? 00:00:00 [kworker/12:2]
root 1404 1 0 May02 ? 00:26:20 /usr/lib/systemd/systemd-logind
root 1405 1 0 May02 ? 00:00:04 /usr/sbin/smartd -n -q never
chrony 1415 1 0 May02 ? 00:00:13 /usr/sbin/chronyd
root 1419 1 0 May02 ? 00:00:03 /usr/sbin/gssproxy -D
root 1465 2 0 11:03 ? 00:00:00 [kworker/14:2]
root 1489 2 0 11:03 ? 00:00:00 [kworker/10:0]
root 1635 1 0 May02 ? 00:00:01 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid
root 1638 2 0 May02 ? 00:00:00 [kworker/0:1H]
root 1655 1 0 May02 ? 00:00:09 /usr/sbin/sshd -D
root 1659 1 0 May02 ? 00:10:21 /usr/sbin/rsyslogd -n
root 1661 1 0 May02 ? 00:00:00 /usr/bin/rhsmcertd
root 1662 1 0 May02 ? 00:00:00 /usr/sbin/cupsd -f
root 2066 2 0 11:04 ? 00:00:00 [kworker/6:1]
root 2068 1 0 May02 ? 00:00:00 rhnsd
apache 2560 30964 0 Jun14 ? 00:07:22 /usr/sbin/httpd -DFOREGROUND
root 2792 1 0 May02 ? 00:00:13 /usr/libexec/postfix/master -w
postfix 2897 2792 0 May02 ? 00:00:03 qmgr -l -t unix -u
root 3046 1 0 May02 ? 00:23:43 /opt/dell/srvadmin/sbin/dsm_sa_datamgrd
root 3069 1 0 May02 ? 00:00:00 /usr/sbin/atd -f
root 3072 1 0 May02 ? 00:02:03 /usr/sbin/automount --pid-file /run/autofs.pid
mysql 3082 1 0 May02 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
mysql 3319 3082 0 May02 ? 05:20:49 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
root 3438 1 0 May02 tty1 00:00:00 /sbin/agetty --noclear tty1 linux
root 3467 2 0 11:06 ? 00:00:00 [kworker/5:2]
root 3560 1 0 May02 ? 00:00:55 /opt/dell/srvadmin/sbin/dsm_sa_eventmgrd
root 3594 1 0 May02 ? 00:00:01 /opt/dell/srvadmin/sbin/dsm_om_shrsvcd
ajaxterm 3647 1 0 May02 ? 00:15:34 python /usr/share/ajaxterm/ajaxterm.py --daemon --port=8022 --uid=ajaxterm
root 4579 2 0 11:07 ? 00:00:00 [kworker/4:1]
root 4712 2 0 May02 ? 00:00:00 [kworker/13:1H]
root 4726 2 0 May02 ? 00:00:00 [nfsiod]
root 4764 2 0 May02 ? 00:00:00 [kworker/12:1H]
root 4768 2 0 May02 ? 00:00:00 [kworker/10:1H]
root 4894 2 0 May02 ? 00:00:47 [kworker/9:1H]
root 4954 2 0 May02 ? 00:00:00 [kworker/8:1H]
root 5122 2 0 May02 ? 00:00:00 [kworker/5:1H]
root 5336 2 0 May02 ? 00:00:00 [kworker/14:1H]
root 5998 2 0 May02 ? 00:00:00 [kworker/15:1H]
root 6230 2 0 07:26 ? 00:00:01 [kworker/u96:0]
root 7482 2 0 11:12 ? 00:00:00 [kworker/9:0]
root 7859 2 0 May02 ? 00:00:00 [kworker/4:1H]
root 8120 2 0 May02 ? 00:00:00 [kworker/7:1H]
root 8155 2 0 11:13 ? 00:00:00 [kworker/7:2]
root 8199 2 0 May02 ? 00:00:00 [kworker/6:1H]
rpc 8385 1 0 11:13 ? 00:00:00 /sbin/rpcbind -w
root 8607 2 0 11:14 ? 00:00:00 [kworker/8:1]
root 8820 1655 0 11:14 ? 00:00:00 sshd: root@pts/0
root 8924 8820 0 11:14 pts/0 00:00:00 -bash
root 9039 2 0 11:15 ? 00:00:00 [kworker/13:2]
root 9052 2 0 Jun15 ? 00:00:01 [kworker/0:2]
root 9111 2 0 11:15 ? 00:00:00 [kworker/14:1]
root 10192 2 0 07:32 ? 00:00:00 [kworker/3:2]
nagios 10266 1 7 11:16 ? 00:00:04 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
root 10268 2 0 11:16 ? 00:00:00 [kworker/5:1]
root 10325 2 0 11:16 ? 00:00:00 [kworker/15:1]
nagios 10356 1 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 10358 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10359 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10360 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10361 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10362 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10363 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10364 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10366 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10367 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10368 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10369 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10370 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10371 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10372 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10373 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10374 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10375 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10376 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10377 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10378 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10379 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10380 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10381 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10382 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 10385 35102 0 11:16 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f
nagios 10387 10385 1 11:16 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f
nagios 10400 10356 0 11:16 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 11228 27035 0 11:17 ? 00:00:00 /usr/sbin/CROND -n
root 11229 27035 0 11:17 ? 00:00:00 /usr/sbin/CROND -n
root 11230 27035 0 11:17 ? 00:00:00 /usr/sbin/CROND -n
root 11231 27035 0 11:17 ? 00:00:00 /usr/sbin/CROND -n
root 11232 27035 0 11:17 ? 00:00:00 /usr/sbin/CROND -n
root 11233 27035 0 11:17 ? 00:00:00 /usr/sbin/CROND -n
nagios 11235 11228 0 11:17 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 11236 11231 0 11:17 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1
nagios 11237 11230 0 11:17 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1
nagios 11238 11232 0 11:17 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
nagios 11240 11229 0 11:17 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1
nagios 11242 11233 0 11:17 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1
nagios 11243 11235 1 11:17 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
nagios 11245 11236 1 11:17 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php
nagios 11247 11237 1 11:17 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php
nagios 11248 11238 1 11:17 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php
nagios 11249 11242 1 11:17 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php
nagios 11250 11240 1 11:17 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php
root 11408 8924 0 11:17 pts/0 00:00:00 ps -ef
root 14386 2 0 Jun15 ? 00:00:00 [kworker/7:1]
postfix 17215 2792 0 10:12 ? 00:00:00 pickup -l -t unix -u
root 18236 2 0 08:59 ? 00:00:00 [kworker/2:0]
apache 23087 30964 0 Jun15 ? 00:01:52 /usr/sbin/httpd -DFOREGROUND
root 23690 2 0 02:54 ? 00:00:00 [kworker/6:2]
root 23694 2 0 10:22 ? 00:00:00 [kworker/13:0]
root 25370 2 0 Jun14 ? 00:00:00 [kworker/3:1H]
root 27035 1 0 Jun09 ? 00:00:30 /usr/sbin/crond -n
root 27075 1 0 Jun09 ? 00:00:00 /usr/lib/systemd/systemd-udevd
root 27574 2 0 09:13 ? 00:00:00 [kworker/u96:1]
apache 29297 30964 0 Jun15 ? 00:02:41 /usr/sbin/httpd -DFOREGROUND
root 30964 1 0 Jun13 ? 00:00:08 /usr/sbin/httpd -DFOREGROUND
apache 30990 30964 0 Jun13 ? 00:11:09 /usr/sbin/httpd -DFOREGROUND
root 31008 2 0 Jun15 ? 00:00:00 [kworker/1:0]
root 31258 2 0 10:34 ? 00:00:00 [kworker/3:0]
apache 32734 30964 0 Jun15 ? 00:02:40 /usr/sbin/httpd -DFOREGROUND
root 33673 2 0 Jun14 ? 00:00:01 [kworker/14:0]
root 34196 2 0 Jun15 ? 00:00:00 [kworker/8:2]
root 34435 2 0 05:40 ? 00:00:00 [kworker/15:0]
nagios 35102 1 0 May02 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f
root 35363 2 0 10:40 ? 00:00:00 [kworker/4:2]
root 35975 2 0 Jun15 ? 00:00:00 [kworker/13:1]
root 36597 2 0 10:42 ? 00:00:00 [kworker/2:2]
root 37322 2 0 03:15 ? 00:00:02 [kworker/9:1]
apache 37645 30964 0 Jun15 ? 00:03:41 /usr/sbin/httpd -DFOREGROUND
root 37762 2 0 10:44 ? 00:00:00 [kworker/0:0]
root 38122 2 0 10:45 ? 00:00:00 [kworker/8:0]
apache 38497 30964 0 Jun15 ? 00:04:02 /usr/sbin/httpd -DFOREGROUND
root 39421 2 0 Jun15 ? 00:00:01 [kworker/11:2]
polkitd 39430 1 0 Jun09 ? 00:03:59 /usr/lib/polkit-1/polkitd --no-debug
root 39446 1 0 Jun09 ? 00:00:54 /usr/bin/python -Es /usr/sbin/tuned -l -P
apache 40054 30964 0 Jun15 ? 00:02:29 /usr/sbin/httpd -DFOREGROUND
root 40072 2 0 10:47 ? 00:00:00 [kworker/7:0]
root 40584 2 0 10:48 ? 00:00:00 [kworker/1:2]
root 40638 2 0 Jun15 ? 00:00:01 [kworker/10:1]
apache 41753 30964 0 Jun14 ? 00:07:59 /usr/sbin/httpd -DFOREGROUND
root 42777 2 0 10:51 ? 00:00:00 [kworker/15:2]
root 45581 2 0 10:56 ? 00:00:00 [kworker/12:0]
apache 46782 30964 0 Jun13 ? 00:11:04 /usr/sbin/httpd -DFOREGROUND
root 47155 2 0 10:58 ? 00:00:00 [kworker/11:0]
root 47846 2 0 10:59 ? 00:00:00 [kworker/5:0]
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633196.perfdata.service-PID-8461
[06-16-2017 11:17:34] NPCD: File '1497633196.perfdata.service-PID-8461' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633211.perfdata.host-PID-8540
[06-16-2017 11:17:34] NPCD: File '1497633211.perfdata.host-PID-8540' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633211.perfdata.service-PID-8541
[06-16-2017 11:17:34] NPCD: File '1497633211.perfdata.service-PID-8541' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633226.perfdata.host-PID-8696
[06-16-2017 11:17:34] NPCD: File '1497633226.perfdata.host-PID-8696' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633226.perfdata.service-PID-8697
[06-16-2017 11:17:34] NPCD: File '1497633226.perfdata.service-PID-8697' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633241.perfdata.host-PID-8752
[06-16-2017 11:17:34] NPCD: File '1497633241.perfdata.host-PID-8752' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633241.perfdata.service-PID-8753
[06-16-2017 11:17:34] NPCD: File '1497633241.perfdata.service-PID-8753' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633256.perfdata.host-PID-8835
[06-16-2017 11:17:34] NPCD: File '1497633256.perfdata.host-PID-8835' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633256.perfdata.service-PID-8837
[06-16-2017 11:17:34] NPCD: File '1497633256.perfdata.service-PID-8837' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633271.perfdata.host-PID-8985
[06-16-2017 11:17:34] NPCD: File '1497633271.perfdata.host-PID-8985' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633271.perfdata.service-PID-8986
[06-16-2017 11:17:34] NPCD: File '1497633271.perfdata.service-PID-8986' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633286.perfdata.host-PID-8988
[06-16-2017 11:17:34] NPCD: File '1497633286.perfdata.host-PID-8988' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633286.perfdata.service-PID-8990
[06-16-2017 11:17:34] NPCD: File '1497633286.perfdata.service-PID-8990' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633301.perfdata.host-PID-9357
[06-16-2017 11:17:34] NPCD: File '1497633301.perfdata.host-PID-9357' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633301.perfdata.service-PID-9358
[06-16-2017 11:17:34] NPCD: File '1497633301.perfdata.service-PID-9358' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633317.perfdata.host-PID-9472
[06-16-2017 11:17:34] NPCD: File '1497633317.perfdata.host-PID-9472' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633317.perfdata.service-PID-9474
[06-16-2017 11:17:34] NPCD: File '1497633317.perfdata.service-PID-9474' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633331.perfdata.host-PID-9737
[06-16-2017 11:17:34] NPCD: File '1497633331.perfdata.host-PID-9737' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633331.perfdata.service-PID-9738
[06-16-2017 11:17:34] NPCD: File '1497633331.perfdata.service-PID-9738' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633346.perfdata.host-PID-10162
[06-16-2017 11:17:34] NPCD: File '1497633346.perfdata.host-PID-10162' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633346.perfdata.service-PID-10163
[06-16-2017 11:17:34] NPCD: File '1497633346.perfdata.service-PID-10163' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633361.perfdata.host-PID-10273
[06-16-2017 11:17:34] NPCD: File '1497633361.perfdata.host-PID-10273' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633361.perfdata.service-PID-10274
[06-16-2017 11:17:34] NPCD: File '1497633361.perfdata.service-PID-10274' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633376.perfdata.host-PID-10276
[06-16-2017 11:17:34] NPCD: File '1497633376.perfdata.host-PID-10276' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633406.perfdata.host-PID-11094
[06-16-2017 11:17:34] NPCD: File '1497633406.perfdata.host-PID-11094' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633406.perfdata.service-PID-11095
[06-16-2017 11:17:34] NPCD: File '1497633406.perfdata.service-PID-11095' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633421.perfdata.host-PID-11399
[06-16-2017 11:17:34] NPCD: File '1497633421.perfdata.host-PID-11399' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633421.perfdata.service-PID-11400
[06-16-2017 11:17:34] NPCD: File '1497633421.perfdata.service-PID-11400' is an already in process PNP file. Leaving it untouched.
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: ThreadCounter 0/5 File is 1497633436.perfdata.host
[06-16-2017 11:17:34] NPCD: Regular File: 1497633436.perfdata.host
[06-16-2017 11:17:34] NPCD: A thread was started on thread_counter = 0
[06-16-2017 11:17:34] NPCD: DEBUG: load 0.200000/10.000000
[06-16-2017 11:17:34] NPCD: Processing file 1497633436.perfdata.host with ID 140205955995392 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1497633436.perfdata.host
[06-16-2017 11:17:34] NPCD: ThreadCounter 1/5 File is 1497633436.perfdata.service
[06-16-2017 11:17:34] NPCD: Processing file '1497633436.perfdata.host'
[06-16-2017 11:17:34] NPCD: Regular File: 1497633436.perfdata.service
[06-16-2017 11:17:34] NPCD: A thread was started on thread_counter = 1
[06-16-2017 11:17:34] NPCD: Have to wait: Filecounter = 12524 - thread_counter = 2
[06-16-2017 11:17:34] NPCD: Processing file 1497633436.perfdata.service with ID 140205947602688 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1497633436.perfdata.service
[06-16-2017 11:17:34] NPCD: Processing file '1497633436.perfdata.service'
[06-16-2017 11:17:34] NPCD: ERROR: Executed command exits with return code '5'
[06-16-2017 11:17:34] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1497633436.perfdata.host'
[06-16-2017 11:17:34] NPCD: ERROR: Executed command exits with return code '5'
[06-16-2017 11:17:34] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1497633436.perfdata.service'
Re: Nagios XI no performance graphs
Posted: Fri Jun 16, 2017 12:26 pm
by mgrover
Also, for what it's worth the path shown in the NPCD error seems to be using one / too many:
[06-16-2017 11:17:34] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /var/nagiosramdisk/spool/perfdata//1497633436.perfdata.service'
I'm going to go check all config files again but can you tell me which config file is that specific variable is pulled from?
Thanks,
Matt