nginx plugins for munin?

I think I finally got these installed on my system, but I'm getting NaN in all my graphs.

When I try any of them from the command line, I get the error:

# munin-run nginx_status
Can't locate object method "new" via package "LWP::UserAgent" at /etc/munin/plugins/nginx_status line 109.

Which means to me something's not quite right with my Perl install. It's weird because nginx_status does have a line near the top with a 'require LWP::UserAgent', so it's not that that is missing, completely.

I know zero about perl though, so I don't even know where to begin looking. I suppose it's also possible that I have outdated versions of the nginx scripts. Most of the hits when you google for 'nginx munin' are useless since the munin plugin repo moved.

Any clues?

1 Reply

Never mind. Of course right after posting, I figured out that LWP::UserAgent wasn't actually installed.

Now the plugins run… we'll see if some graphs show up shortly.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct