Hi
Problem: I need to hand over Cacti data collection script stderr to Nagios, so that in case the Cacti collection script fails, the failure reason can be seen in Nagios. How are you all solving this? I have something which works at the moment, but the way it works is not nice.
Thanks
Cacti data collection scripts / Nagios integration
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I honestly don't see an easy way to do this. What are you currently doing?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Collecting some data via custom Cacti scripts and Nagios is generating alarms by tracking values in specific RRD files. If you meant what I'm doing to hand over the messages, then currently Cacti data collection script writes stderr to specific file (one file per host/service pair) and Nagios picks up the last line. Works to some length but is not scalable neither manageable.rony wrote:I honestly don't see an easy way to do this. What are you currently doing?
Who is online
Users browsing this forum: No registered users and 3 guests