[Nagios-users] A couple of Nagios NEB plugin API questions

2012-08-09 Thread Razvan Cojocaru
Hello, I've read the NEB Module API document [1], and the nebstructs.h header, but I'd like more details about the members of nebstruct_notification_struct. The document shows the struct definition with no comments, and no example, and there are no comments for the individual members in the

[Nagios-users] uptime check returns wrong result

2012-08-09 Thread Andreas Brandino
Hi all, I am using check_uptime.pl from here: http://exchange.nagios.org/directory/Plugins/System-Metrics/Uptime/check_uptime--2F-check_snmp_uptime/details The problem that I face is that this service caclulates SNMP service uptime instead of windows. If I restart the SNMP service (and not the

Re: [Nagios-users] A couple of Nagios NEB plugin API questions

2012-08-09 Thread Andreas Ericsson
On 08/09/2012 08:39 AM, Razvan Cojocaru wrote: Hello, I've read the NEB Module API document [1], and the nebstructs.h header, but I'd like more details about the members of nebstruct_notification_struct. The document shows the struct definition with no comments, and no example, and there

Re: [Nagios-users] A couple of Nagios NEB plugin API questions

2012-08-09 Thread Razvan Cojocaru
Well, the individual members are fairly self-explanatory, don't you think? Ethan's big on mnemonic names, and for a very good reason. Yes, you can glean what they're for from their names, but that's not what I was asking. It's one thing to know that a field called flags should probably be set

Re: [Nagios-users] A couple of Nagios NEB plugin API questions

2012-08-09 Thread Andreas Ericsson
On 08/09/2012 12:16 PM, Razvan Cojocaru wrote: Well, the individual members are fairly self-explanatory, don't you think? Ethan's big on mnemonic names, and for a very good reason. Yes, you can glean what they're for from their names, but that's not what I was asking. It's one thing to know

Re: [Nagios-users] A couple of Nagios NEB plugin API questions

2012-08-09 Thread Razvan Cojocaru
Yes you can, if you know just a tiny bit about Nagios. It's a pointer to either a host or a service. Which it is depends on the type of callback we're issuing. That was entirely uncalled for. Some of us prefer to ask similarly minded peers where we feel it's not unreasonable to do so, rather

Re: [Nagios-users] Monitoring Distributed Resource

2012-08-09 Thread Chris Beattie
On 8/8/2012 5:57 PM, Andreas M. Iwanowski wrote: So as I understand, if I define a parent-child relationship between the VPN services (or core gateways) on the parent side and the remote gateway on the other side, the remote gateway will be checked (and we notified) as long as one core gateway