Search found 61 matches

by crfriend
Sat Jan 07, 2012 5:00 pm
Forum: Open Source Nagios Projects
Topic: snmp custom mib import
Replies: 3
Views: 8044

Re: snmp custom mib import

Is there a way to walk the entire mib with check_snmp? Not easily, nor would one want to. For a check to be useful it needs to check one datum (if it's a simple check) to compare to the threshold data; if you're custom-writing an SNMP check then you can query for multiple OIDs and then make decisio...
by crfriend
Sat Jan 07, 2012 9:21 am
Forum: Open Source Nagios Projects
Topic: action_url not translating all macros
Replies: 1
Views: 945

Re: action_url not translating all macros

Not all macros are available at all times and for all possible uses. Check the manual page for macros for the matrix that states what's available where and when. It is quite possible that the $SERVICESTATE$ macro may not be available for the action_url statement as, I believe, those are "cast i...
by crfriend
Sat Jan 07, 2012 9:12 am
Forum: Open Source Nagios Projects
Topic: Host status remains "Pending"
Replies: 2
Views: 3965

Re: Host status remains "Pending"

It's time to round up the "usual suspects": 1) Is the active system set to obsess over hosts? 2) Is the non-working host somehow disabled from obsessing on the active system? 3) Is the non-active (the receiving system) globally set up to accept passive host checks? 4) Is the non-active sys...
by crfriend
Sat Jan 07, 2012 8:56 am
Forum: Open Source Nagios Projects
Topic: Email notifications. Unsupported macro???
Replies: 4
Views: 2074

Re: Email notifications. Unsupported macro???

As a test case for this, what you might try doing is sending the output (including all the macros you wish to test) to a file instead of the program. That'll tell you if they have data in them. Is the contact actually correctly defined with an e-mail address? If that datum is somehow missing then it...
by crfriend
Sat Jan 07, 2012 8:48 am
Forum: Open Source Nagios Projects
Topic: Distributed Server not updating the Central Nagios Server
Replies: 2
Views: 1089

Re: Distributed Server not updating the Central Nagios Serve

First and foremost, heed mguthrie's advice; that'll tell you if your schedulers are "stalling". Besides, I am using pnp4nagios and ndouitls for storing data on MySQL. How is the performance on your MySQL server? Are you seeing lots of "slow queries"? If so, that may be stalling t...
by crfriend
Sat Jan 07, 2012 8:43 am
Forum: Open Source Nagios Projects
Topic: snmp custom mib import
Replies: 3
Views: 8044

Re: snmp custom mib import

In this case it sounds very much like the device you're querying doesn't support the particular OID you're asking for. The community string is correct, else the check would have timed out. What happens if you hit the device in question with a directed query for that OID? If you walk (or bulkwalk) th...
by crfriend
Sun Dec 25, 2011 9:54 am
Forum: Open Source Nagios Projects
Topic: How to display all alarm receivers in the alarm email.
Replies: 4
Views: 1310

Re: How to display all alarm receivers in the alarm email.

You may want to investigate the various macros that ara available to the notification plugins, specifically $CONTACTNAME$ and $CONTACTGROUPMEMBERS$ . Note that if you are transmitting to a mailling list there is no way for Nagios to know who is subscribed to that list unless one writes another plugi...
by crfriend
Sat Dec 24, 2011 7:21 pm
Forum: Open Source Nagios Projects
Topic: sendmail log errors
Replies: 2
Views: 1097

Re: sendmail log errors

There are a couple of things you can try to do. 1) Try to set sendmail to not log connections that do not do anything or, 2) Write a custom plugin that actually *does* something every time it runs (e.g. VRFY e-mail@domain.TLD), but that's likely to log something as well and you're back to square one...
by crfriend
Sat Dec 24, 2011 7:16 pm
Forum: Open Source Nagios Projects
Topic: Nagios Problem
Replies: 2
Views: 1064

Re: Nagios Problem

Step one in this will be to fix the errors that are called out when verifying the configuration. It seems you have a contactgroup called out in the configuration that is not defined anywhere. Step two will be to disambiguate what locations your web-server configuration is pointing to; from the sound...
by crfriend
Tue Dec 20, 2011 4:37 pm
Forum: Open Source Nagios Projects
Topic: Developing Custom SNMP Plugin questions
Replies: 7
Views: 2000

Re: Developing Custom SNMP Plugin questions

An alternative to doing an initial "omnibus" check that takes a command-line argument to define the actual check might be to write separate ones first, prove them out individually, and then bundle them into one large script. This'll keep your development space clean from other non-related ...