Search found 8 matches
- Wed Jul 21, 2021 11:01 am
- Forum: Open Source Nagios Projects
- Topic: Failed to Start Nagios service
- Replies: 2
- Views: 2782
Re: Failed to Start Nagios service
at first glance, it looks like it doesn't like the following-- Jul 21 12:42:55 raspberrypi nagios[5940]: Error: Invalid max_check_attempts value for host 'linux-host1' a couple things to try- 1) comment that line out and see if it works. without digging into that parameter further, I would guess tha...
- Mon Jul 12, 2021 12:19 pm
- Forum: Open Source Nagios Projects
- Topic: How can add new script to my server
- Replies: 5
- Views: 1631
Re: How can add new script to my server
On our system on the host, we have a line in the /etc/nrpe.d/base.cfg file as follows- command[check_uptime]=/usr/lib64/nagios/plugins/check_uptime -c 5 -w 1 Then within the service config, we have it set to run the check as follows- define service{ use local-service host_name testapp service_descri...
- Thu Jul 08, 2021 9:23 am
- Forum: Open Source Nagios Projects
- Topic: check_mount says nothing is mounted
- Replies: 2
- Views: 1016
Re: check_mount says nothing is mounted
So we have the Nagios plugins installed in /usr/lib64/nagios/plugins. The script we are running is the same as in many other hosts within our environment. #!/bin/bash # Compare /etc/fstab to mounts command report not in mounts. Ignore proc, rpc_pipefs, swap, and blank lines MISSINGFS=$(comm -23 <(aw...
- Wed Jul 07, 2021 8:14 am
- Forum: Open Source Nagios Projects
- Topic: check_mount says nothing is mounted
- Replies: 2
- Views: 1016
check_mount says nothing is mounted
We have stood up a new RHEL7 server. The config files appear to be set up the same. However, with the check_mount command, it says that nothing is mounted. I did some additional checking and the plugin is running a check of the contents of fstab vesus the output of the mount command. The mount comma...
- Wed Jul 07, 2021 8:05 am
- Forum: Open Source Nagios Projects
- Topic: Nagios XI log files growing
- Replies: 3
- Views: 1082
Re: Nagios XI log files growing
sorry, forgot to post this sooner. Log rotate was not set up properly. Actually, I think that one of the Nagios log files was put in two places in the config file and that appears to have been what was causing the problem.
- Mon Jun 07, 2021 1:14 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios XI log files growing
- Replies: 3
- Views: 1082
Nagios XI log files growing
We have an instance of Nagios XI running and I have noticed that the log files in nagiosxi/var are growing quite large and do not roll over like I would expect. I have questions: 1) is there somewhere that you set the logging verbosity? 2) is there a way to truncate the log files? 3) is there a plac...
- Tue Mar 02, 2021 1:13 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Configuration Commands
- Replies: 1
- Views: 1825
Re: Nagios Core Configuration Commands
Ok, for all you out there keeping score, I found the answer myself. Under the directory structure as follows etc/objects/command/check there are a set of cfg files that contain the commands. On our system all of them begin with command-check- and have an extension of cfg. I would bet that the only p...
- Thu Feb 18, 2021 2:53 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Core Configuration Commands
- Replies: 1
- Views: 1825
Nagios Core Configuration Commands
In Nagios Core -> System -> Configuration -> Commands... I see a listing of commands with options/parameters. I cannot find a method to add/change this list. Where does it come from ? How can I go about adding a command? or changing a command?
TIA
TIA