Search found 3447 matches

by npolovenko
Thu Jun 13, 2019 4:51 pm
Forum: Open Source Nagios Projects
Topic: check_expiry
Replies: 10
Views: 5374

Re: check_expiry

hardik185 , Did you add Defaults: nagios !requiretty to the sudoers file? Please open the /usr/local/nagios/etc/nrpe.cfg file and change the command from: command[check_appuser]=sudo /usr/local/nagios/libexec/check_expiry.sh aip-app to command[check_appuser]=/usr/local/nagios/libexec/check_expiry.s...
by npolovenko
Thu Jun 13, 2019 4:08 pm
Forum: Nagios XI
Topic: Nagios Xi - SMS Handler
Replies: 10
Views: 4436

Re: Nagios Xi - SMS Handler

@npolovenko, I recieved the profile and shared it with the support team.
In the meantime, were you able to check the mail settings and turn on the debug logging?
Also, are you expecting to receive SMS for all hosts and services on this XI or just for the specific ones?
by npolovenko
Thu Jun 13, 2019 4:02 pm
Forum: Nagios XI
Topic: Checking the age of multiple files
Replies: 3
Views: 733

Re: Checking the age of multiple files

Hello, IkaIka . This plugin seems to be able to work with only 1 specific file. You may find a different plugin on the https://exchange.nagios.org/ or write your own plugin. Here's a simple example that uses the find command. [root@centos7x64 libexec]# cat fileAge.sh #!/bin/bash age=$1 path=$2 comma...
by npolovenko
Wed Jun 12, 2019 4:59 pm
Forum: Nagios XI
Topic: include a host free variable in either the svc desc or notes
Replies: 1
Views: 473

Re: include a host free variable in either the svc desc or n

Hello, @jwgill. I tested this on my XI in the lab and service description/service notes don't support free Variables. Perhaps you can add an echo line to your plugin output to show the command that is being used, and print it from a new line after the main output?
by npolovenko
Wed Jun 12, 2019 4:21 pm
Forum: Nagios XI
Topic: Problems when I need to generate the reports in PDF
Replies: 21
Views: 3019

Re: Problems when I need to generate the reports in PDF

novisnagios , How much ram do you have on this server? Please double the memory_limit in the /etc/php.ini file and restart the apache with: service httpd restart From the command like run the "top" command and then generate a PDF report from the GUI. Let me know what the system load looks...
by npolovenko
Wed Jun 12, 2019 3:53 pm
Forum: Nagios XI
Topic: Nagios Xi - SMS Handler
Replies: 10
Views: 4436

Re: Nagios Xi - SMS Handler

Eireocean , I'd like to review your configs from the system profile. To send us your system profile. Login to the Nagios XI GUI using a web browser. Click the "Admin" > "System Profile" Menu Click the "Download Profile" button Save the profile.zip file and send it to m...
by npolovenko
Wed Jun 12, 2019 3:37 pm
Forum: Nagios XI
Topic: log_passive_checks and log_external_commands?
Replies: 3
Views: 850

Re: log_passive_checks and log_external_commands?

santec , This logic seems to be embedded in the Core source code. if (external_command_ret != CMD_ERROR_OK) { logit(NSLOG_EXTERNAL_COMMAND | NSLOG_RUNTIME_WARNING, TRUE, "Error: External command failed -> %s;%s\n", command_id, args); } You can submit a new feature request on the Core gith...
by npolovenko
Wed Jun 12, 2019 3:27 pm
Forum: Nagios XI
Topic: how to exclude the Linux cached memory from the monitoring a
Replies: 11
Views: 5478

Re: how to exclude the Linux cached memory from the monitori

vivma1989 , Here's an example of the command for snmp v3: ./check_snmp_storage.pl -H <HOSTNAME> -l <login> -x <password> -X <privPassword> -L SHA, AES -q Ram -m Physical -w 10 -c 5 0 -l, --login=LOGIN ; -x, --passwd=PASSWD; -X=Priv password for snmpv3 (AuthPriv protocol); -L, --protocols=<authproto...
by npolovenko
Wed Jun 12, 2019 3:03 pm
Forum: Nagios XI
Topic: NagiosXI upgrade failed?!
Replies: 16
Views: 1497

Re: NagiosXI upgrade failed?!

xpertech , I commented out: logonenvvar="PHP_AUTH_USER" Changed: logonmodule="LogonEnv" to: logonmodule="LogonSession" And commented out these lines: showautomaps=1 cellsperrow=4 showinlists=0 If you update the other XI server and come across a similar issue, please ma...
by npolovenko
Wed Jun 12, 2019 1:33 pm
Forum: Nagios Log Server
Topic: Nagios LS still receiving event log events - Resolved
Replies: 4
Views: 380

Re: Nagios LS still receiving event log events

@newmember, I see. Seems like the problem is now resolved. Are we good to close this thread as resolved?