Search found 235 matches

by jdunitz
Tue Feb 15, 2022 5:48 pm
Forum: Nagios XI
Topic: MRTG cron job mail
Replies: 1
Views: 1156

Re: MRTG cron job mail

It might be better to address the errors (perhaps you have a lot of abandoned files that need to be cleaned up?) but as long as MRTG seems to be working and your perfdata is current/seems accurate/is doing what you want/etc, you should be OK to direct it to /dev/null, or at least to a single file th...
by jdunitz
Thu Dec 16, 2021 5:39 pm
Forum: Nagios XI
Topic: Nagios XI Virtual Machine API call
Replies: 8
Views: 1597

Re: Nagios XI Virtual Machine API call

Can your XI VM get to other machines?

From your XI machine, does:

Code: Select all

  ping some-other-machine-on-your-network
or

Code: Select all

  ping 8.8.8.8
work?


My first impression is that this might be a default route problem.

--Jeffrey
by jdunitz
Tue Nov 23, 2021 6:02 pm
Forum: Nagios XI
Topic: No Services showing on NCPA Linux Host
Replies: 3
Views: 1552

Re: No Services showing on NCPA Linux Host

First, let's make sure the ncpa service is running on your other machine: ps waux | grep ncpa_listener If not, try restarting it: systemctl restart ncpa_listener See if it shows up in ps now; if not, do a status: systemctl status ncpa_listener If there's a problem, it should give you some clue about...
by jdunitz
Fri Nov 19, 2021 12:39 pm
Forum: Nagios XI
Topic: Upgrade from XI 5.5.5 to 5.8.6 or 5.8.7
Replies: 2
Views: 1328

Re: Upgrade from XI 5.5.5 to 5.8.6 or 5.8.7

(answered the ticket version of this one)
by jdunitz
Thu Nov 18, 2021 3:15 pm
Forum: Nagios XI
Topic: monitoring ps1 script on linux
Replies: 3
Views: 983

Re: monitoring ps1 script on linux

At the end of your ncpa.cfg file, you probably have something like this: # Windows .ps1 = powershell -ExecutionPolicy Bypass -File $plugin_name $plugin_args .vbs = cscript $plugin_name $plugin_args //NoLogo .wsf = cscript $plugin_name $plugin_args //NoLogo .bat = cmd /c $plugin_name $plugin_args cha...
by jdunitz
Mon Oct 18, 2021 4:23 pm
Forum: Nagios XI
Topic: #sql ibd files filling up filesystem
Replies: 1
Views: 692

Re: #sql ibd files filling up filesystem

The ibd files are leftovers that should be cleared. However, you don't just want to delete them directly without first trying to get MySQL to delete them: mysql -h localhost -uroot -pnagiosxi nagiosxi -e 'DROP TABLE `#mysql50##sql-767_db57d`;' Note the backticks (`) and the # and ## placement; you m...
by jdunitz
Thu Oct 14, 2021 4:44 pm
Forum: Nagios XI
Topic: How to show a value based on other check values?
Replies: 3
Views: 1049

Re: How to show a value based on other check values?

It sounds like you might want to write your own plugin to do this, or modify the plugin you're already using. If the utilization is coming from SNMP, it shouldn't be too hard to use snmpget to pull the individual values into variables, etc., then calculate whatever you need to calculate. Essentially...
by jdunitz
Fri Oct 08, 2021 10:48 am
Forum: Nagios XI
Topic: Cant fix performance data with new metric added
Replies: 5
Views: 1285

Re: Cant fix performance data with new metric added

Does this test of the RRD module work for you?

perl -MRRDs -le 'print q(ok!)'


--Jeffrey
by jdunitz
Wed Sep 22, 2021 10:53 am
Forum: Nagios Log Server
Topic: How To Manually Extract Historic report of specific device ?
Replies: 4
Views: 1023

Re: How To Manually Extract Historic report of specific devi

Which report are you trying to run? State history, availability, or one of the others?


--Jeffrey
by jdunitz
Mon Sep 20, 2021 12:57 pm
Forum: Nagios XI
Topic: Monitoring on IBM iseries
Replies: 9
Views: 3163

Re: Monitoring on IBM iseries

Could you show the output of this command?

/usr/local/nagios/libexec/check_ibmi_status.sh -M CPU -H ip-addr-of-your-i-system -W 11 -C 22

Thanks!

--Jeffrey