Search found 112 matches

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: 105

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: 4
Views: 76

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: 2
Views: 66

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: 50

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...
by bbahn
Fri Apr 19, 2024 2:43 pm
Forum: Nagios XI
Topic: CRITICAL: Incorrect credentials given.
Replies: 2
Views: 108

Re: CRITICAL: Incorrect credentials given.

Hello @greenman123,

By saying that there are no special characters in your community_string, are you saying that you are only using alphanumerics in your password (i.e. [0-9a-zA-Z])?
by bbahn
Fri Apr 19, 2024 10:41 am
Forum: Open Source Nagios Projects
Topic: check_veeam_repo.ps1 Returns Parameter Errors
Replies: 5
Views: 1326

Re: check_veeam_repo.ps1 Returns Parameter Errors

It looks like you're running into a timeout. If you update your [plugin directives] plugin_timeout in C:\Program Files\Nagios\NCPA\etc\ncpa.cfg to something higher than 59 seconds, that may fix the problem.
by bbahn
Thu Apr 18, 2024 10:20 am
Forum: Open Source Nagios Projects
Topic: check_http error
Replies: 3
Views: 98

Re: check_http error

@vinmansbrew, It would seem you are likely having an issue with DNS if the website name doesn't work, but the IP address does. Try running dig or nslookup with the "website.com". If it returns the IP address, then you know DNS is working and if not, then it isn't. You can also try using pi...
by bbahn
Thu Apr 18, 2024 10:14 am
Forum: Nagios XI
Topic: Nagios Core 4.4.5 Just not Starting
Replies: 10
Views: 800

Re: Nagios Core 4.4.5 Just not Starting

@ATIAdmin, Have you ran cd / find -name "nagios.qh" It seems at some point several configuration files moved locations for Nagios Core and this may have something to do with your current issues. If you do find it somewhere else, you can move or copy it over to the /usr/local/nagios/var/rw/...
by bbahn
Wed Apr 17, 2024 10:25 am
Forum: Open Source Nagios Projects
Topic: check_veeam_repo.ps1 Returns Parameter Errors
Replies: 5
Views: 1326

Re: check_veeam_repo.ps1 Returns Parameter Errors

@rj-admin2, Even if the extensions are installed, if they aren't registered properly, they may not work. Try running Get-PSSnapin -Registered and see if the Veeam snap-in is listed. If not, the Veeam snap-in is not registered nad you will need to manually register it. You can typically find the Powe...
by bbahn
Tue Apr 16, 2024 1:47 pm
Forum: Open Source Nagios Projects
Topic: check_veeam_repo.ps1 Returns Parameter Errors
Replies: 5
Views: 1326

Re: check_veeam_repo.ps1 Returns Parameter Errors

Hello @rj-admin2,

Have you checked whether it works in NCPA? Try visiting https://[your_ncpa_ip_address]:5693/api/ and test your plugin in the interface to narrow down where the failure is coming from.