my simple trick to find the API is to perform the task you wanted to from nagios web gui, use a http track tools (eg. Developer Tools in Chrome) to record the GET/POST action.
Then use whatever utility( wget, curl, msxml ) to simulate the action again when necessary.
Search found 22 matches
- Thu Jul 31, 2014 8:10 pm
- Forum: Open Source Nagios Projects
- Topic: Automating disable request
- Replies: 4
- Views: 2807
- Tue Jul 29, 2014 8:31 pm
- Forum: Open Source Nagios Projects
- Topic: NagiosGraph
- Replies: 2
- Views: 1724
Re: NagiosGraph
Does the plugin return the performance data in correct format ? Execute "/usr/local/src/nagios-plugins-1.4.16/plugins/check_snmp_temperature.pl -H $HOSTADDRESS$ -C public -n .1.3.6.1.4.1.16174.1.1.1.3.1.1.0 -d .1.3.6.1.4.1.16174.1.1.1.3.1.2.0 -i 1F -o F -a -w 80 -c 90" from ssh and check t...
- Thu Jul 24, 2014 10:12 am
- Forum: Open Source Nagios Projects
- Topic: Notifications isn't working after Exchange migration
- Replies: 3
- Views: 2179
Re: Notifications isn't working after Exchange migration
You can check /var/log/mail.log.
Most likely after your hub transport server migrate, you have not configured a receive connector to accept mail from nagios Ip and allow it to relay.
Most likely after your hub transport server migrate, you have not configured a receive connector to accept mail from nagios Ip and allow it to relay.
- Mon Jul 21, 2014 9:49 pm
- Forum: Open Source Nagios Projects
- Topic: Would greatly appreciate some help configuring notifications
- Replies: 17
- Views: 12084
Re: Would greatly appreciate some help configuring notificat
When you set up SMTP on nagios localhost with sendmail or postfix, you have two options. 1. the MTA (your smtp server) itself delivers email using DNS; 2. the MTA delivers emails using smarthost. You weren't able to send email in the first place was due to that your MTA was setup using #1. And your ...
- Mon Jul 21, 2014 2:03 am
- Forum: Open Source Nagios Projects
- Topic: Would greatly appreciate some help configuring notifications
- Replies: 17
- Views: 12084
Re: Would greatly appreciate some help configuring notificat
Looks like a connection issue. Please go to your linux shell and run the follow lines(line by line, not all at once) to see which part gets stuck.
Code: Select all
telnet alt4.gmail-smtp-in.l.google.com 25
helo notify.nagios.com
mail from: <[email protected]>
rcpt to: <[email protected]>
quit- Mon Jul 21, 2014 1:52 am
- Forum: Open Source Nagios Projects
- Topic: check for checking a running batch file.
- Replies: 6
- Views: 4694
Re: check for checking a running batch file.
We had similar problem with Java applications. Our solution was to copy the java.exe to different names, and each batch calls the different executable. In your case, you can make multiple copy of c:\wdinwos\system32\cmd.exe to eg. cmd2.exe, cmd3.exe. In your batch file you can execute : "cmd2.e...
- Mon Jul 21, 2014 1:43 am
- Forum: Open Source Nagios Projects
- Topic: Nagios not found on http server
- Replies: 5
- Views: 2685
Re: Nagios not found on http server
Before you find a fix for the installer, you can manual fix this by creating apache mapping. There should be a nagios.conf file from your installation package. Copy this file to /etc/apache2/conf.d and restart apache. If you are not able to find the nagios.conf file, simple create one with the follo...
- Mon Jul 07, 2014 8:50 pm
- Forum: Open Source Nagios Projects
- Topic: Reducing notifications
- Replies: 14
- Views: 13346
Re: Reducing notifications
Yes. thank you.
- Sun Jul 06, 2014 9:11 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail problem
- Replies: 5
- Views: 5363
Re: sendmail problem
It is probably a bounce mail from sendmail itself. So the fix would be how you designed the whole mail delivery and ISP failover. ATM I am not sure why you do not get email alert from your 2nd ISP because I don't see any direct evidence. Perhaps you can start off by telling us how your nagios networ...
- Fri Jul 04, 2014 3:53 am
- Forum: Open Source Nagios Projects
- Topic: sendmail problem
- Replies: 5
- Views: 5363
Re: sendmail problem
It looks to me the problem is likely caused by root@oversun.ru is an invalid mailbox. Otherwise it could be that mx10.mail.oversun.ru and its friend mx1.mail.oversun.ru relays for your first ISP IP but dislike your 2nd ISP's IP. I am not familiar with sendmail, I might be miss reading the sendmail l...