Search found 3722 matches

by mcapra
Thu Mar 02, 2017 1:50 pm
Forum: Open Source Nagios Projects
Topic: Print Queue Checks Fails
Replies: 2
Views: 1121

Re: Print Queue Checks Fails

All these directives: Maxwarn=5 Maxcrit=15 Showall Tend to shift between NSClient++ versions. However, looking at the documentation on the page it looks like case may be a factor. From the doc you mentioned, MaxWarn, MaxCrit, ShowAll have caps for the 2nd word: check_nrpe -H win2008r2-01 -c CheckCou...
by mcapra
Thu Mar 02, 2017 1:42 pm
Forum: Nagios Log Server
Topic: Check_snmp reverts to v1
Replies: 1
Views: 750

Re: Check_snmp reverts to v1

Are you sure this is a Nagios Log Server question? I don't think check_snmp gets used anywhere in Nagios Log Server. Your check_snmp command is using -v for the SNMP version, but this argument doesn't represent the SNMP version used: Usage: check_snmp -H <ip_address> -o <OID> [-w warn_range] [-c cri...
by mcapra
Thu Mar 02, 2017 1:31 pm
Forum: Open Source Nagios Projects
Topic: Notification Check Timeperiod
Replies: 6
Views: 2691

Re: Notification Check Timeperiod

My backup time starts at 7:00 PM and stop at 7:00 AM In that case, since the backup runs overnight and spills into 2 distinct days, this time period might make more sense: define timeperiod{ timeperiod_name backup_time alias backup_time sunday 00:00-07:00,19:00-24:00 monday 00:00-07:00,19:00-24:00 ...
by mcapra
Thu Mar 02, 2017 12:28 pm
Forum: Nagios XI
Topic: Wizard upload failed on centos 6.8
Replies: 9
Views: 139

Re: Wizard upload failed on centos 6.8

Hmm, the only reason that message ever gets displayed is if move_uploaded_file returns false. We could try adding in some more verbose debugging settings: sed -i '2s/.*/error_reporting(E_ALL);ini_set('display_errors', TRUE);ini_set('display_startup_errors', TRUE);/' /usr/local/nagiosxi/html/admin/co...
by mcapra
Thu Mar 02, 2017 12:18 pm
Forum: Nagios XI
Topic: Some Dashboards disappeared?
Replies: 16
Views: 295

Re: Some Dashboards disappeared?

For postgres using default credentials:

Code: Select all

psql -U nagiosxi -c "SELECT * FROM xi_usermeta WHERE keyname LIKE '%dash%'" > /tmp/dash_output.txt
psql -U nagiosxi -c "\d xi_usermeta;"
by mcapra
Wed Mar 01, 2017 6:05 pm
Forum: Open Source Nagios Projects
Topic: check_mysql causing MySQL access denied messages
Replies: 1
Views: 4939

Re: check_mysql causing MySQL access denied messages

The -n argument was sort of built for this use case. Otherwise, you can check to see if port 3306 is listening using a different plugin. If I were checking a local database: [root@xi-stable libexec]# ./check_mysql Access denied for user 'root'@'localhost' (using password: NO) [root@xi-stable libexec...
by mcapra
Wed Mar 01, 2017 5:58 pm
Forum: Open Source Nagios Projects
Topic: Nagvis and Nagios on Nagios Reload
Replies: 3
Views: 2097

Re: Nagvis and Nagios on Nagios Reload

You might try editing some of the rotation intervals of your pages in the Nagvis configuration, just to give Nagios a bit of leeway in terms of when it starts and when the page rotates: ; rotation interval (seconds) interval=15 But all Nagvis really does is read the Nagios status and churn out maps/...
by mcapra
Wed Mar 01, 2017 5:22 pm
Forum: Nagios XI
Topic: nagiosxi - Database Backend issue
Replies: 6
Views: 1918

Re: nagiosxi - Database Backend issue

There were some ndo2db issues fixed in 5.4.2 that might be related to this problem: - Fixed ndoutils segfault issue with patch for ndoutils 2.1.2 -JO, JF - Fixed issue with ndo2db upstart job conflicting with ndo2db init script [TPS#10882] -JO Can you edit the following file: /usr/local/nagios/etc/n...
by mcapra
Wed Mar 01, 2017 5:04 pm
Forum: Open Source Nagios Projects
Topic: CheckEventLog Genrated Time displayed Wrongly
Replies: 3
Views: 1391

Re: CheckEventLog Genrated Time displayed Wrongly

Can you share which version of NSClient++ is being used on the remote machine? A lot of this answer depends on the version of NSClient++. You may need to set a time filter for the EventLog module and configure the detail syntax in the NSClient++ configuration: https://docs.nsclient.org/reference/win...
by mcapra
Wed Mar 01, 2017 4:59 pm
Forum: Nagios XI
Topic: Listing current ack'd issues
Replies: 4
Views: 728

Re: Listing current ack'd issues

That is a very tricky thing to do. If you look in the retention.dat file which contains the retained/persistent Nagios status information, you might see something like this: servicestatus { host_name=localhost service_description=HTTP ... problem_has_been_acknowledged=1 acknowledgement_type=2 ... } ...