Search found 118 matches

by bbahn
Fri May 03, 2024 9:39 am
Forum: Nagios XI
Topic: Scheduled Report PDF not attached
Replies: 5
Views: 151

Re: Scheduled Report PDF not attached

Hello @BenCowan,

Can you connect to your mysql database via the CLI? If you need the passwords used by Nagios XI, you can get them from /usr/local/nagiosxi/scripts/get_mysql_passwords.sh
by bbahn
Thu May 02, 2024 10:10 am
Forum: Nagios XI
Topic: NCPA Powershell Plugin trouble passing arguments
Replies: 2
Views: 52

Re: NCPA Powershell Plugin trouble passing arguments

Hello @rfaulkner99, For your PowerShell script to process the arguments correctly, you want the CLI input to be plugins/plugin.ps1 "arg1" "arg2" "arg3" To get this behavior as a passive check, you can use %HOSTNAME%|TEST = plugins/test.ps1 --args "arg1" --args...
by bbahn
Wed May 01, 2024 10:14 am
Forum: Open Source Nagios Projects
Topic: check_veeam_repo.ps1 Returns Parameter Errors
Replies: 7
Views: 1542

Re: check_veeam_repo.ps1 Returns Parameter Errors

@rj-admin2, It looks like Veeam on Powershell 7 requires the use of -UseWindowsPowerShell as a parameter when importing the Veeam PowerShell module Actually, I just discovered that using the -UseWindowsPowerShell parameter when importing the Veeam PS module that it will actually work on PowerShell 7...
by bbahn
Tue Apr 30, 2024 11:07 am
Forum: Nagios XI
Topic: Microsoft defender stops windows NCPA install - executable unsigned
Replies: 1
Views: 37

Re: Microsoft defender stops windows NCPA install - executable unsigned

Hello @RPerrotta,

We are looking into getting a signing certificate for official builds of NCPA
by bbahn
Mon Apr 29, 2024 10:14 am
Forum: Nagios XI
Topic: Check Linux Disk Space
Replies: 5
Views: 125

Re: Check Linux Disk Space

It would seem you're running into some kind of error regarding your disk check. You can definitely use a custom plugin in place of the failing disk check. Just create a plugin that grabs the disk information you're looking for, put it in /usr/local/ncpa/plugins and now you can access that plugin as ...
by bbahn
Thu Apr 25, 2024 10:21 am
Forum: Open Source Nagios Projects
Topic: Nagios-Slack webhook not sending alerts to Slack
Replies: 4
Views: 220

Re: Nagios-Slack webhook not sending alerts to Slack

Hello @pnikhade,

Have you checked your Nagios logs? Have you configured your hosts/services to utilize your defined commands?
by bbahn
Wed Apr 24, 2024 10:42 am
Forum: Nagios XI
Topic: Check Linux Disk Space
Replies: 5
Views: 125

Re: Check Linux Disk Space

Hello @AngeloMileto, The disk node should return all local disks, but if you want a bash script to do this, you should be able to add a plugin like this: #!/bin/bash df -h --output=source,pcent,target | grep -vE 'tmpfs|udev' | while read line; do echo "$line" done and use check_ncpa with m...
by bbahn
Tue Apr 23, 2024 1:16 pm
Forum: Open Source Nagios Projects
Topic: Configured server not displayed in web interface
Replies: 3
Views: 182

Re: Configured server not displayed in web interface

Hello MxR57, Can you run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg to see if Nagios Core thinks your configuration is good? You can also check the permissions of your configuration file with ls -l and check /var/log/nagios/nagios.log to see if Nagios Core is running into any e...
by bbahn
Mon Apr 22, 2024 10:18 am
Forum: Open Source Nagios Projects
Topic: Starting a Linux process only if it isn't started
Replies: 1
Views: 113

Re: Starting a Linux process only if it isn't started

Hello @drewdavis, You can definitely accomplish what you're thinking of using something like the following: # Check if Nagios is running with /etc/init.d/nagios status, pgrep, systemctl status, ps aux | grep, etc. # $? holds the exit status of the last command if [ $? -ne 0 ]; then echo "Nagios...