Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
root@nagios:/usr/local/nagios/etc/objects# apt-get install libnet-snmp-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnet-snmp-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Now try running the check "check_cpqdisks" from the cli.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
From the cli, as I want to test to see if you are having path problems to the net-snmp files.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bead english i have but never mind ... here is the output
root@nagios:~# PATH=$PATH:/usr/share/perl5/Net
root@nagios:~# export PATH
root@nagios:~#
... nothing
It should get added to your shell $PATH (and does so quietly). Once you run the path commands, try to run the plugin again in the same terminal session as changing $PATH this way is not persistent. I just want to check if you are having path issues.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.