Monitor Ironport
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitor Ironport
Hmm this is from the exchange page:
http://check-ironport.urandom.at/cgi-bi ... umentation
It appears as though there are actual flags just as any other plugin.
http://check-ironport.urandom.at/cgi-bi ... umentation
It appears as though there are actual flags just as any other plugin.
Re: Monitor Ironport
So what exactly am I suppose to put in the $ARG1$ under the host management in XI? I've tried various combinations, and I still get no output. I'm still confused on the syntax.
Re: Monitor Ironport
Well, you said this worked from commandline:sheld0r wrote:So what exactly am I suppose to put in the $ARG1$ under the host management in XI? I've tried various combinations, and I still get no output. I'm still confused on the syntax.
Code: Select all
/usr/local/nagios/libexec/check_ironport 192.168.100.121 admin passwordhere cpu 90 95Code: Select all
$USER1$/check_ironport $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$Then in ARG1 put "admin passwordhere"
Then in ARG2 put the check you want to do, in this case "cpu"
Then in ARG3 put the w and c values, if any...in this case, "90 95"
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Monitor Ironport
I see the Ironport in the host list, but I still don't see the services coming up in the Service Detail. I added the arguments and tested the command which was successful, but for some reason I don't see the Ironport listed under Service Detail.
If I go to CCM and search for Ironport under services, the two I configured to show up.
If I go to CCM and search for Ironport under services, the two I configured to show up.
Re: Monitor Ironport
Is the "Active" checkbox checked? Also, did you click the manage hosts button and add the ironport?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Monitor Ironport
So the "Active" checkbox is indeed checked, but the manage hosts button doesn't have the Ironport added. When I add it and attempt to save the configuration, the verification fails.
I opened up the config error
My checks came out okay when I configured the services, but I must have done something else wrong. Line 14 states the service name, so I think I'm still defining the service incorrectly.
I opened up the config error
Code: Select all
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Ironport Messages' on host 'Ironport'
Error: Could not register service (config file '/usr/local/nagios/etc/services/Ironport.cfg', starting on line 14)
Error processing object config files!Re: Monitor Ironport
Try adding the template "generic service" to it or go to the service and define them locally, it's up to you how to handle that one.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Monitor Ironport
Adding the "generic service" did the trick. So what exactly did that do? Is the "generic service" like the default layout of the service configuration? Such as
Code: Select all
define service {
host_name
service_description
ect...Re: Monitor Ironport
using that template just give that service you added all the default values for how to monitor(check interval, alert interval, whatever else is in the template)
You can then override that on a per service basis if you need to, since anything you fill out on the service itself, it then ignores that setting in the template.
You can then override that on a per service basis if you need to, since anything you fill out on the service itself, it then ignores that setting in the template.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Monitor Ironport
Thank you for the help and guidance.