View Full Version : Get cisco router graph
Hi,
I am using nagios 2.4 & oreon 1.3RC & I want to use the graph to monitor a Cisco router; how can I do this??!!.. :roll:
I installed the nagios Cisco plugins:
check_snmp_cisco_ifstatus
check_snmp_cisco_loadavg
check_snmp_cisco_memutil
& copied them to the plugins directory:
/usr/local/nagios/libexec
But I can not see them in the oreon web interface commands!!.. So how can I monitor a Cisco router by them???!!... or do I have to install something else??!!!
Thanks in advance…
DonKiShoot
07-16-2006, 06:16 PM
You must add new check_command manually !
i got those same plugins. but i have added them and they arnt running correctly. they run fine manually in command line but when run in nagios/orion i get this:
**ePN failed to compile /usr/lib/nagios/plugins//check_snmp_cisco_loadavg: "Global symbol "$script" requires explicit package name at (eval 1) line 29,
NAgios 2.5 and Oreon 1.3 RC3-1
le_zeou
08-01-2006, 10:18 AM
they're missing the "my" at the first init of the variable.
Edit the script and add "my" where $script appear first.
Like : my $script = $temp;
whats the deal with that? i have all these nagios plugins that dont work for some reason cause a ton of variables need a my before them. why do these plugins work fine from a command line, but out into oreon none of them work. what has to be done to make all these oreon friendly?
getting these:
**ePN failed to compile /usr/lib/nagios/plugins/check_snmp_cisco_loadavg: "Global symbol "$hostname" requires explicit package name at (eval 24) line 86," at /usr/bin/p1.pl line 155.
and these:
**ePN /usr/lib/nagios/plugins//check_graph_traffic.pl: "Option S requires an argument".
with or without the $arg1$ after -S (i dont pass any other variables passing) and it says the error above. i take the $arg1$ out and same thing. it workd just fine in a command line (of course). whats the deal? why is it so hard to get plugins to work with this?
DonKiShoot
08-16-2006, 01:39 PM
It seems to be a deal with nagios and epn.
No way with Oreon :lol:
Compile nagios without epn if you don't know what it is and how it works :roll: